CfnConnectAttachmentPropsMixin

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

Bases: Mixin

Creates a core network Connect attachment from a specified core network attachment.

A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.

See:

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

CloudformationResource:

AWS::NetworkManager::ConnectAttachment

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_attachment_props_mixin = networkmanager_mixins.CfnConnectAttachmentPropsMixin(networkmanager_mixins.CfnConnectAttachmentMixinProps(
    core_network_id="coreNetworkId",
    edge_location="edgeLocation",
    network_function_group_name="networkFunctionGroupName",
    options=networkmanager_mixins.CfnConnectAttachmentPropsMixin.ConnectAttachmentOptionsProperty(
        protocol="protocol"
    ),
    proposed_network_function_group_change=networkmanager_mixins.CfnConnectAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty(
        attachment_policy_rule_number=123,
        network_function_group_name="networkFunctionGroupName",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    proposed_segment_change=networkmanager_mixins.CfnConnectAttachmentPropsMixin.ProposedSegmentChangeProperty(
        attachment_policy_rule_number=123,
        segment_name="segmentName",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transport_attachment_id="transportAttachmentId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::NetworkManager::ConnectAttachment.

Parameters:

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 = ['coreNetworkId', 'edgeLocation', 'networkFunctionGroupName', 'options', 'proposedNetworkFunctionGroupChange', 'proposedSegmentChange', 'tags', 'transportAttachmentId']

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

ConnectAttachmentOptionsProperty

class CfnConnectAttachmentPropsMixin.ConnectAttachmentOptionsProperty(*, protocol=None)

Bases: object

Describes a core network Connect attachment options.

Parameters:

protocol (Optional[str]) – The protocol used for the attachment connection.

See:

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

connect_attachment_options_property = networkmanager_mixins.CfnConnectAttachmentPropsMixin.ConnectAttachmentOptionsProperty(
    protocol="protocol"
)

Attributes

protocol

The protocol used for the attachment connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-connectattachmentoptions.html#cfn-networkmanager-connectattachment-connectattachmentoptions-protocol

ProposedNetworkFunctionGroupChangeProperty

class CfnConnectAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty(*, attachment_policy_rule_number=None, network_function_group_name=None, tags=None)

Bases: object

Describes proposed changes to a network function group.

Parameters:
  • attachment_policy_rule_number (Union[int, float, None]) – The proposed new attachment policy rule number for the network function group.

  • network_function_group_name (Optional[str]) – The proposed name change for the network function group name.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The list of proposed changes to the key-value tags associated with the network function group.

See:

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

proposed_network_function_group_change_property = networkmanager_mixins.CfnConnectAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty(
    attachment_policy_rule_number=123,
    network_function_group_name="networkFunctionGroupName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

attachment_policy_rule_number

The proposed new attachment policy rule number for the network function group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-connectattachment-proposednetworkfunctiongroupchange-attachmentpolicyrulenumber

network_function_group_name

The proposed name change for the network function group name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-connectattachment-proposednetworkfunctiongroupchange-networkfunctiongroupname

tags

The list of proposed changes to the key-value tags associated with the network function group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-connectattachment-proposednetworkfunctiongroupchange-tags

ProposedSegmentChangeProperty

class CfnConnectAttachmentPropsMixin.ProposedSegmentChangeProperty(*, attachment_policy_rule_number=None, segment_name=None, tags=None)

Bases: object

Describes a proposed segment change.

In some cases, the segment change must first be evaluated and accepted.

Parameters:
  • attachment_policy_rule_number (Union[int, float, None]) – The rule number in the policy document that applies to this change.

  • segment_name (Optional[str]) – The name of the segment to change.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The list of key-value tags that changed for the segment.

See:

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

proposed_segment_change_property = networkmanager_mixins.CfnConnectAttachmentPropsMixin.ProposedSegmentChangeProperty(
    attachment_policy_rule_number=123,
    segment_name="segmentName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

attachment_policy_rule_number

The rule number in the policy document that applies to this change.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposedsegmentchange.html#cfn-networkmanager-connectattachment-proposedsegmentchange-attachmentpolicyrulenumber

segment_name

The name of the segment to change.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposedsegmentchange.html#cfn-networkmanager-connectattachment-proposedsegmentchange-segmentname

tags

The list of key-value tags that changed for the segment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-connectattachment-proposedsegmentchange.html#cfn-networkmanager-connectattachment-proposedsegmentchange-tags