CfnVpcAttachmentPropsMixin

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

Bases: Mixin

Creates a VPC attachment on an edge location of a core network.

See:

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

CloudformationResource:

AWS::NetworkManager::VpcAttachment

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_vpc_attachment_props_mixin = networkmanager_mixins.CfnVpcAttachmentPropsMixin(networkmanager_mixins.CfnVpcAttachmentMixinProps(
    core_network_id="coreNetworkId",
    options=networkmanager_mixins.CfnVpcAttachmentPropsMixin.VpcOptionsProperty(
        appliance_mode_support=False,
        dns_support=False,
        ipv6_support=False,
        security_group_referencing_support=False
    ),
    proposed_network_function_group_change=networkmanager_mixins.CfnVpcAttachmentPropsMixin.ProposedNetworkFunctionGroupChangeProperty(
        attachment_policy_rule_number=123,
        network_function_group_name="networkFunctionGroupName",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    proposed_segment_change=networkmanager_mixins.CfnVpcAttachmentPropsMixin.ProposedSegmentChangeProperty(
        attachment_policy_rule_number=123,
        segment_name="segmentName",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    subnet_arns=["subnetArns"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_arn="vpcArn"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

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', 'options', 'proposedNetworkFunctionGroupChange', 'proposedSegmentChange', 'subnetArns', 'tags', 'vpcArn']

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

ProposedNetworkFunctionGroupChangeProperty

class CfnVpcAttachmentPropsMixin.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-vpcattachment-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.CfnVpcAttachmentPropsMixin.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-vpcattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-vpcattachment-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-vpcattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-vpcattachment-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-vpcattachment-proposednetworkfunctiongroupchange.html#cfn-networkmanager-vpcattachment-proposednetworkfunctiongroupchange-tags

ProposedSegmentChangeProperty

class CfnVpcAttachmentPropsMixin.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-vpcattachment-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.CfnVpcAttachmentPropsMixin.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-vpcattachment-proposedsegmentchange.html#cfn-networkmanager-vpcattachment-proposedsegmentchange-attachmentpolicyrulenumber

segment_name

The name of the segment to change.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-proposedsegmentchange.html#cfn-networkmanager-vpcattachment-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-vpcattachment-proposedsegmentchange.html#cfn-networkmanager-vpcattachment-proposedsegmentchange-tags

VpcOptionsProperty

class CfnVpcAttachmentPropsMixin.VpcOptionsProperty(*, appliance_mode_support=None, dns_support=None, ipv6_support=None, security_group_referencing_support=None)

Bases: object

Describes the VPC options.

Parameters:
  • appliance_mode_support (Union[bool, IResolvable, None]) – Indicates whether appliance mode is supported. If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false . Default: - false

  • dns_support (Union[bool, IResolvable, None]) – Indicates whether DNS is supported. Default: - true

  • ipv6_support (Union[bool, IResolvable, None]) – Indicates whether IPv6 is supported. Default: - false

  • security_group_referencing_support (Union[bool, IResolvable, None]) – Indicates whether security group referencing is enabled for this VPC attachment. The default is true . However, at the core network policy-level the default is set to false . Default: - true

See:

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

vpc_options_property = networkmanager_mixins.CfnVpcAttachmentPropsMixin.VpcOptionsProperty(
    appliance_mode_support=False,
    dns_support=False,
    ipv6_support=False,
    security_group_referencing_support=False
)

Attributes

appliance_mode_support

Indicates whether appliance mode is supported.

If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false .

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-appliancemodesupport

dns_support

Indicates whether DNS is supported.

Default:
  • true

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-dnssupport

ipv6_support

Indicates whether IPv6 is supported.

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-ipv6support

security_group_referencing_support

Indicates whether security group referencing is enabled for this VPC attachment.

The default is true . However, at the core network policy-level the default is set to false .

Default:
  • true

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-vpcattachment-vpcoptions.html#cfn-networkmanager-vpcattachment-vpcoptions-securitygroupreferencingsupport