CfnVpcAttachmentProps

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

Bases: object

Properties for defining a CfnVpcAttachment.

Parameters
  • core_network_id (Optional[str]) – The core network ID.

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

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

  • tags (Optional[Sequence[CfnTag]]) – The tags associated with the VPC attachment.

  • vpc_arn (Optional[str]) – The ARN of 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",
    options=networkmanager.CfnVpcAttachment.VpcOptionsProperty(
        ipv6_support=False
    ),
    subnet_arns=["subnetArns"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_arn="vpcArn"
)

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

Return type

Optional[str]

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

Return type

Union[IResolvable, VpcOptionsProperty, None]

subnet_arns

The subnet ARNs.

Link

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

Return type

Optional[List[str]]

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

Return type

Optional[List[CfnTag]]

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

Return type

Optional[str]