import * as core from "@terrascript/core"; export interface BucketArgs extends core.ResourceArgs { /** * (Required) Name of the bucket. */ bucket: string | core.StringOut; /** * (Required) Identifier of the Outpost to contain this bucket. */ outpostId: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Bucket extends core.Resource { /** * Amazon Resource Name (ARN) of the bucket. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) Name of the bucket. */ @core.attr(String) public bucket!: string | core.StringOut; /** * UTC creation date in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). */ @core.attr(String, { computed: true }) public creationDate!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the bucket. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Identifier of the Outpost to contain this bucket. */ @core.attr(String) public outpostId!: string | core.StringOut; /** * Boolean whether Public Access Block is enabled. */ @core.attr(Boolean, { computed: true }) public publicAccessBlockEnabled!: boolean | core.BooleanOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: BucketArgs) { super(name, "aws_s3control_bucket", args); } public override getNamespace(): string { return "aws_s3control"; } }