import * as core from "@terrascript/core"; export interface BucketAccelerateConfigurationArgs extends core.ResourceArgs { /** * (Required, Forces new resource) The name of the bucket. */ bucket: string | core.StringOut; /** * (Optional, Forces new resource) The account ID of the expected bucket owner. */ expectedBucketOwner?: string | core.StringOut; /** * (Required) The transfer acceleration state of the bucket. Valid values: `Enabled`, `Suspended`. */ status: string | core.StringOut; } export class BucketAccelerateConfiguration extends core.Resource { /** * (Required, Forces new resource) The name of the bucket. */ @core.attr(String) public bucket!: string | core.StringOut; /** * (Optional, Forces new resource) The account ID of the expected bucket owner. */ @core.attr(String) public expectedBucketOwner?: string | core.StringOut; /** * The `bucket` or `bucket` and `expected_bucket_owner` separated by a comma (`,`) if the latter is pro * vided. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The transfer acceleration state of the bucket. Valid values: `Enabled`, `Suspended`. */ @core.attr(String) public status!: string | core.StringOut; constructor(name: string, args?: BucketAccelerateConfigurationArgs) { super(name, "aws_s3_bucket_accelerate_configuration", args); } public override getNamespace(): string { return "aws_s3"; } }