Interface CfnLayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.665Z")
@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();
-
Nested Class Summary
Nested ClassesModifier 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. -
getCompatibleArchitectures
A list of compatible instruction set architectures . -
getCompatibleRuntimes
-
getDescription
The description of the version. -
getLayerName
The name or Amazon Resource Name (ARN) of the layer. -
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.
- An SPDX license identifier . For example,
-
builder
- Returns:
- a
CfnLayerVersionProps.Builder
ofCfnLayerVersionProps
-