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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? type}) -
Creates a new DirectoryBucketState.
arnARN of the bucket.bucketName of the bucket. The name must be in the format[bucketName]--[azid]--x-s3. Use theaws.s3.Bucketresource to manage general purpose buckets.dataRedundancyData redundancy. Valid values:SingleAvailabilityZone,SingleLocalZone. The default value depends on the value of thelocation.typeattribute.forceDestroyBoolean 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 totrue. Once this parameter is set totrue, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter 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 successfulpulumi upis required to set this value in state before it will take effect on a destroy operation.locationBucket location. See Location below for more details.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags to assign to the bucket. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.typeBucket 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 theaws.s3.Bucketresource to manage general purpose buckets.final -
dataRedundancy
→ Input<
String?> ? -
Data redundancy. Valid values:
SingleAvailabilityZone,SingleLocalZone. The default value depends on the value of thelocation.typeattribute.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 totrue, there must be a successfulpulumi uprun before a destroy is required to update this value in the resource state. Without a successfulpulumi upafter 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 successfulpulumi upis 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
-
Map of tags to assign to the bucket. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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