BucketCorsConfigurationArgs class
The set of arguments for BucketCorsConfiguration. The set of arguments for BucketCorsConfiguration.
Constructors
-
BucketCorsConfigurationArgs({required Input<
String> bucket, required Input<List< corsRules, Input<BucketCorsConfigurationCorsRule> >String?> ? expectedBucketOwner, Input<String?> ? region}) -
Creates a new BucketCorsConfigurationArgs.
bucketName of the bucket.corsRulesSet of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.expectedBucketOwnerAccount ID of the expected bucket owner.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
BucketCorsConfigurationArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bucket
→ Input<
String> -
Name of the bucket.
final
-
corsRules
→ Input<
List< BucketCorsConfigurationCorsRule> > -
Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
final
-
expectedBucketOwner
→ Input<
String?> ? -
Account ID of the expected bucket owner.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
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