BucketPolicyState constructor
Creates a new BucketPolicyState.
bucket Name of the bucket to which to apply the policy.
policy Text of the policy. Although this is a bucket policy rather than an IAM policy, the aws.iam.getPolicyDocument data source may be used, so long as it specifies a principal. For more information about building AWS IAM policy documents, see the AWS IAM Policy Document Guide. Note: Bucket policies are limited to 20 KB in size.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
const BucketPolicyState({
this.bucket,
this.policy,
this.region,
});