@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.580Z") @Stability(value=Stable) public interface LayerVersionOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LayerVersionOptions.Builder
A builder for
LayerVersionOptions |
static class |
LayerVersionOptions.Jsii$Proxy
An implementation for
LayerVersionOptions |
| Modifier and Type | Method and Description |
|---|---|
static LayerVersionOptions.Builder |
builder() |
default String |
getDescription()
The description the this Lambda Layer.
|
default String |
getLayerVersionName()
The name of the layer.
|
default String |
getLicense()
The SPDX licence identifier or URL to the license file for this layer.
|
default RemovalPolicy |
getRemovalPolicy()
Whether to retain this version of the layer when a new version is added or when the stack is deleted.
|
@Stability(value=Stable) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Stable) @Nullable default String getLayerVersionName()
Default: - A name will be generated.
@Stability(value=Stable) @Nullable default String getLicense()
Default: - No license information will be recorded.
@Stability(value=Stable) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.DESTROY
@Stability(value=Stable) static LayerVersionOptions.Builder builder()
LayerVersionOptions.Builder of LayerVersionOptionsCopyright © 2023. All rights reserved.