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 classA builder forCfnLayerVersionPropsstatic final classAn implementation forCfnLayerVersionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLayerVersionProps.Builderbuilder()AWS::Serverless::LayerVersion.CompatibleRuntimes.default ObjectAWS::Serverless::LayerVersion.ContentUri.default StringAWS::Serverless::LayerVersion.Description.default StringAWS::Serverless::LayerVersion.LayerName.default StringAWS::Serverless::LayerVersion.LicenseInfo.default StringAWS::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
-