BucketState constructor

const BucketState({
  1. Input<String?>? arn,
  2. Input<String?>? availabilityZone,
  3. Input<String?>? bundleId,
  4. Input<String?>? createdAt,
  5. Input<bool?>? forceDelete,
  6. Input<String?>? name,
  7. Input<String?>? region,
  8. Input<String?>? supportCode,
  9. Input<Map<String, String>?>? tags,
  10. Input<Map<String, String>?>? tagsAll,
  11. Input<String?>? url,
})

Creates a new BucketState. arn ARN of the Lightsail bucket. availabilityZone Availability Zone. Follows the format us-east-2a (case-sensitive). 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. createdAt Date and time when the bucket was created. 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. supportCode Support code for the resource. Include this code in your email to support when you have questions about a resource in Lightsail. This code enables our support team to look up your Lightsail information more easily. 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. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. url URL of the bucket.

Implementation

const BucketState({
  this.arn,
  this.availabilityZone,
  this.bundleId,
  this.createdAt,
  this.forceDelete,
  this.name,
  this.region,
  this.supportCode,
  this.tags,
  this.tagsAll,
  this.url,
});