DirectoryBucketState constructor

const DirectoryBucketState({
  1. Input<String?>? arn,
  2. Input<String?>? bucket,
  3. Input<String?>? dataRedundancy,
  4. Input<bool?>? forceDestroy,
  5. Input<DirectoryBucketLocation?>? location,
  6. Input<String?>? region,
  7. Input<Map<String, String>?>? tags,
  8. Input<Map<String, String>?>? tagsAll,
  9. Input<String?>? type,
})

Creates a new DirectoryBucketState. arn ARN of the bucket. bucket Name of the bucket. The name must be in the format [bucketName]--[azid]--x-s3. Use the aws.s3.Bucket resource to manage general purpose buckets. dataRedundancy Data redundancy. Valid values: SingleAvailabilityZone, SingleLocalZone. The default value depends on the value of the location.type attribute. forceDestroy Boolean that indicates all objects should be deleted from the bucket when the bucket is destroyed so that the bucket can be destroyed without error. These objects are not recoverable. This only deletes objects when the bucket is destroyed, not when setting this parameter to true. Once this parameter is set to true, there must be a successful pulumi up run before a destroy is required to update this value in the resource state. Without a successful pulumi up after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful pulumi up is required to set this value in state before it will take effect on a destroy operation. location Bucket location. See Location below for more details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. tags Map of tags to assign to the bucket. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. type Bucket type. Valid values: Directory.

Implementation

const DirectoryBucketState({
  this.arn,
  this.bucket,
  this.dataRedundancy,
  this.forceDestroy,
  this.location,
  this.region,
  this.tags,
  this.tagsAll,
  this.type,
});