interface CfnLayerVersionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnLayerVersionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnLayerVersionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnLayerVersionMixinProps |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnLayerVersionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » 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 { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const cfnLayerVersionMixinProps: lambda_mixins.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