interface CfnLayerVersionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnLayerVersionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnLayerVersionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnLayerVersionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnLayerVersionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » CfnLayerVersionMixinProps |
Properties for CfnLayerVersionPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversion.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const cfnLayerVersionMixinProps: lambda.CfnLayerVersionMixinProps = {
compatibleArchitectures: ['compatibleArchitectures'],
compatibleRuntimes: ['compatibleRuntimes'],
content: {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
s3ObjectVersion: 's3ObjectVersion',
},
description: 'description',
layerName: 'layerName',
licenseInfo: 'licenseInfo',
};
Properties
| Name | Type | Description |
|---|---|---|
| compatible | string[] | A list of compatible instruction set architectures . |
| compatible | string[] | A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions . |
| content? | IResolvable | Content | The function layer archive. |
| description? | string | The description of the version. |
| layer | string | The name or Amazon Resource Name (ARN) of the layer. |
| license | string | The layer's software license. It can be any of the following:. |
compatibleArchitectures?
Type:
string[]
(optional)
A list of compatible instruction set architectures .
compatibleRuntimes?
Type:
string[]
(optional)
A list of compatible function runtimes . Used for filtering with ListLayers and ListLayerVersions .
content?
Type:
IResolvable | Content
(optional)
The function layer archive.
description?
Type:
string
(optional)
The description of the version.
layerName?
Type:
string
(optional)
The name or Amazon Resource Name (ARN) of the layer.
licenseInfo?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript