Interface LayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,LayerVersionOptions
- All Known Implementing Classes:
LayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.804Z")
@Stability(Stable)
public interface LayerVersionProps
extends software.amazon.jsii.JsiiSerializable, LayerVersionOptions
Example:
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLayerVersionProps
static final class
An implementation forLayerVersionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerVersionProps.Builder
builder()
getCode()
The content of this Layer.default List<Architecture>
The system architectures compatible with this layer.The runtimes compatible with this Layer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.lambda.LayerVersionOptions
getDescription, getLayerVersionName, getLicense, getRemovalPolicy
-
Method Details
-
getCode
The content of this Layer.Using
Code.fromInline
is not supported. -
getCompatibleArchitectures
The system architectures compatible with this layer.Default: [Architecture.X86_64]
-
getCompatibleRuntimes
The runtimes compatible with this Layer.Default: - All runtimes are supported.
-
builder
- Returns:
- a
LayerVersionProps.Builder
ofLayerVersionProps
-