AccountPublicAccessBlockState class
Input properties used for looking up and filtering AccountPublicAccessBlock resources.
Constructors
-
AccountPublicAccessBlockState({Input<
String?> ? accountId, Input<bool?> ? blockPublicAcls, Input<bool?> ? blockPublicPolicy, Input<bool?> ? ignorePublicAcls, Input<bool?> ? restrictPublicBuckets}) -
Creates a new AccountPublicAccessBlockState.
accountIdAWS account ID to configure. Defaults to automatically determined account ID of the this provider AWS provider.blockPublicAclsWhether Amazon S3 should block public ACLs for buckets in this account. Defaults tofalse. Enabling this setting does not affect existing policies or ACLs. When set totrue, PUT Bucket acl and PUT Object acl calls fail if the specified ACL allows public access, and PUT Object calls fail if the request includes a public ACL.blockPublicPolicyWhether Amazon S3 should block public bucket policies for buckets in this account. Defaults tofalse. Enabling this setting does not affect existing bucket policies. When set totrue, Amazon S3 rejects calls to PUT Bucket policy if the specified bucket policy allows public access.ignorePublicAclsWhether Amazon S3 should ignore public ACLs for buckets in this account. Defaults tofalse. Enabling this setting does not affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. When set totrue, Amazon S3 ignores all public ACLs on buckets in this account and any objects that they contain.restrictPublicBucketsWhether Amazon S3 should restrict public bucket policies for buckets in this account. Defaults tofalse. Enabling this setting does not affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked. When set totrue, only the bucket owner and AWS Services can access buckets with public policies.const -
AccountPublicAccessBlockState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accountId
→ Input<
String?> ? -
AWS account ID to configure. Defaults to automatically determined account ID of the this provider AWS provider.
final
-
blockPublicAcls
→ Input<
bool?> ? -
Whether Amazon S3 should block public ACLs for buckets in this account. Defaults to
false. Enabling this setting does not affect existing policies or ACLs. When set totrue, PUT Bucket acl and PUT Object acl calls fail if the specified ACL allows public access, and PUT Object calls fail if the request includes a public ACL.final -
blockPublicPolicy
→ Input<
bool?> ? -
Whether Amazon S3 should block public bucket policies for buckets in this account. Defaults to
false. Enabling this setting does not affect existing bucket policies. When set totrue, Amazon S3 rejects calls to PUT Bucket policy if the specified bucket policy allows public access.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
ignorePublicAcls
→ Input<
bool?> ? -
Whether Amazon S3 should ignore public ACLs for buckets in this account. Defaults to
false. Enabling this setting does not affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. When set totrue, Amazon S3 ignores all public ACLs on buckets in this account and any objects that they contain.final -
restrictPublicBuckets
→ Input<
bool?> ? -
Whether Amazon S3 should restrict public bucket policies for buckets in this account. Defaults to
false. Enabling this setting does not affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked. When set totrue, only the bucket owner and AWS Services can access buckets with public policies.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