pub struct DirectoryBucketArgs {
pub bucket: Output<String>,
pub data_redundancy: Output<Option<String>>,
pub force_destroy: Output<Option<bool>>,
pub location: Output<Option<DirectoryBucketLocation>>,
pub type_: Output<Option<String>>,
}
Fields§
§bucket: Output<String>
Name of the bucket. The name must be in the format [bucket_name]--[azid]--x-s3
. Use the aws.s3.BucketV2
resource to manage general purpose buckets.
data_redundancy: Output<Option<String>>
Data redundancy. Valid values: SingleAvailabilityZone
.
force_destroy: Output<Option<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.
location: Output<Option<DirectoryBucketLocation>>
Bucket location. See Location below for more details.
type_: Output<Option<String>>
Bucket type. Valid values: Directory
.
Implementations§
source§impl DirectoryBucketArgs
impl DirectoryBucketArgs
sourcepub fn builder() -> DirectoryBucketArgsBuilder
pub fn builder() -> DirectoryBucketArgsBuilder
Create an instance of DirectoryBucketArgs
using the builder syntax
Trait Implementations§
source§impl Clone for DirectoryBucketArgs
impl Clone for DirectoryBucketArgs
source§fn clone(&self) -> DirectoryBucketArgs
fn clone(&self) -> DirectoryBucketArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DirectoryBucketArgs
impl RefUnwindSafe for DirectoryBucketArgs
impl Send for DirectoryBucketArgs
impl Sync for DirectoryBucketArgs
impl Unpin for DirectoryBucketArgs
impl UnwindSafe for DirectoryBucketArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)