CfnTransitGatewayConnectPeerProps
- class aws_cdk.aws_ec2.CfnTransitGatewayConnectPeerProps(*, connect_peer_configuration, transit_gateway_attachment_id, tags=None)
Bases:
object
Properties for defining a
CfnTransitGatewayConnectPeer
.- Parameters:
connect_peer_configuration (
Union
[IResolvable
,TransitGatewayConnectPeerConfigurationProperty
,Dict
[str
,Any
]]) – The Connect peer details.transit_gateway_attachment_id (
str
) – The ID of the Connect attachment.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags for the Connect peer.
- See:
- 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.
- tags
The tags for the Connect peer.
- transit_gateway_attachment_id
The ID of the Connect attachment.