Skip to content
v2.274.0

S3Property Struct ​

Options for Amazon S3 as a logging destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const s3Property: ec2.CfnVerifiedAccessInstance.S3Property = {
  bucketName: 'bucketName',
  bucketOwner: 'bucketOwner',
  enabled: false,
  prefix: 'prefix',
};

Properties ​

bucketNamestringbucket_namestrbucketNameStringBucketNamestringBucketName*string#
The bucket name.
bucketOwnerstringbucket_ownerstrbucketOwnerStringBucketOwnerstringBucketOwner*string#
The AWS account number that owns the bucket.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}#
Indicates whether logging is enabled.
prefixstringprefixstrprefixStringPrefixstringPrefix*string#
The bucket prefix.