DirectoryBucketState class

Input properties used for looking up and filtering DirectoryBucket resources.

Constructors

DirectoryBucketState({Input<String?>? arn, Input<String?>? bucket, Input<String?>? dataRedundancy, Input<bool?>? forceDestroy, Input<DirectoryBucketLocation?>? location, Input<String?>? region, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, 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.
const
DirectoryBucketState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the bucket.
final
bucket → Input<String?>?
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.
final
dataRedundancy → Input<String?>?
Data redundancy. Valid values: SingleAvailabilityZone, SingleLocalZone. The default value depends on the value of the location.type attribute.
final
forceDestroy → Input<bool?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<DirectoryBucketLocation?>?
Bucket location. See Location below for more details.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
type → Input<String?>?
Bucket type. Valid values: Directory.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited