BucketArgs constructor
Creates a new BucketArgs.
bundleId 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 cli command to get a list of bundle IDs that you can specify.
forceDelete 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 Name for the bucket.
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 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.
Implementation
const BucketArgs({
required this.bundleId,
this.forceDelete,
this.name,
this.region,
this.tags,
});