Skip to content

TransitRouterVpcAttachmentProps

Properties for defining a TransitRouterVpcAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cen-transitroutervpcattachment

Initializer

import ros_cdk_cen
ros_cdk_cen.TransitRouterVpcAttachmentProps(
  vpc_id: typing.Union[str, IResolvable],
  zone_mappings: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ZoneMappingsProperty]]],
  auto_create_vpc_route: typing.Union[bool, IResolvable] = None,
  auto_publish_route_enabled: typing.Union[bool, IResolvable] = None,
  cen_id: typing.Union[str, IResolvable] = None,
  charge_type: typing.Union[str, IResolvable] = None,
  deletion_force: typing.Union[bool, IResolvable] = None,
  route_table_association_enabled: typing.Union[bool, IResolvable] = None,
  route_table_propagation_enabled: typing.Union[bool, IResolvable] = None,
  transit_router_attachment_description: typing.Union[str, IResolvable] = None,
  transit_router_attachment_name: typing.Union[str, IResolvable] = None,
  transit_router_id: typing.Union[str, IResolvable] = None,
  transit_router_vpc_attachment_options: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  vpc_owner_id: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the VPC.
zone_mappings typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ZoneMappingsProperty]]] Property zoneMappings: The zone mappings for the VPC.
auto_create_vpc_route typing.Union[bool, ros_cdk_core.IResolvable] Property autoCreateVpcRoute: undefined.
auto_publish_route_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.
cen_id typing.Union[str, ros_cdk_core.IResolvable] Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
charge_type typing.Union[str, ros_cdk_core.IResolvable] Property chargeType: The charge type of the transit router vpc attachment.
deletion_force typing.Union[bool, ros_cdk_core.IResolvable] Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.
route_table_association_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property routeTableAssociationEnabled: undefined.
route_table_propagation_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property routeTablePropagationEnabled: undefined.
transit_router_attachment_description typing.Union[str, ros_cdk_core.IResolvable] Property transitRouterAttachmentDescription: The description of the VPC connection.
transit_router_attachment_name typing.Union[str, ros_cdk_core.IResolvable] Property transitRouterAttachmentName: The name of the VPC connection.
transit_router_id typing.Union[str, ros_cdk_core.IResolvable] Property transitRouterId: The ID of the transit router.
transit_router_vpc_attachment_options typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.
vpc_owner_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

vpc_idRequired

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: The ID of the VPC.


zone_mappingsRequired

zone_mappings: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ZoneMappingsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ZoneMappingsProperty]]]

Property zoneMappings: The zone mappings for the VPC.


auto_create_vpc_routeOptional

auto_create_vpc_route: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoCreateVpcRoute: undefined.


auto_publish_route_enabledOptional

auto_publish_route_enabled: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoPublishRouteEnabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VPC instance.

  • false (default): Do not automatically advertise routes.
  • true: Automatically advertise routes.

cen_idOptional

cen_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.


charge_typeOptional

charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property chargeType: The charge type of the transit router vpc attachment.


deletion_forceOptional

deletion_force: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property deletionForce: Whether force delete related resources, like vpc route entry, route table association, route propagation.


route_table_association_enabledOptional

route_table_association_enabled: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property routeTableAssociationEnabled: undefined.


route_table_propagation_enabledOptional

route_table_propagation_enabled: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property routeTablePropagationEnabled: undefined.


transit_router_attachment_descriptionOptional

transit_router_attachment_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property transitRouterAttachmentDescription: The description of the VPC connection.

The description can be empty or 1 to 256 characters long, and cannot start with http:\/\/ or https:\/\/.


transit_router_attachment_nameOptional

transit_router_attachment_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property transitRouterAttachmentName: The name of the VPC connection.

The name can be empty or 1 to 128 characters long, and cannot start with http:\/\/ or https:\/\/.


transit_router_idOptional

transit_router_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property transitRouterId: The ID of the transit router.


transit_router_vpc_attachment_optionsOptional

transit_router_vpc_attachment_options: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property transitRouterVpcAttachmentOptions: The properties of the VPC connection.

This parameter is deprecated. We recommend that you use the Options parameter instead.


vpc_owner_idOptional

vpc_owner_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property vpcOwnerId: The ID of the account (root account) that owns the VPC instance.

By default, this is the ID of the current account.

This parameter is required if you want to attach a cross-account network instance.