CfnConnectPeerPropsMixin
- class aws_cdk.mixins_preview.aws_networkmanager.mixins.CfnConnectPeerPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
- See:
- CloudformationResource:
AWS::NetworkManager::ConnectPeer
- 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_networkmanager import mixins as networkmanager_mixins cfn_connect_peer_props_mixin = networkmanager_mixins.CfnConnectPeerPropsMixin(networkmanager_mixins.CfnConnectPeerMixinProps( bgp_options=networkmanager_mixins.CfnConnectPeerPropsMixin.BgpOptionsProperty( peer_asn=123 ), connect_attachment_id="connectAttachmentId", core_network_address="coreNetworkAddress", inside_cidr_blocks=["insideCidrBlocks"], peer_address="peerAddress", subnet_arn="subnetArn", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::NetworkManager::ConnectPeer.- Parameters:
props (
Union[CfnConnectPeerMixinProps,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 = ['bgpOptions', 'connectAttachmentId', 'coreNetworkAddress', 'insideCidrBlocks', 'peerAddress', 'subnetArn', 'tags']
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
BgpOptionsProperty
- class CfnConnectPeerPropsMixin.BgpOptionsProperty(*, peer_asn=None)
Bases:
objectDescribes the BGP options.
- Parameters:
peer_asn (
Union[int,float,None]) – The Peer ASN of the BGP.- 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_networkmanager import mixins as networkmanager_mixins bgp_options_property = networkmanager_mixins.CfnConnectPeerPropsMixin.BgpOptionsProperty( peer_asn=123 )
Attributes
ConnectPeerBgpConfigurationProperty
- class CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty(*, core_network_address=None, core_network_asn=None, peer_address=None, peer_asn=None)
Bases:
objectDescribes a core network BGP configuration.
- Parameters:
core_network_address (
Optional[str]) – The address of a core network.core_network_asn (
Union[int,float,None]) – The ASN of the Coret Network.peer_address (
Optional[str]) – The address of a core network Connect peer.peer_asn (
Union[int,float,None]) – The ASN of 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.mixins_preview.aws_networkmanager import mixins as networkmanager_mixins connect_peer_bgp_configuration_property = networkmanager_mixins.CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty( core_network_address="coreNetworkAddress", core_network_asn=123, peer_address="peerAddress", peer_asn=123 )
Attributes
- core_network_address
The address of a core network.
- core_network_asn
The ASN of the Coret Network.
- peer_address
The address of a core network Connect peer.
ConnectPeerConfigurationProperty
- class CfnConnectPeerPropsMixin.ConnectPeerConfigurationProperty(*, bgp_configurations=None, core_network_address=None, inside_cidr_blocks=None, peer_address=None, protocol=None)
Bases:
objectDescribes a core network Connect peer configuration.
- Parameters:
bgp_configurations (
Union[IResolvable,Sequence[Union[IResolvable,ConnectPeerBgpConfigurationProperty,Dict[str,Any]]],None]) – The Connect peer BGP configurations.core_network_address (
Optional[str]) – The IP address of a core network.inside_cidr_blocks (
Optional[Sequence[str]]) – The inside IP addresses used for a Connect peer configuration.peer_address (
Optional[str]) – The IP address of the Connect peer.protocol (
Optional[str]) – The protocol used for a Connect peer configuration.
- 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_networkmanager import mixins as networkmanager_mixins connect_peer_configuration_property = networkmanager_mixins.CfnConnectPeerPropsMixin.ConnectPeerConfigurationProperty( bgp_configurations=[networkmanager_mixins.CfnConnectPeerPropsMixin.ConnectPeerBgpConfigurationProperty( core_network_address="coreNetworkAddress", core_network_asn=123, peer_address="peerAddress", peer_asn=123 )], core_network_address="coreNetworkAddress", inside_cidr_blocks=["insideCidrBlocks"], peer_address="peerAddress", protocol="protocol" )
Attributes
- bgp_configurations
The Connect peer BGP configurations.
- core_network_address
The IP address of a core network.
- inside_cidr_blocks
The inside IP addresses used for a Connect peer configuration.
- peer_address
The IP address of the Connect peer.
- protocol
The protocol used for a Connect peer configuration.