CfnLayerVersionProps

class aws_cdk.aws_sam.CfnLayerVersionProps(*, compatible_runtimes=None, content_uri=None, description=None, layer_name=None, license_info=None, retention_policy=None)

Bases: object

__init__(*, compatible_runtimes=None, content_uri=None, description=None, layer_name=None, license_info=None, retention_policy=None)

Properties for defining a AWS::Serverless::LayerVersion.

Parameters
  • compatible_runtimes (Optional[List[str]]) – AWS::Serverless::LayerVersion.CompatibleRuntimes.

  • content_uri (Optional[str]) – AWS::Serverless::LayerVersion.ContentUri.

  • description (Optional[str]) – AWS::Serverless::LayerVersion.Description.

  • layer_name (Optional[str]) – AWS::Serverless::LayerVersion.LayerName.

  • license_info (Optional[str]) – AWS::Serverless::LayerVersion.LicenseInfo.

  • retention_policy (Optional[str]) – AWS::Serverless::LayerVersion.RetentionPolicy.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Attributes

compatible_runtimes

AWS::Serverless::LayerVersion.CompatibleRuntimes.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[List[str]]

content_uri

AWS::Serverless::LayerVersion.ContentUri.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[str]

description

AWS::Serverless::LayerVersion.Description.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[str]

layer_name

AWS::Serverless::LayerVersion.LayerName.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[str]

license_info

AWS::Serverless::LayerVersion.LicenseInfo.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[str]

retention_policy

AWS::Serverless::LayerVersion.RetentionPolicy.

see :see: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion

Return type

Optional[str]