Skip to content

CenRouteServiceProps

Properties for defining a CenRouteService.

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

Initializer

import com.aliyun.ros.cdk.cen.CenRouteServiceProps;
CenRouteServiceProps.builder()
    .accessRegionId(java.lang.String)
    .accessRegionId(IResolvable)
    .cenId(java.lang.String)
    .cenId(IResolvable)
    .host(java.lang.String)
    .host(IResolvable)
    .hostRegionId(java.lang.String)
    .hostRegionId(IResolvable)
    .hostVpcId(java.lang.String)
    .hostVpcId(IResolvable)
//  .conflictIgnore(java.lang.Boolean)
//  .conflictIgnore(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
    .build();

Properties

Name Type Description
accessRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessRegionId: The region where the cloud service is deployed.
cenId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cenId: The ID of the Cloud Enterprise Network (CEN) instance.
host java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property host: The domain or IP address of the cloud service.
hostRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostRegionId: The region where the cloud service is deployed.
hostVpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostVpcId: The virtual private cloud (VPC) that is associated with the cloud service.
conflictIgnore java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property conflictIgnore: Whether to ignore conflict when creating.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the cloud service.

accessRegionIdRequired

public java.lang.Object getAccessRegionId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


cenIdRequired

public java.lang.Object getCenId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


hostRequired

public java.lang.Object getHost();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property host: The domain or IP address of the cloud service.


hostRegionIdRequired

public java.lang.Object getHostRegionId();
  • Type: java.lang.String OR com.aliyun.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.


hostVpcIdRequired

public java.lang.Object getHostVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


conflictIgnoreOptional

public java.lang.Object getConflictIgnore();
  • Type: java.lang.Boolean OR com.aliyun.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

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the cloud service.