interface S3Property
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVerifiedAccessInstance.S3Property |
Java | software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.S3Property |
Python | aws_cdk.aws_ec2.CfnVerifiedAccessInstance.S3Property |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const s3Property: ec2.CfnVerifiedAccessInstance.S3Property = {
bucketName: 'bucketName',
bucketOwner: 'bucketOwner',
enabled: false,
prefix: 'prefix',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | The bucket name. |
bucket | string | The AWS account number that owns the bucket. |
enabled? | boolean | IResolvable | Indicates whether logging is enabled. |
prefix? | string | The 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.