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 classBucketArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static BucketArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketArgs.Builderbuilder()static BucketArgs.Builderbuilder(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.lang.String>>region()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:
- Bundle ID 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:
- Whether to force delete non-empty buckets using `pulumi destroy`. AWS by default will not delete a bucket which is not empty, to prevent losing bucket data and affecting other resources in Lightsail. If `forceDelete` 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:
- Name for the bucket. The following arguments are optional:
-
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 resource. To create a key-only tag, use an empty string as the value. If configured with a provider `defaultTags` 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)
-
-