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

export interface DxHostedPublicVirtualInterfaceAccepterArgs
  extends core.ResourceArgs {
  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

  virtualInterfaceId: string | core.StringOut;
}

export class DxHostedPublicVirtualInterfaceAccepter extends core.Resource<DxHostedPublicVirtualInterfaceAccepterArgs> {
  @core.attr(String, { computed: true })
  public arn!: 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;

  constructor(name: string, args?: DxHostedPublicVirtualInterfaceAccepterArgs) {
    super(name, "aws_dx_hosted_public_virtual_interface_accepter", args);
  }

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