ALIYUN::VPC::VpcPeerConnection is used to create a peering connection between virtual private clouds (VPCs).
Syntax
{
"Type": "ALIYUN::VPC::VpcPeerConnection",
"Properties": {
"Description": String,
"DeletionForce": Boolean,
"AcceptingVpcId": String,
"VpcId": String,
"AcceptingRegionId": String,
"AcceptingAliUid": Integer,
"Name": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the VPC peering connection. | The description must be 2 to 256 characters in length. It must start with a letter and cannot start with |
DeletionForce | Boolean | No | Yes | Specifies whether to forcefully delete the VPC peering connection. | Valid values:
|
AcceptingVpcId | String | Yes | No | The ID of the acceptor VPC. | The ID of the acceptor VPC must be different from the ID of the requester VPC. |
VpcId | String | Yes | No | The ID of the requester VPC. | None. |
AcceptingRegionId | String | No | No | The region ID of the acceptor VPC. | Valid values:
|
AcceptingAliUid | Integer | No | No | The ID of the Alibaba Cloud account to which the acceptor VPC belongs. | Valid values:
Note If the acceptor VPC belongs to a Resource Access Management (RAM) user, specify the ID of the Alibaba Cloud account to which the RAM user belongs. |
Name | String | No | Yes | The name of the VPC peering connection. | The name must be 2 to 128 characters in length, and can contain digits, underscores (_), and hyphens (-). It must start with a letter. |
Return values
Fn::GetAtt
InstanceId: the ID of the instance on which the VPC peering connection is created.