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

export interface DsHostedZoneArgs {
  region?: string | core.StringOut;
}

export class DsHostedZone extends core.Data<DsHostedZoneArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

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

  constructor(name: string, args?: DsHostedZoneArgs) {
    super(name, "aws_elastic_beanstalk_hosted_zone", args);
  }

  public override getNamespace(): string {
    return "aws_elastic_beanstalk";
  }
}
