BucketArgs class
The set of arguments for Bucket. The set of arguments for Bucket.
Constructors
-
BucketArgs({required Input<
String> bundleId, Input<bool?> ? forceDelete, Input<String?> ? name, Input<String?> ? region, Input<Map< ? tags})String, String> ?> -
Creates a new BucketArgs.
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.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.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.const -
BucketArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
-
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
-
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
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