CfnLayerVersionProps

class aws_cdk.aws_lambda.CfnLayerVersionProps(*, content, compatible_runtimes=None, description=None, layer_name=None, license_info=None)

Bases: object

__init__(*, content, compatible_runtimes=None, description=None, layer_name=None, license_info=None)

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

Parameters
  • content (Union[IResolvable, ContentProperty]) – AWS::Lambda::LayerVersion.Content.

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

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

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

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

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

Attributes

compatible_runtimes

AWS::Lambda::LayerVersion.CompatibleRuntimes.

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

Return type

Optional[List[str]]

content

AWS::Lambda::LayerVersion.Content.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html#cfn-lambda-layerversion-content

Return type

Union[IResolvable, ContentProperty]

description

AWS::Lambda::LayerVersion.Description.

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

Return type

Optional[str]

layer_name

AWS::Lambda::LayerVersion.LayerName.

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

Return type

Optional[str]

license_info

AWS::Lambda::LayerVersion.LicenseInfo.

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

Return type

Optional[str]