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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLayerVersionOptionsstatic final classAn implementation forLayerVersionOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerVersionOptions.Builderbuilder()default StringThe description the this Lambda Layer.default StringThe name of the layer.default StringThe SPDX licence identifier or URL to the license file for this layer.default RemovalPolicyWhether 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.BuilderofLayerVersionOptions
-