interface ContentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lambda.CfnLayerVersionPropsMixin.ContentProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslambda#CfnLayerVersionPropsMixin_ContentProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnLayerVersionPropsMixin.ContentProperty |
Python | aws_cdk.cfn_property_mixins.aws_lambda.CfnLayerVersionPropsMixin.ContentProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lambda » 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 { aws_lambda as lambda } from '@aws-cdk/cfn-property-mixins';
const contentProperty: lambda.CfnLayerVersionPropsMixin.ContentProperty = {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
s3ObjectVersion: 's3ObjectVersion',
};
Properties
| Name | Type | Description |
|---|---|---|
| s3 | string | IBucket | 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 | IBucket
(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