CfnVPCPeeringConnectionProps

class aws_cdk.aws_ec2.CfnVPCPeeringConnectionProps(*, peer_vpc_id, vpc_id, peer_owner_id=None, peer_region=None, peer_role_arn=None, tags=None)

Bases: object

__init__(*, peer_vpc_id, vpc_id, peer_owner_id=None, peer_region=None, peer_role_arn=None, tags=None)

Properties for defining a AWS::EC2::VPCPeeringConnection.

Parameters
  • peer_vpc_id (str) – AWS::EC2::VPCPeeringConnection.PeerVpcId.

  • vpc_id (str) – AWS::EC2::VPCPeeringConnection.VpcId.

  • peer_owner_id (Optional[str]) – AWS::EC2::VPCPeeringConnection.PeerOwnerId.

  • peer_region (Optional[str]) – AWS::EC2::VPCPeeringConnection.PeerRegion.

  • peer_role_arn (Optional[str]) – AWS::EC2::VPCPeeringConnection.PeerRoleArn.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::VPCPeeringConnection.Tags.

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

Attributes

peer_owner_id

AWS::EC2::VPCPeeringConnection.PeerOwnerId.

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

Return type

Optional[str]

peer_region

AWS::EC2::VPCPeeringConnection.PeerRegion.

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

Return type

Optional[str]

peer_role_arn

AWS::EC2::VPCPeeringConnection.PeerRoleArn.

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

Return type

Optional[str]

peer_vpc_id

AWS::EC2::VPCPeeringConnection.PeerVpcId.

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

Return type

str

tags

AWS::EC2::VPCPeeringConnection.Tags.

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

Return type

Optional[List[CfnTag]]

vpc_id

AWS::EC2::VPCPeeringConnection.VpcId.

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

Return type

str