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

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

  name: string | core.StringOut;
}

export class DxGateway extends core.Resource<DxGatewayArgs> {
  @core.attr(String)
  public amazonSideAsn!: 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 ownerAccountId!: string | core.StringOut;

  constructor(name: string, args?: DxGatewayArgs) {
    super(name, "aws_dx_gateway", args);
  }

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