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:
- 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
-
- Type:
see
- content_uri
-
- Type:
see
- description
-
- Type:
see
- layer_name
-
- Type:
see
- license_info
-
- Type:
see