interface ContentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnLayerVersionPropsMixin.ContentProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnLayerVersionPropsMixin_ContentProperty |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnLayerVersionPropsMixin.ContentProperty |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnLayerVersionPropsMixin.ContentProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnLayerVersionPropsMixin » ContentProperty |
A ZIP archive that contains the contents of an Lambda layer .
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 contentProperty: lambda_mixins.CfnLayerVersionPropsMixin.ContentProperty = {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
s3ObjectVersion: 's3ObjectVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| s3 | string | The Amazon S3 bucket of the layer archive. |
| s3 | string | The Amazon S3 key of the layer archive. |
| s3 | string | For versioned objects, the version of the layer archive object to use. |
s3Bucket?
Type:
string
(optional)
The Amazon S3 bucket of the layer archive.
s3Key?
Type:
string
(optional)
The Amazon S3 key of the layer archive.
s3ObjectVersion?
Type:
string
(optional)
For versioned objects, the version of the layer archive object to use.

.NET
Go
Java
Python
TypeScript