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

export interface LinkAssociationArgs extends core.ResourceArgs {
  deviceId: string | core.StringOut;

  globalNetworkId: string | core.StringOut;

  linkId: string | core.StringOut;
}

export class LinkAssociation extends core.Resource<LinkAssociationArgs> {
  @core.attr(String)
  public deviceId!: string | core.StringOut;

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

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

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

  constructor(name: string, args?: LinkAssociationArgs) {
    super(name, "aws_networkmanager_link_association", args);
  }

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