import * as core from "@terrascript/core";

export interface BucketAccelerateConfigurationArgs extends core.ResourceArgs {
  bucket: string | core.StringOut;

  expectedBucketOwner?: string | core.StringOut;

  status: string | core.StringOut;
}

export class BucketAccelerateConfiguration extends core.Resource<BucketAccelerateConfigurationArgs> {
  @core.attr(String)
  public bucket!: string | core.StringOut;

  @core.attr(String)
  public expectedBucketOwner?: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @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";
  }
}
