CfnCoreNetworkPropsMixin

class aws_cdk.mixins_preview.aws_networkmanager.mixins.CfnCoreNetworkPropsMixin(props, *, strategy=None)

Bases: Mixin

Describes a core network.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-corenetwork.html

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:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

CoreNetworkEdgeProperty

class CfnCoreNetworkPropsMixin.CoreNetworkEdgeProperty(*, asn=None, edge_location=None, inside_cidr_blocks=None)

Bases: object

Describes 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworkedge.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworkedge.html#cfn-networkmanager-corenetwork-corenetworkedge-asn

edge_location

The Region where a core network edge is located.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworkedge.html#cfn-networkmanager-corenetwork-corenetworkedge-edgelocation

inside_cidr_blocks

The inside IP addresses used for core network edges.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworkedge.html#cfn-networkmanager-corenetwork-corenetworkedge-insidecidrblocks

CoreNetworkNetworkFunctionGroupProperty

class CfnCoreNetworkPropsMixin.CoreNetworkNetworkFunctionGroupProperty(*, edge_locations=None, name=None, segments=None)

Bases: object

Describes 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworknetworkfunctiongroup.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworknetworkfunctiongroup.html#cfn-networkmanager-corenetwork-corenetworknetworkfunctiongroup-edgelocations

name

The name of the network function group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworknetworkfunctiongroup.html#cfn-networkmanager-corenetwork-corenetworknetworkfunctiongroup-name

segments

The segments associated with the network function group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworknetworkfunctiongroup.html#cfn-networkmanager-corenetwork-corenetworknetworkfunctiongroup-segments

CoreNetworkSegmentProperty

class CfnCoreNetworkPropsMixin.CoreNetworkSegmentProperty(*, edge_locations=None, name=None, shared_segments=None)

Bases: object

Describes 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworksegment.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworksegment.html#cfn-networkmanager-corenetwork-corenetworksegment-edgelocations

name

The name of a core network segment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworksegment.html#cfn-networkmanager-corenetwork-corenetworksegment-name

shared_segments

The shared segments of a core network.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-corenetworksegment.html#cfn-networkmanager-corenetwork-corenetworksegment-sharedsegments

SegmentsProperty

class CfnCoreNetworkPropsMixin.SegmentsProperty(*, send_to=None, send_via=None)

Bases: object

Parameters:
  • send_to (Optional[Sequence[str]])

  • send_via (Optional[Sequence[str]])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-segments.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_networkmanager import mixins as networkmanager_mixins

segments_property = networkmanager_mixins.CfnCoreNetworkPropsMixin.SegmentsProperty(
    send_to=["sendTo"],
    send_via=["sendVia"]
)

Attributes

send_to

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-segments.html#cfn-networkmanager-corenetwork-segments-sendto

Type:

see

send_via

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-corenetwork-segments.html#cfn-networkmanager-corenetwork-segments-sendvia

Type:

see