Package com.pulumi.aws.lightsail
Class BucketArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.lightsail.BucketArgs
-
public final class BucketArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BucketArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static BucketArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketArgs.Builder
builder()
static BucketArgs.Builder
builder(BucketArgs defaults)
com.pulumi.core.Output<java.lang.String>
bundleId()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
forceDelete()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
tags()
-
-
-
Field Detail
-
Empty
public static final BucketArgs Empty
-
-
Method Detail
-
bundleId
public com.pulumi.core.Output<java.lang.String> bundleId()
- Returns:
- The ID of the bundle to use for the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the [get-bucket-bundles](https://docs.aws.amazon.com/cli/latest/reference/lightsail/get-bucket-bundles.html) cli command to get a list of bundle IDs that you can specify.
-
forceDelete
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDelete()
- Returns:
- Force Delete non-empty buckets using `pulumi destroy`. AWS by default will not delete an s3 bucket which is not empty, to prevent losing bucket data and affecting other resources in lightsail. If `force_delete` is set to `true` the bucket will be deleted even when not empty.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name for the bucket.
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- A map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
builder
public static BucketArgs.Builder builder()
-
builder
public static BucketArgs.Builder builder(BucketArgs defaults)
-
-