interface CfnLayerVersionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnLayerVersionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnLayerVersionProps |
Java | software.amazon.awscdk.services.sam.CfnLayerVersionProps |
Python | aws_cdk.aws_sam.CfnLayerVersionProps |
TypeScript | aws-cdk-lib » aws_sam » CfnLayerVersionProps |
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 { aws_sam as sam } from 'aws-cdk-lib';
const cfnLayerVersionProps: sam.CfnLayerVersionProps = {
compatibleRuntimes: ['compatibleRuntimes'],
contentUri: 'contentUri',
description: 'description',
layerName: 'layerName',
licenseInfo: 'licenseInfo',
retentionPolicy: 'retentionPolicy',
};
Properties
Name | Type | Description |
---|---|---|
compatible | string[] | |
content | string | IResolvable | S3 | |
description? | string | |
layer | string | |
license | string | |
retention | string |
compatibleRuntimes?
Type:
string[]
(optional)
contentUri?
Type:
string |
IResolvable
|
S3
(optional)
description?
Type:
string
(optional)
layerName?
Type:
string
(optional)
licenseInfo?
Type:
string
(optional)
retentionPolicy?
Type:
string
(optional)