Skip to content

TransitRoutersProps

Properties for defining a TransitRouters.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cen-transitrouters

Initializer

import com.aliyun.ros.cdk.cen.datasource.TransitRoutersProps;
TransitRoutersProps.builder()
    .cenId(java.lang.String)
    .cenId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .regionId(java.lang.String)
//  .regionId(IResolvable)
//  .transitRouterId(java.lang.String)
//  .transitRouterId(IResolvable)
    .build();

Properties

Name Type Description
cenId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cenId: The ID of the CEN instance.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
regionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property regionId: The ID of the region where the transit router is deployed.
transitRouterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property transitRouterId: The ID of the transit router.

cenIdRequired

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

Property cenId: The ID of the CEN instance.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

regionIdOptional

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

Property regionId: The ID of the region where the transit router is deployed.

You can call the DescribeRegions operation to query region IDs.


transitRouterIdOptional

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

Property transitRouterId: The ID of the transit router.