BucketPolicyState class

Input properties used for looking up and filtering BucketPolicy resources.

Constructors

BucketPolicyState({Input<String?>? bucket, Input? policy, Input<String?>? region})
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.
const
BucketPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

bucket → Input<String?>?
Name of the bucket to which to apply the policy.
final
hashCode → int
The hash code for this object.
no setterinherited
policy → Input?
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.
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

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