BucketPolicyArgs class

The set of arguments for BucketPolicy. The set of arguments for BucketPolicy.

Constructors

BucketPolicyArgs({required Input<String> bucket, required Input policy, Input<String?>? region})
Creates a new BucketPolicyArgs. 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
BucketPolicyArgs.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