Data Source: awsS3AccountPublicAccessBlock
The S3 account public access block data source returns account-level public access block configuration.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsS3AccountPublicAccessBlock.DataAwsS3AccountPublicAccessBlock(
this,
"example",
{}
);
Argument Reference
The following arguments are supported:
accountId
- (Optional) AWS account ID to configure. Defaults to automatically determined account ID of the Terraform AWS provider.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- AWS account IDblockPublicAcls
- Whether or not Amazon S3 should block public ACLs for buckets in this account is enabled. Returns astrue
orfalse
.blockPublicPolicy
- Whether or not Amazon S3 should block public bucket policies for buckets in this account is enabled. Returns astrue
orfalse
.ignorePublicAcls
- Whether or not Amazon S3 should ignore public ACLs for buckets in this account is enabled. Returns astrue
orfalse
.restrictPublicBuckets
- Whether or not Amazon S3 should restrict public bucket policies for buckets in this account is enabled. Returns astrue
orfalse
.