CfnTransitGatewayConnectPeerPropsMixin
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayConnectPeerPropsMixin(props, *, strategy=None)
Bases:
MixinDescribes a transit gateway Connect peer.
- See:
- 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:
props (
Union[CfnTransitGatewayConnectPeerMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
TransitGatewayAttachmentBgpConfigurationProperty
- class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayAttachmentBgpConfigurationProperty(*, bgp_status=None, peer_address=None, peer_asn=None, transit_gateway_address=None, transit_gateway_asn=None)
Bases:
objectThe 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:
- 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.
- peer_address
The interior BGP peer IP address for the appliance.
- peer_asn
The peer Autonomous System Number (ASN).
- transit_gateway_address
The interior BGP peer IP address for the transit gateway.
- transit_gateway_asn
The transit gateway Autonomous System Number (ASN).
TransitGatewayConnectPeerConfigurationProperty
- class CfnTransitGatewayConnectPeerPropsMixin.TransitGatewayConnectPeerConfigurationProperty(*, bgp_configurations=None, inside_cidr_blocks=None, peer_address=None, protocol=None, transit_gateway_address=None)
Bases:
objectDescribes 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:
- 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.
- inside_cidr_blocks
The range of interior BGP peer IP addresses.
- peer_address
The Connect peer IP address on the appliance side of the tunnel.
- protocol
The tunnel protocol.
- transit_gateway_address
The Connect peer IP address on the transit gateway side of the tunnel.