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

export interface GatewayArgs extends core.ResourceArgs {
  amazonSideAsn?: string | core.StringOut;

  availabilityZone?: string | core.StringOut;

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

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

  vpcId?: string | core.StringOut;
}

export class Gateway extends core.Resource<GatewayArgs> {
  @core.attr(String, { computed: true })
  public amazonSideAsn?: string | core.StringOut;

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

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

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

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

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

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

  constructor(name: string, args?: GatewayArgs) {
    super(name, "aws_vpn_gateway", args);
  }

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