I have an already accepted AWS VPC Peering Connection and I want to rename it through AWS API.
How do I do that ?
I found the answer - using AWS Groups Tagging API . Example request:
{
"ResourceARNList": [ "arn:aws:ec2:${awsRegion}:${vpc.getOwnerId}:vpc-peering-connection/${vpcPeeringConnectionId}" ],
"Tags": {
"Name" : "MyVpcPeeringConnectionName"
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.