@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.583Z") @Stability(value=Stable) public interface LayerVersionProps extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
LayerVersion.Builder.create(this, "MyLayer")
.removalPolicy(RemovalPolicy.RETAIN)
.code(Code.fromAsset(join(__dirname, "lambda-handler")))
.compatibleArchitectures(List.of(Architecture.X86_64, Architecture.ARM_64))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LayerVersionProps.Builder
A builder for
LayerVersionProps |
static class |
LayerVersionProps.Jsii$Proxy
An implementation for
LayerVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static LayerVersionProps.Builder |
builder() |
Code |
getCode()
The content of this Layer.
|
default List<Architecture> |
getCompatibleArchitectures()
The system architectures compatible with this layer.
|
default List<Runtime> |
getCompatibleRuntimes()
The runtimes compatible with this Layer.
|
getDescription, getLayerVersionName, getLicense, getRemovalPolicy@Stability(value=Stable) @NotNull Code getCode()
Using Code.fromInline is not supported.
@Stability(value=Stable) @Nullable default List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
@Stability(value=Stable) @Nullable default List<Runtime> getCompatibleRuntimes()
Default: - All runtimes are supported.
@Stability(value=Stable) static LayerVersionProps.Builder builder()
builder in interface LayerVersionOptionsLayerVersionProps.Builder of LayerVersionPropsCopyright © 2023. All rights reserved.