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

export interface DxHostedPrivateVirtualInterfaceAccepterArgs
  extends core.ResourceArgs {
  dxGatewayId?: string | core.StringOut;

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

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

  virtualInterfaceId: string | core.StringOut;

  vpnGatewayId?: string | core.StringOut;
}

export class DxHostedPrivateVirtualInterfaceAccepter extends core.Resource<DxHostedPrivateVirtualInterfaceAccepterArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(String)
  public dxGatewayId?: 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)
  public virtualInterfaceId!: string | core.StringOut;

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

  constructor(
    name: string,
    args?: DxHostedPrivateVirtualInterfaceAccepterArgs
  ) {
    super(name, "aws_dx_hosted_private_virtual_interface_accepter", args);
  }

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