Skip to content
v2.273.0

S3LocationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const s3LocationProperty: sam.CfnFunction.S3LocationProperty = {
  bucket: 'bucket',
  key: 'key',

  // the properties below are optional
  version: 123,
};

Properties ​

bucketstringbucketstrbucketStringBucketstringBucket*stringrequired#
keystringkeystrkeyStringKeystringKey*stringrequired#
versionnumberversionint | floatversionNumberVersiondoubleVersion*float64#