CfnLayerVersionMixinProps
- class aws_cdk.mixins_preview.aws_lambda.mixins.CfnLayerVersionMixinProps(*, compatible_architectures=None, compatible_runtimes=None, content=None, description=None, layer_name=None, license_info=None)
Bases:
objectProperties for CfnLayerVersionPropsMixin.
- Parameters:
compatible_architectures (
Optional[Sequence[str]]) – A list of compatible instruction set architectures .compatible_runtimes (
Optional[Sequence[str]]) – A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .content (
Union[IResolvable,ContentProperty,Dict[str,Any],None]) – The function layer archive.description (
Optional[str]) – The description of the version.layer_name (
Optional[str]) – The name or Amazon Resource Name (ARN) of the layer.license_info (
Optional[str]) – The layer’s software license. It can be any of the following:. - An SPDX license identifier . For example,MIT. - The URL of a license hosted on the internet. For example,https://opensource.org/licenses/MIT. - The full text of the license.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-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.mixins_preview.aws_lambda import mixins as lambda_mixins cfn_layer_version_mixin_props = lambda_mixins.CfnLayerVersionMixinProps( compatible_architectures=["compatibleArchitectures"], compatible_runtimes=["compatibleRuntimes"], content=lambda_mixins.CfnLayerVersionPropsMixin.ContentProperty( s3_bucket="s3Bucket", s3_key="s3Key", s3_object_version="s3ObjectVersion" ), description="description", layer_name="layerName", license_info="licenseInfo" )
Attributes
- compatible_architectures
A list of compatible instruction set architectures .
- compatible_runtimes
A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .
- content
The function layer archive.
- description
The description of the version.
- layer_name
The name or Amazon Resource Name (ARN) of the layer.
- license_info
.
An SPDX license identifier . For example,
MIT.The URL of a license hosted on the internet. For example,
https://opensource.org/licenses/MIT.The full text of the license.
- See:
- Type:
The layer’s software license. It can be any of the following