[英]How to rename AWS VPC Peering Connection through the API?
我已經接受了AWS VPC對等連接,我想通過AWS API重命名它。
我怎么做 ?
我找到了答案-使用AWS Groups Tagging API 。 請求示例:
{
"ResourceARNList": [ "arn:aws:ec2:${awsRegion}:${vpc.getOwnerId}:vpc-peering-connection/${vpcPeeringConnectionId}" ],
"Tags": {
"Name" : "MyVpcPeeringConnectionName"
}
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.