Interface CfnLayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:21.223Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLayerVersionProps
static final class
An implementation forCfnLayerVersionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLayerVersionProps.Builder
builder()
A list of compatible instruction set architectures .A list of compatible function runtimes .The function layer archive.default String
The description of the version.default String
The name or Amazon Resource Name (ARN) of the layer.default String
The layer's software license.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
The function layer archive.- 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.Builder
ofCfnLayerVersionProps
-