CfnTransitGatewayConnectPeerProps

class aws_cdk.aws_ec2.CfnTransitGatewayConnectPeerProps(*, connect_peer_configuration, transit_gateway_attachment_id, tags=None)

Bases: object

Properties for defining a CfnTransitGatewayConnectPeer.

Parameters:
See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_transit_gateway_connect_peer_props = ec2.CfnTransitGatewayConnectPeerProps(
    connect_peer_configuration=ec2.CfnTransitGatewayConnectPeer.TransitGatewayConnectPeerConfigurationProperty(
        inside_cidr_blocks=["insideCidrBlocks"],
        peer_address="peerAddress",

        # the properties below are optional
        bgp_configurations=[ec2.CfnTransitGatewayConnectPeer.TransitGatewayAttachmentBgpConfigurationProperty(
            bgp_status="bgpStatus",
            peer_address="peerAddress",
            peer_asn=123,
            transit_gateway_address="transitGatewayAddress",
            transit_gateway_asn=123
        )],
        protocol="protocol",
        transit_gateway_address="transitGatewayAddress"
    ),
    transit_gateway_attachment_id="transitGatewayAttachmentId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

connect_peer_configuration

The Connect peer details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnectpeer.html#cfn-ec2-transitgatewayconnectpeer-connectpeerconfiguration

tags

The tags for the Connect peer.

See:

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

transit_gateway_attachment_id

The ID of the Connect attachment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnectpeer.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentid