CodeConfigProperty Struct
The code configuration for the revision.
Example
ts
// 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
s3ObjectIResolvable | CfnWebFunctionRevision.S3ObjectPropertys3_objecttyping.Union[IResolvable, S3ObjectProperty]s3ObjectIResolvableS3ObjectIResolvableS3Objectinterface{}required#The S3 location of the function code.