DirectoryBucketArgs class

The set of arguments for DirectoryBucket. The set of arguments for DirectoryBucket.

Constructors

DirectoryBucketArgs({required Input<String> bucket, Input<String?>? dataRedundancy, Input<bool?>? forceDestroy, required Input<DirectoryBucketLocation> location, Input<String?>? region, Input<Map<String, String>?>? tags, Input<String?>? type})
Creates a new DirectoryBucketArgs. 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. type Bucket type. Valid values: Directory.
const
DirectoryBucketArgs.fromMap(Map<String, dynamic> map)
factory

Properties

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
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