interface CodeConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnWebFunctionRevision.CodeConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnWebFunctionRevision_CodeConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnWebFunctionRevision.CodeConfigProperty |
Python | aws_cdk.aws_lambda.CfnWebFunctionRevision.CodeConfigProperty |
TypeScript | aws-cdk-lib » aws_lambda » CfnWebFunctionRevision » CodeConfigProperty |
The code configuration for the revision.
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-lib';
const codeConfigProperty: lambda.CfnWebFunctionRevision.CodeConfigProperty = {
s3Object: {
bucket: 'bucket',
key: 'key',
// the properties below are optional
versionId: 'versionId',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| s3 | IResolvable | S3 | The S3 location of the function code. |
s3Object
Type:
IResolvable | S3
The S3 location of the function code.

.NET
Go
Java
Python
TypeScript