@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:52.163Z") @Stability(value=Experimental) 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()
(experimental) The content of this Layer.
|
default List<Architecture> |
getCompatibleArchitectures()
(experimental) The system architectures compatible with this layer.
|
default List<Runtime> |
getCompatibleRuntimes()
(experimental) The runtimes compatible with this Layer.
|
getDescription, getLayerVersionName, getLicense, getRemovalPolicy@Stability(value=Experimental) @NotNull Code getCode()
Using Code.fromInline is not supported.
@Stability(value=Experimental) @Nullable default List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
@Stability(value=Experimental) @Nullable default List<Runtime> getCompatibleRuntimes()
Default: - All runtimes are supported.
@Stability(value=Experimental) static LayerVersionProps.Builder builder()
builder in interface LayerVersionOptionsLayerVersionProps.Builder of LayerVersionPropsCopyright © 2022. All rights reserved.