BucketState class

Input properties used for looking up and filtering Bucket resources.

Constructors

BucketState({Input<String?>? arn, Input<String?>? availabilityZone, Input<String?>? bundleId, Input<String?>? createdAt, Input<bool?>? forceDelete, Input<String?>? name, Input<String?>? region, Input<String?>? supportCode, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, 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.
const
BucketState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the Lightsail bucket.
final
availabilityZone → Input<String?>?
Availability Zone. Follows the format us-east-2a (case-sensitive).
final
bundleId → Input<String?>?
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.
final
createdAt → Input<String?>?
Date and time when the bucket was created.
final
forceDelete → Input<bool?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name for the bucket.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportCode → Input<String?>?
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.
final
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
url → Input<String?>?
URL of the bucket.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited