Interface CfnLayerVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLayerVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-05-31T18:44:07.465Z")
@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 classA builder forCfnLayerVersionPropsstatic final classAn implementation forCfnLayerVersionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLayerVersionProps.Builderbuilder()`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.BuilderofCfnLayerVersionProps
-