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

export interface DsDxLocationArgs {
  locationCode: string | core.StringOut;
}

export class DsDxLocation extends core.Data<DsDxLocationArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public availableMacsecPortSpeeds!:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public availablePortSpeeds!:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public availableProviders!:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

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

  @core.attr(String)
  public locationCode!: string | core.StringOut;

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

  constructor(name: string, args?: DsDxLocationArgs) {
    super(name, "aws_dx_location", args);
  }

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