BucketCorsConfigurationState constructor
const
BucketCorsConfigurationState({
- Input<
String?> ? bucket, - Input<
List< ? corsRules,BucketCorsConfigurationCorsRule> ?> - Input<
String?> ? expectedBucketOwner, - Input<
String?> ? region,
Creates a new BucketCorsConfigurationState.
bucket Name of the bucket.
corsRules Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
expectedBucketOwner Account ID of the expected bucket owner.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
const BucketCorsConfigurationState({
this.bucket,
this.corsRules,
this.expectedBucketOwner,
this.region,
});