aws-cdk-lib.aws_ec2.CfnVerifiedAccessInstance.S3Property

interface S3Property

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnVerifiedAccessInstance.S3Property
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVerifiedAccessInstance_S3Property
Javasoftware.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.S3Property
Pythonaws_cdk.aws_ec2.CfnVerifiedAccessInstance.S3Property
TypeScript aws-cdk-lib » aws_ec2 » CfnVerifiedAccessInstance » S3Property

Options for Amazon S3 as a logging destination.

Example

// 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

NameTypeDescription
bucketName?stringThe bucket name.
bucketOwner?stringThe AWS account number that owns the bucket.
enabled?boolean | IResolvableIndicates whether logging is enabled.
prefix?stringThe bucket prefix.

bucketName?

Type: string (optional)

The bucket name.


bucketOwner?

Type: string (optional)

The AWS account number that owns the bucket.


enabled?

Type: boolean | IResolvable (optional)

Indicates whether logging is enabled.


prefix?

Type: string (optional)

The bucket prefix.