CmdID / aws / aws networkmanager
aws networkmanager reject-attachment
Rejects a core network attachment request. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To reject an attachment
The following reject-attachment example rejects a VPC attachment request.
aws networkmanager reject-attachment --attachment-id attachment-03b7ea450134787daIdentify--attachment-idThe ID of the attachment.Its output
{
"Attachment": {
"CoreNetworkId": "core-network-0522de1b226a5d7b3",
"AttachmentId": "attachment-03b7ea450134787da",
"OwnerAccountId": "123456789012",
"AttachmentType": "VPC",
"State": "AVAILABLE",
"EdgeLocation": "us-west-2",
"ResourceArn": "arn:aws:ec2:us-west-2:123456789012:vpc/vpc-a7c4bbda",
"CreatedAt": "2022-03-11T17:48:58+00:00",
"UpdatedAt": "2022-03-11T17:51:25+00:00"
}
}For more information, see Accept or reject an AWS Cloud WAN core network attachment in the Cloud WAN User Guide.
Options
--attachment-idThe ID of the attachment.