Interface CfnLayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:54.864Z")
@Stability(Stable)
public interface CfnLayerVersionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLayerVersion.
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.*;
CfnLayerVersionProps cfnLayerVersionProps = CfnLayerVersionProps.builder()
.content(ContentProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
// the properties below are optional
.s3ObjectVersion("s3ObjectVersion")
.build())
// the properties below are optional
.compatibleArchitectures(List.of("compatibleArchitectures"))
.compatibleRuntimes(List.of("compatibleRuntimes"))
.description("description")
.layerName("layerName")
.licenseInfo("licenseInfo")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLayerVersionPropsstatic final classAn implementation forCfnLayerVersionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLayerVersionProps.Builderbuilder()A list of compatible instruction set architectures .A list of compatible function runtimes .The function layer archive.default StringThe description of the version.default StringThe name or Amazon Resource Name (ARN) of the layer.default StringThe layer's software license.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
The function layer archive.Returns union: either
IResolvableorCfnLayerVersion.ContentProperty- See Also:
-
getCompatibleArchitectures
A list of compatible instruction set architectures .- See Also:
-
getCompatibleRuntimes
- See Also:
-
getDescription
The description of the version.- See Also:
-
getLayerName
The name or Amazon Resource Name (ARN) of the layer.- See Also:
-
getLicenseInfo
The layer's software license. It can be any of the following:.- An SPDX license identifier . For example,
MIT. - The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT. - The full text of the license.
- See Also:
- An SPDX license identifier . For example,
-
builder
- Returns:
- a
CfnLayerVersionProps.BuilderofCfnLayerVersionProps
-