Show / Hide Table of Contents

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html

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;

CfnVPCPeeringConnectionProps 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

Default: Your AWS account ID

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-peerownerid

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-peerregion

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-peerrolearn

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-peervpcid

Tags

Any tags assigned to the resource.

virtual ICfnTag[] Tags { get; }
Property Value

ICfnTag[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-tags

VpcId

The ID of the VPC.

string VpcId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html#cfn-ec2-vpcpeeringconnection-vpcid

Back to top Generated by DocFX