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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? url}) -
Creates a new BucketState.
arnARN of the Lightsail bucket.availabilityZoneAvailability Zone. Follows the format us-east-2a (case-sensitive).bundleIdBundle 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.createdAtDate and time when the bucket was created.forceDeleteWhether to force delete non-empty buckets usingpulumi destroy. AWS by default will not delete a bucket which is not empty, to prevent losing bucket data and affecting other resources in Lightsail. IfforceDeleteis set totruethe bucket will be deleted even when not empty.nameName for the bucket.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.supportCodeSupport 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.tagsMap of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.urlURL 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. IfforceDeleteis set totruethe 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
-
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
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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