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

export interface DsVpcLinkArgs {
  name: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

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

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

  @core.attr(String)
  public name!: string | core.StringOut;

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

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

  @core.attr(String, { computed: true, kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public targetArns!: core.Array<string> | core.ArrayOut<core.StringOut>;

  constructor(name: string, args?: DsVpcLinkArgs) {
    super(name, "aws_api_gateway_vpc_link", args);
  }

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