CfnTransitGatewayConnectPeerMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayConnectPeerMixinProps(*, connect_peer_configuration=None, tags=None, transit_gateway_attachment_id=None)

Bases: object

Properties for CfnTransitGatewayConnectPeerPropsMixin.

Parameters:
  • connect_peer_configuration (Union[IResolvable, TransitGatewayConnectPeerConfigurationProperty, Dict[str, Any], None]) – The Connect peer details.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the Connect peer.

  • transit_gateway_attachment_id (Optional[str]) – The ID of the Connect attachment.

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

cfn_transit_gateway_connect_peer_mixin_props = 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"
)

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