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

export interface DxConnectionConfirmationArgs extends core.ResourceArgs {
  connectionId: string | core.StringOut;
}

export class DxConnectionConfirmation extends core.Resource<DxConnectionConfirmationArgs> {
  @core.attr(String)
  public connectionId!: string | core.StringOut;

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

  constructor(name: string, args?: DxConnectionConfirmationArgs) {
    super(name, "aws_dx_connection_confirmation", args);
  }

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