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

export interface DsRegionArgs {
  endpoint?: string | core.StringOut;

  name?: string | core.StringOut;
}

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

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

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

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

  constructor(name: string, args?: DsRegionArgs) {
    super(name, "aws_region", args);
  }

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