BucketLoggingV2Args constructor
const
BucketLoggingV2Args({
- required Input<
String> bucket, - Input<
String?> ? expectedBucketOwner, - Input<
String?> ? region, - required Input<
String> targetBucket, - Input<
List< ? targetGrants,BucketLoggingV2TargetGrant> ?> - Input<
BucketLoggingV2TargetObjectKeyFormat?> ? targetObjectKeyFormat, - required Input<
String> targetPrefix,
Creates a new BucketLoggingV2Args.
bucket Name of the bucket.
expectedBucketOwner Account ID of the expected bucket owner.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
targetBucket Name of the bucket where you want Amazon S3 to store server access logs.
targetGrants Set of configuration blocks with information for granting permissions. See below.
targetObjectKeyFormat Amazon S3 key format for log objects. See below.
targetPrefix Prefix for all log object keys.
Implementation
const BucketLoggingV2Args({
required this.bucket,
this.expectedBucketOwner,
this.region,
required this.targetBucket,
this.targetGrants,
this.targetObjectKeyFormat,
required this.targetPrefix,
});