Interface LayerVersionAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LayerVersionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.297Z")
@Stability(Stable)
public interface LayerVersionAttributes
extends software.amazon.jsii.JsiiSerializable
Properties necessary to import a LayerVersion.
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.*;
Runtime runtime;
LayerVersionAttributes layerVersionAttributes = LayerVersionAttributes.builder()
.layerVersionArn("layerVersionArn")
// the properties below are optional
.compatibleRuntimes(List.of(runtime))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLayerVersionAttributesstatic final classAn implementation forLayerVersionAttributes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The list of compatible runtimes with this Layer.The ARN of the LayerVersion.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLayerVersionArn
The ARN of the LayerVersion. -
getCompatibleRuntimes
The list of compatible runtimes with this Layer. -
builder
- Returns:
- a
LayerVersionAttributes.BuilderofLayerVersionAttributes
-