Interface ICfnVPCPeeringConnectionProps
Properties for defining a CfnVPCPeeringConnection
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnVPCPeeringConnectionProps
Syntax (vb)
Public Interface ICfnVPCPeeringConnectionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnVPCPeeringConnectionProps = new CfnVPCPeeringConnectionProps {
PeerVpcId = "peerVpcId",
VpcId = "vpcId",
// the properties below are optional
PeerOwnerId = "peerOwnerId",
PeerRegion = "peerRegion",
PeerRoleArn = "peerRoleArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
PeerOwnerId | The AWS account ID of the owner of the accepter VPC. |
PeerRegion | The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request. |
PeerRoleArn | The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account. |
PeerVpcId | The ID of the VPC with which you are creating the VPC peering connection. |
Tags | Any tags assigned to the resource. |
VpcId | The ID of the VPC. |
Properties
PeerOwnerId
The AWS account ID of the owner of the accepter VPC.
virtual string PeerOwnerId { get; }
Property Value
System.String
Remarks
PeerRegion
The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
virtual string PeerRegion { get; }
Property Value
System.String
Remarks
Default: The Region in which you make the request.
PeerRoleArn
The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
virtual string PeerRoleArn { get; }
Property Value
System.String
Remarks
This is required when you are peering a VPC in a different AWS account.
PeerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
string PeerVpcId { get; }
Property Value
System.String
Remarks
You must specify this parameter in the request.
Tags
VpcId
The ID of the VPC.
string VpcId { get; }
Property Value
System.String