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

export interface AttachmentAccepterArgs extends core.ResourceArgs {
  attachmentId: string | core.StringOut;

  attachmentType: string | core.StringOut;
}

export class AttachmentAccepter extends core.Resource<AttachmentAccepterArgs> {
  @core.attr(String)
  public attachmentId!: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public attachmentPolicyRuleNumber!: number | core.NumberOut;

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

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

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

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

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

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

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

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

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

  constructor(name: string, args?: AttachmentAccepterArgs) {
    super(name, "aws_networkmanager_attachment_accepter", args);
  }

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