WebFunctionS3Location Struct Added in v2.276.0
S3 location for WebFunction code.
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 webFunctionS3Location: lambda.WebFunctionS3Location = {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
};
Properties
The S3 bucket name.
The S3 object key.
objectVersionoptionalstringobject_versionoptionalstrobjectVersionoptionalStringObjectVersionoptionalstringObjectVersionoptional*string#The S3 object version (optional).
Default: the version that is latest when the revision is created