Skip to content
v2.274.0

BucketReference Struct ​

A reference to a Bucket resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as interfaces_s3 } from 'aws-cdk-lib/interfaces';
const bucketReference: interfaces_s3.BucketReference = {
  bucketArn: 'bucketArn',
  bucketName: 'bucketName',
};

Properties ​

bucketArnstringbucket_arnstrbucketArnStringBucketArnstringBucketArn*stringrequired#
The ARN of the Bucket resource.
bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*stringrequired#
The BucketName of the Bucket resource.