import * as core from "@terrascript/core"; export interface AttachmentAccepterArgs extends core.ResourceArgs { /** * (Required) The ID of the attachment. */ attachmentId: string | core.StringOut; /** * The type of attachment. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon * .com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax) */ attachmentType: string | core.StringOut; } export class AttachmentAccepter extends core.Resource { /** * (Required) The ID of the attachment. */ @core.attr(String) public attachmentId!: string | core.StringOut; /** * The policy rule number associated with the attachment. */ @core.attr(Number, { computed: true }) public attachmentPolicyRuleNumber!: number | core.NumberOut; /** * The type of attachment. Valid values can be found in the [AWS Documentation](https://docs.aws.amazon * .com/networkmanager/latest/APIReference/API_ListAttachments.html#API_ListAttachments_RequestSyntax) */ @core.attr(String) public attachmentType!: string | core.StringOut; /** * The ARN of a core network. */ @core.attr(String, { computed: true }) public coreNetworkArn!: string | core.StringOut; /** * The id of a core network. */ @core.attr(String, { computed: true }) public coreNetworkId!: string | core.StringOut; /** * The Region where the edge is located. */ @core.attr(String, { computed: true }) public edgeLocation!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The ID of the attachment account owner. */ @core.attr(String, { computed: true }) public ownerAccountId!: string | core.StringOut; /** * The attachment resource ARN. */ @core.attr(String, { computed: true }) public resourceArn!: string | core.StringOut; /** * The name of the segment attachment. */ @core.attr(String, { computed: true }) public segmentName!: string | core.StringOut; /** * The state of the attachment. */ @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"; } }