CfnVpcAttachmentProps

class aws_cdk.aws_networkmanager.CfnVpcAttachmentProps(*, core_network_id, subnet_arns, vpc_arn, options=None, proposed_segment_change=None, tags=None)

Bases: object

Properties for defining a CfnVpcAttachment.

Parameters:
  • core_network_id (str) – The core network ID.

  • subnet_arns (Sequence[str]) – The subnet ARNs.

  • vpc_arn (str) – The ARN of the VPC attachment.

  • options (Union[IResolvable, VpcOptionsProperty, Dict[str, Any], None]) – Options for creating the VPC attachment.

  • proposed_segment_change (Union[IResolvable, ProposedSegmentChangeProperty, Dict[str, Any], None]) – AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags associated with the VPC attachment.

Link:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_networkmanager as networkmanager

cfn_vpc_attachment_props = networkmanager.CfnVpcAttachmentProps(
    core_network_id="coreNetworkId",
    subnet_arns=["subnetArns"],
    vpc_arn="vpcArn",

    # the properties below are optional
    options=networkmanager.CfnVpcAttachment.VpcOptionsProperty(
        appliance_mode_support=False,
        ipv6_support=False
    ),
    proposed_segment_change=networkmanager.CfnVpcAttachment.ProposedSegmentChangeProperty(
        attachment_policy_rule_number=123,
        segment_name="segmentName",
        tags=[CfnTag(
            key="key",
            value="value"
        )]
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

core_network_id

The core network ID.

Link:

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

options

Options for creating the VPC attachment.

Link:

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

proposed_segment_change

AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.

Link:

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

subnet_arns

The subnet ARNs.

Link:

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

tags

The tags associated with the VPC attachment.

Link:

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

vpc_arn

The ARN of the VPC attachment.

Link:

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