CfnVpcAttachmentProps
- class aws_cdk.aws_networkmanager.CfnVpcAttachmentProps(*, core_network_id, subnet_arns, vpc_arn, options=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.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags associated with the VPC attachment.
- Link
- 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 ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- core_network_id
The core network ID.
- options
Options for creating the VPC attachment.
- subnet_arns
The subnet ARNs.
- tags
The tags associated with the VPC attachment.
- vpc_arn
The ARN of the VPC attachment.