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

Properties for defining a CfnLayerVersion.

Parameters:
  • compatible_runtimes (Optional[Sequence[str]]) –

  • content_uri (Union[str, IResolvable, S3LocationProperty, Dict[str, Any], None]) –

  • description (Optional[str]) –

  • layer_name (Optional[str]) –

  • license_info (Optional[str]) –

  • retention_policy (Optional[str]) –

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

cfn_layer_version_props = sam.CfnLayerVersionProps(
    compatible_runtimes=["compatibleRuntimes"],
    content_uri="contentUri",
    description="description",
    layer_name="layerName",
    license_info="licenseInfo",
    retention_policy="retentionPolicy"
)

Attributes

compatible_runtimes

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-compatibleruntimes

Type:

see

content_uri

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-contenturi

Type:

see

description

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-description

Type:

see

layer_name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-layername

Type:

see

license_info

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-licenseinfo

Type:

see

retention_policy

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-layerversion.html#cfn-serverless-layerversion-retentionpolicy

Type:

see