CfnCoreNetworkPropsMixin
- class aws_cdk.mixins_preview.aws_networkmanager.mixins.CfnCoreNetworkPropsMixin(props, *, strategy=None)
Bases:
MixinDescribes a core network.
- See:
- CloudformationResource:
AWS::NetworkManager::CoreNetwork
- 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 # policy_document: Any cfn_core_network_props_mixin = networkmanager_mixins.CfnCoreNetworkPropsMixin(networkmanager_mixins.CfnCoreNetworkMixinProps( description="description", global_network_id="globalNetworkId", policy_document=policy_document, tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::NetworkManager::CoreNetwork.- Parameters:
props (
Union[CfnCoreNetworkMixinProps,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 = ['description', 'globalNetworkId', 'policyDocument', '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
CoreNetworkEdgeProperty
- class CfnCoreNetworkPropsMixin.CoreNetworkEdgeProperty(*, asn=None, edge_location=None, inside_cidr_blocks=None)
Bases:
objectDescribes a core network edge.
- Parameters:
asn (
Union[int,float,None]) – The ASN of a core network edge.edge_location (
Optional[str]) – The Region where a core network edge is located.inside_cidr_blocks (
Optional[Sequence[str]]) – The inside IP addresses used for core network edges.
- 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 core_network_edge_property = networkmanager_mixins.CfnCoreNetworkPropsMixin.CoreNetworkEdgeProperty( asn=123, edge_location="edgeLocation", inside_cidr_blocks=["insideCidrBlocks"] )
Attributes
- asn
The ASN of a core network edge.
- edge_location
The Region where a core network edge is located.
- inside_cidr_blocks
The inside IP addresses used for core network edges.
CoreNetworkNetworkFunctionGroupProperty
- class CfnCoreNetworkPropsMixin.CoreNetworkNetworkFunctionGroupProperty(*, edge_locations=None, name=None, segments=None)
Bases:
objectDescribes a network function group.
- Parameters:
edge_locations (
Optional[Sequence[str]]) – The core network edge locations.name (
Optional[str]) – The name of the network function group.segments (
Union[IResolvable,SegmentsProperty,Dict[str,Any],None]) – The segments associated with the network function group.
- 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 core_network_network_function_group_property = networkmanager_mixins.CfnCoreNetworkPropsMixin.CoreNetworkNetworkFunctionGroupProperty( edge_locations=["edgeLocations"], name="name", segments=networkmanager_mixins.CfnCoreNetworkPropsMixin.SegmentsProperty( send_to=["sendTo"], send_via=["sendVia"] ) )
Attributes
- edge_locations
The core network edge locations.
- name
The name of the network function group.
- segments
The segments associated with the network function group.
CoreNetworkSegmentProperty
- class CfnCoreNetworkPropsMixin.CoreNetworkSegmentProperty(*, edge_locations=None, name=None, shared_segments=None)
Bases:
objectDescribes a core network segment, which are dedicated routes.
Only attachments within this segment can communicate with each other.
- Parameters:
edge_locations (
Optional[Sequence[str]]) – The Regions where the edges are located.name (
Optional[str]) – The name of a core network segment.shared_segments (
Optional[Sequence[str]]) – The shared segments of a core network.
- 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 core_network_segment_property = networkmanager_mixins.CfnCoreNetworkPropsMixin.CoreNetworkSegmentProperty( edge_locations=["edgeLocations"], name="name", shared_segments=["sharedSegments"] )
Attributes
- edge_locations
The Regions where the edges are located.
- name
The name of a core network segment.
SegmentsProperty
- class CfnCoreNetworkPropsMixin.SegmentsProperty(*, send_to=None, send_via=None)
Bases:
object- Parameters:
send_to (
Optional[Sequence[str]])send_via (
Optional[Sequence[str]])
- 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 segments_property = networkmanager_mixins.CfnCoreNetworkPropsMixin.SegmentsProperty( send_to=["sendTo"], send_via=["sendVia"] )
Attributes
- send_to
-
- Type:
see