import * as core from "@terrascript/core"; export interface DsAccountPublicAccessBlockArgs { /** * (Optional) AWS account ID to configure. Defaults to automatically determined account ID of the Terra * form AWS provider. */ accountId?: string | core.StringOut; } export class DsAccountPublicAccessBlock extends core.Data { /** * (Optional) AWS account ID to configure. Defaults to automatically determined account ID of the Terra * form AWS provider. */ @core.attr(String) public accountId?: string | core.StringOut; /** * Whether or not Amazon S3 should block public ACLs for buckets in this account is enabled. Returns as * true` or `false`. */ @core.attr(Boolean, { computed: true }) public blockPublicAcls!: boolean | core.BooleanOut; /** * Whether or not Amazon S3 should block public bucket policies for buckets in this account is enabled. * Returns as `true` or `false`. */ @core.attr(Boolean, { computed: true }) public blockPublicPolicy!: boolean | core.BooleanOut; /** * AWS account ID */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether or not Amazon S3 should ignore public ACLs for buckets in this account is enabled. Returns a * s `true` or `false`. */ @core.attr(Boolean, { computed: true }) public ignorePublicAcls!: boolean | core.BooleanOut; /** * Whether or not Amazon S3 should restrict public bucket policies for buckets in this account is enabl * ed. Returns as `true` or `false`. */ @core.attr(Boolean, { computed: true }) public restrictPublicBuckets!: boolean | core.BooleanOut; constructor(name: string, args?: DsAccountPublicAccessBlockArgs) { super(name, "aws_s3_account_public_access_block", args); } public override getNamespace(): string { return "aws_s3"; } }