Resource: awsNetworkmanagerAttachmentAccepter
Terraform resource for managing an AWS NetworkManager Attachment Accepter.
Example Usage
Example with VPC attachment
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.networkmanagerAttachmentAccepter.NetworkmanagerAttachmentAccepter(
this,
"test",
{
attachmentId: "${aws_networkmanager_vpc_attachment.vpc.id}",
attachmentType: "${aws_networkmanager_vpc_attachment.vpc.attachment_type}",
}
);
Example with site-to-site VPN attachment
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.networkmanagerAttachmentAccepter.NetworkmanagerAttachmentAccepter(
this,
"test",
{
attachmentId: "${aws_networkmanager_site_to_site_vpn_attachment.vpn.id}",
attachmentType:
"${aws_networkmanager_site_to_site_vpn_attachment.vpn.attachment_type}",
}
);
Argument Reference
The following arguments are required:
attachmentId
- (Required) The ID of the attachment.attachmentType
- The type of attachment. Valid values can be found in the AWS Documentation
Attributes Reference
In addition to all arguments above, the following attributes are exported:
attachmentPolicyRuleNumber
- The policy rule number associated with the attachment.coreNetworkArn
- The ARN of a core network.coreNetworkId
- The id of a core network.edgeLocation
- The Region where the edge is located.ownerAccountId
- The ID of the attachment account owner.resourceArn
- The attachment resource ARN.segmentName
- The name of the segment attachment.state
- The state of the attachment.