BucketLoggingState constructor

const BucketLoggingState({
  1. Input<String?>? bucket,
  2. Input<String?>? expectedBucketOwner,
  3. Input<String?>? region,
  4. Input<String?>? targetBucket,
  5. Input<List<BucketLoggingTargetGrant>?>? targetGrants,
  6. Input<BucketLoggingTargetObjectKeyFormat?>? targetObjectKeyFormat,
  7. Input<String?>? targetPrefix,
})

Creates a new BucketLoggingState. 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 BucketLoggingState({
  this.bucket,
  this.expectedBucketOwner,
  this.region,
  this.targetBucket,
  this.targetGrants,
  this.targetObjectKeyFormat,
  this.targetPrefix,
});