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:35.675Z")
@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.sam.*; CfnLayerVersionProps cfnLayerVersionProps = CfnLayerVersionProps.builder() .compatibleRuntimes(List.of("compatibleRuntimes")) .contentUri("contentUri") .description("description") .layerName("layerName") .licenseInfo("licenseInfo") .retentionPolicy("retentionPolicy") .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()
AWS::Serverless::LayerVersion.CompatibleRuntimes
.default Object
AWS::Serverless::LayerVersion.ContentUri
.default String
AWS::Serverless::LayerVersion.Description
.default String
AWS::Serverless::LayerVersion.LayerName
.default String
AWS::Serverless::LayerVersion.LicenseInfo
.default String
AWS::Serverless::LayerVersion.RetentionPolicy
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCompatibleRuntimes
AWS::Serverless::LayerVersion.CompatibleRuntimes
. -
getContentUri
AWS::Serverless::LayerVersion.ContentUri
. -
getDescription
AWS::Serverless::LayerVersion.Description
. -
getLayerName
AWS::Serverless::LayerVersion.LayerName
. -
getLicenseInfo
AWS::Serverless::LayerVersion.LicenseInfo
. -
getRetentionPolicy
AWS::Serverless::LayerVersion.RetentionPolicy
. -
builder
- Returns:
- a
CfnLayerVersionProps.Builder
ofCfnLayerVersionProps
-