BucketPublicAccessBlockState class
Input properties used for looking up and filtering BucketPublicAccessBlock resources.
Constructors
-
BucketPublicAccessBlockState({Input<
bool?> ? blockPublicAcls, Input<bool?> ? blockPublicPolicy, Input<String?> ? bucket, Input<bool?> ? ignorePublicAcls, Input<String?> ? region, Input<bool?> ? restrictPublicBuckets, Input<bool?> ? skipDestroy}) -
Creates a new BucketPublicAccessBlockState.
blockPublicAclsWhether Amazon S3 should block public ACLs for this bucket. 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 an object ACL.blockPublicPolicyWhether Amazon S3 should block public bucket policies for this bucket. Defaults tofalse. Enabling this setting does not affect the existing bucket policy. When set totrue, Amazon S3 rejects calls to PUT Bucket policy if the specified bucket policy allows public access.bucketS3 Bucket to which this Public Access Block configuration should be applied.ignorePublicAclsWhether Amazon S3 should ignore public ACLs for this bucket. 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 public ACLs on this bucket and any objects that it contains.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.restrictPublicBucketsWhether Amazon S3 should restrict public bucket policies for this bucket. Defaults tofalse. Enabling this setting does not affect the previously stored bucket policy, except that public and cross-account access within the public bucket policy, including non-public delegation to specific accounts, is blocked. When set totrue, only the bucket owner and AWS services can access this bucket if it has a public policy.skipDestroyWhether to retain the public access block upon destruction. If set totrue, the resource is simply removed from state instead. This may be desirable in certain scenarios to prevent the removal of a public access block before deletion of the associated bucket.const -
BucketPublicAccessBlockState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
blockPublicAcls
→ Input<
bool?> ? -
Whether Amazon S3 should block public ACLs for this bucket. 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 an object ACL.final -
blockPublicPolicy
→ Input<
bool?> ? -
Whether Amazon S3 should block public bucket policies for this bucket. Defaults to
false. Enabling this setting does not affect the existing bucket policy. When set totrue, Amazon S3 rejects calls to PUT Bucket policy if the specified bucket policy allows public access.final -
bucket
→ Input<
String?> ? -
S3 Bucket to which this Public Access Block configuration should be applied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignorePublicAcls
→ Input<
bool?> ? -
Whether Amazon S3 should ignore public ACLs for this bucket. 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 public ACLs on this bucket and any objects that it contains.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
restrictPublicBuckets
→ Input<
bool?> ? -
Whether Amazon S3 should restrict public bucket policies for this bucket. Defaults to
false. Enabling this setting does not affect the previously stored bucket policy, except that public and cross-account access within the public bucket policy, including non-public delegation to specific accounts, is blocked. When set totrue, only the bucket owner and AWS services can access this bucket if it has a public policy.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
skipDestroy
→ Input<
bool?> ? -
Whether to retain the public access block upon destruction. If set to
true, the resource is simply removed from state instead. This may be desirable in certain scenarios to prevent the removal of a public access block before deletion of the associated bucket.final
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