@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:56.467Z") public interface LayerVersionProps extends 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 java.util.List<Architecture> |
getCompatibleArchitectures()
The system architectures compatible with this layer.
|
default java.util.List<Runtime> |
getCompatibleRuntimes()
The runtimes compatible with this Layer.
|
getDescription, getLayerVersionName, getLicense, getRemovalPolicy
Code getCode()
Using Code.fromInline
is not supported.
default java.util.List<Architecture> getCompatibleArchitectures()
Default: [Architecture.X86_64]
default java.util.List<Runtime> getCompatibleRuntimes()
Default: - All runtimes are supported.
static LayerVersionProps.Builder builder()
builder
in interface LayerVersionOptions
LayerVersionProps.Builder
of LayerVersionProps