Skip to content

CenRouteServiceProps

Properties for defining a CenRouteService.

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

Initializer

import ros_cdk_cen
ros_cdk_cen.CenRouteServiceProps(
  access_region_id: typing.Union[str, IResolvable],
  cen_id: typing.Union[str, IResolvable],
  host: typing.Union[str, IResolvable],
  host_region_id: typing.Union[str, IResolvable],
  host_vpc_id: typing.Union[str, IResolvable],
  conflict_ignore: typing.Union[bool, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
access_region_id typing.Union[str, ros_cdk_core.IResolvable] Property accessRegionId: The region where the cloud service is deployed.
cen_id typing.Union[str, ros_cdk_core.IResolvable] Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
host typing.Union[str, ros_cdk_core.IResolvable] Property host: The IP addresses or CIDR blocks of the cloud service.
host_region_id typing.Union[str, ros_cdk_core.IResolvable] Property hostRegionId: The region where the cloud service is deployed.
host_vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property hostVpcId: The virtual private cloud (VPC) that is associated with the cloud service.
conflict_ignore typing.Union[bool, ros_cdk_core.IResolvable] Property conflictIgnore: Whether to ignore conflict when creating.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the cloud service.

access_region_idRequired

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

Property accessRegionId: The region where the cloud service is deployed.


cen_idRequired

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.


hostRequired

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

Property host: The IP addresses or CIDR blocks of the cloud service.

In most cases, multiple IP addresses or CIDR blocks are assigned to a cloud service. We recommend that you call this operation multiple times to add all IP addresses and CIDR blocks of the cloud service.


host_region_idRequired

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

Property hostRegionId: The region where the cloud service is deployed.

You can call the DescribeRegions operation to query region IDs. Note The HostRegionId and AccessRegionIds.N must be set to the same value.


host_vpc_idRequired

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

Property hostVpcId: The virtual private cloud (VPC) that is associated with the cloud service.


conflict_ignoreOptional

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

Property conflictIgnore: Whether to ignore conflict when creating.

If true, when the CloudRoute.Conflict error code is encountered during creation, it will be ignored as the creation is successful, and the deletion phase will be skipped. Default false.


descriptionOptional

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

Property description: The description of the cloud service.

This parameter is optional. If you enter a description, it must be 1 to 256 characters in length and cannot start with http:// or https://.