CfnTransitGatewayConnectPeerPropsMixin

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayConnectPeerPropsMixin(props, *, strategy=None)

Bases: Mixin

Describes a transit gateway Connect peer.

See:

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

CloudformationResource:

AWS::EC2::TransitGatewayConnectPeer

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_transit_gateway_connect_peer_props_mixin = ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin(ec2_mixins.CfnTransitGatewayConnectPeerMixinProps(
    connect_peer_configuration=ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty(
        bgp_configurations=[ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty(
            bgp_status="bgpStatus",
            peer_address="peerAddress",
            peer_asn=123,
            transit_gateway_address="transitGatewayAddress",
            transit_gateway_asn=123
        )],
        inside_cidr_blocks=["insideCidrBlocks"],
        peer_address="peerAddress",
        protocol="protocol",
        transit_gateway_address="transitGatewayAddress"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_gateway_attachment_id="transitGatewayAttachmentId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::EC2::TransitGatewayConnectPeer.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['connectPeerConfiguration', 'tags', 'transitGatewayAttachmentId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

TransitGatewayAttachmentBgpConfigurationProperty

class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty(*, bgp_status=None, peer_address=None, peer_asn=None, transit_gateway_address=None, transit_gateway_asn=None)

Bases: object

The BGP configuration information.

Parameters:
  • bgp_status (Optional[str]) – The BGP status.

  • peer_address (Optional[str]) – The interior BGP peer IP address for the appliance.

  • peer_asn (Union[int, float, None]) – The peer Autonomous System Number (ASN).

  • transit_gateway_address (Optional[str]) – The interior BGP peer IP address for the transit gateway.

  • transit_gateway_asn (Union[int, float, None]) – The transit gateway Autonomous System Number (ASN).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.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.mixins_preview.aws_ec2 import mixins as ec2_mixins

transit_gateway_attachment_bgp_configuration_property = ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty(
    bgp_status="bgpStatus",
    peer_address="peerAddress",
    peer_asn=123,
    transit_gateway_address="transitGatewayAddress",
    transit_gateway_asn=123
)

Attributes

bgp_status

The BGP status.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-bgpstatus

peer_address

The interior BGP peer IP address for the appliance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-peeraddress

peer_asn

The peer Autonomous System Number (ASN).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-peerasn

transit_gateway_address

The interior BGP peer IP address for the transit gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-transitgatewayaddress

transit_gateway_asn

The transit gateway Autonomous System Number (ASN).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayattachmentbgpconfiguration-transitgatewayasn

TransitGatewayConnectPeerConfigurationProperty

class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty(*, bgp_configurations=None, inside_cidr_blocks=None, peer_address=None, protocol=None, transit_gateway_address=None)

Bases: object

Describes the Connect peer details.

Parameters:
  • bgp_configurations (Union[IResolvable, Sequence[Union[IResolvable, TransitGatewayAttachmentBgpConfigurationProperty, Dict[str, Any]]], None]) – The BGP configuration details.

  • inside_cidr_blocks (Optional[Sequence[str]]) – The range of interior BGP peer IP addresses.

  • peer_address (Optional[str]) – The Connect peer IP address on the appliance side of the tunnel.

  • protocol (Optional[str]) – The tunnel protocol.

  • transit_gateway_address (Optional[str]) – The Connect peer IP address on the transit gateway side of the tunnel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.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.mixins_preview.aws_ec2 import mixins as ec2_mixins

transit_gateway_connect_peer_configuration_property = ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty(
    bgp_configurations=[ec2_mixins.CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty(
        bgp_status="bgpStatus",
        peer_address="peerAddress",
        peer_asn=123,
        transit_gateway_address="transitGatewayAddress",
        transit_gateway_asn=123
    )],
    inside_cidr_blocks=["insideCidrBlocks"],
    peer_address="peerAddress",
    protocol="protocol",
    transit_gateway_address="transitGatewayAddress"
)

Attributes

bgp_configurations

The BGP configuration details.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration-bgpconfigurations

inside_cidr_blocks

The range of interior BGP peer IP addresses.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration-insidecidrblocks

peer_address

The Connect peer IP address on the appliance side of the tunnel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration-peeraddress

protocol

The tunnel protocol.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration-protocol

transit_gateway_address

The Connect peer IP address on the transit gateway side of the tunnel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration.html#cfn-ec2-transitgatewayconnectpeer-transitgatewayconnectpeerconfiguration-transitgatewayaddress