Package com.pulumi.aws.s3
Class DirectoryBucketArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.s3.DirectoryBucketArgs
-
public final class DirectoryBucketArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectoryBucketArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static DirectoryBucketArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>bucket()static DirectoryBucketArgs.Builderbuilder()static DirectoryBucketArgs.Builderbuilder(DirectoryBucketArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>dataRedundancy()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>forceDestroy()com.pulumi.core.Output<DirectoryBucketLocationArgs>location()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>type()
-
-
-
Field Detail
-
Empty
public static final DirectoryBucketArgs Empty
-
-
Method Detail
-
bucket
public com.pulumi.core.Output<java.lang.String> bucket()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dataRedundancy()
- Returns:
- Data redundancy. Valid values: `SingleAvailabilityZone`, `SingleLocalZone`. The default value depends on the value of the `location.type` attribute.
-
forceDestroy
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDestroy()
- Returns:
- 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
public com.pulumi.core.Output<DirectoryBucketLocationArgs> location()
- Returns:
- Bucket location. See Location below for more details.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- 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
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
- Returns:
- Bucket type. Valid values: `Directory`.
-
builder
public static DirectoryBucketArgs.Builder builder()
-
builder
public static DirectoryBucketArgs.Builder builder(DirectoryBucketArgs defaults)
-
-