Interface LayerVersionOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
LayerVersionProps
,PythonLayerVersionProps
- All Known Implementing Classes:
LayerVersionOptions.Jsii$Proxy
,LayerVersionProps.Jsii$Proxy
,PythonLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.801Z")
@Stability(Stable)
public interface LayerVersionOptions
extends software.amazon.jsii.JsiiSerializable
Non runtime options.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; import software.amazon.awscdk.core.*; LayerVersionOptions layerVersionOptions = LayerVersionOptions.builder() .description("description") .layerVersionName("layerVersionName") .license("license") .removalPolicy(RemovalPolicy.DESTROY) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLayerVersionOptions
static final class
An implementation forLayerVersionOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerVersionOptions.Builder
builder()
default String
The description the this Lambda Layer.default String
The name of the layer.default String
The SPDX licence identifier or URL to the license file for this layer.default RemovalPolicy
Whether to retain this version of the layer when a new version is added or when the stack is deleted.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description the this Lambda Layer.Default: - No description.
-
getLayerVersionName
The name of the layer.Default: - A name will be generated.
-
getLicense
The SPDX licence identifier or URL to the license file for this layer.Default: - No license information will be recorded.
-
getRemovalPolicy
Whether to retain this version of the layer when a new version is added or when the stack is deleted.Default: RemovalPolicy.DESTROY
-
builder
- Returns:
- a
LayerVersionOptions.Builder
ofLayerVersionOptions
-