VpcPeerConnectionProps
Properties for defining a VpcPeerConnection
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpcpeerconnection
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.VpcPeerConnectionProps {
AcceptingVpcId: interface{},
VpcId: interface{},
AcceptingAliUid: interface{},
AcceptingRegionId: interface{},
DeletionForce: interface{},
Description: interface{},
Name: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AcceptingVpcId |
interface{} |
Property acceptingVpcId: The ID of the acceptor VPC. |
VpcId |
interface{} |
Property vpcId: The ID of the requester VPC. |
AcceptingAliUid |
interface{} |
Property acceptingAliUid: The ID of the Alibaba Cloud account to which the acceptor VPC belongs. |
AcceptingRegionId |
interface{} |
Property acceptingRegionId: The region ID of the acceptor VPC of the VPC peering connection that you want to create. |
DeletionForce |
interface{} |
Property deletionForce: Specifies whether to forcefully delete the VPC peering connection. |
Description |
interface{} |
Property description: The description of the VPC peering connection. |
Name |
interface{} |
Property name: The name of the VPC peering connection. |
AcceptingVpcId
Required
AcceptingVpcId interface{}
- Type: interface{}
Property acceptingVpcId: The ID of the acceptor VPC.
VpcId
Required
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the requester VPC.
AcceptingAliUid
Optional
AcceptingAliUid interface{}
- Type: interface{}
Property acceptingAliUid: The ID of the Alibaba Cloud account to which the acceptor VPC belongs.
To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account. To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account. Note If the acceptor VPC belongs to a Resource Access Management (RAM) user, you must set the value of AcceptingAliUid to the ID of the corresponding Alibaba Cloud account. Default current account ID.
AcceptingRegionId
Optional
AcceptingRegionId interface{}
- Type: interface{}
Property acceptingRegionId: The region ID of the acceptor VPC of the VPC peering connection that you want to create.
To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC. To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC. Default current region.
DeletionForce
Optional
DeletionForce interface{}
- Type: interface{}
Property deletionForce: Specifies whether to forcefully delete the VPC peering connection.
Valid values:false (default): notrue: yes If you forcefully delete the VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the VPC peering connection.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
Name
Optional
Name interface{}
- Type: interface{}
Property name: 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.