Skip to content

RouteProps

Properties for defining a Route.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-route

Initializer

import com.aliyun.ros.cdk.apig.RouteProps;
RouteProps.builder()
    .backend(IResolvable)
    .backend(BackendProperty)
    .environmentInfo(IResolvable)
    .environmentInfo(EnvironmentInfoProperty)
    .httpApiId(java.lang.String)
    .httpApiId(IResolvable)
    .match(IResolvable)
    .match(MatchProperty)
    .routeName(java.lang.String)
    .routeName(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .domainIds(IResolvable)
//  .domainIds(java.util.List<java.lang.String)
//  .domainIds(IResolvable>)
//  .domainInfos(IResolvable)
//  .domainInfos(java.util.List<IResolvable)
//  .domainInfos(DomainInfosProperty>)
    .build();

Properties

Name Type Description
backend com.aliyun.ros.cdk.core.IResolvable OR BackendProperty Property backend: Backend service configuration for routing.
environmentInfo com.aliyun.ros.cdk.core.IResolvable OR EnvironmentInfoProperty Property environmentInfo: The information if the environment.
httpApiId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property httpApiId: The ID of the API.
match com.aliyun.ros.cdk.core.IResolvable OR MatchProperty Property match: The match rule of route resource.
routeName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property routeName: The name of the route.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of route.
domainIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property domainIds: The list of domain name IDs.
domainInfos com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDomainInfosProperty> Property domainInfos: Domain items.

backendRequired

public java.lang.Object getBackend();

Property backend: Backend service configuration for routing.


environmentInfoRequired

public java.lang.Object getEnvironmentInfo();

Property environmentInfo: The information if the environment.


httpApiIdRequired

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

Property httpApiId: The ID of the API.


matchRequired

public java.lang.Object getMatch();

Property match: The match rule of route resource.


routeNameRequired

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

Property routeName: The name of the route.


descriptionOptional

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

Property description: The description of route.


domainIdsOptional

public java.lang.Object getDomainIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property domainIds: The list of domain name IDs.


domainInfosOptional

public java.lang.Object getDomainInfos();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDomainInfosProperty>

Property domainInfos: Domain items.