Skip to content

RouteProps

Properties for defining a Route.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.RouteProps {
    Backend: interface{},
    EnvironmentInfo: interface{},
    HttpApiId: interface{},
    Match: interface{},
    RouteName: interface{},
    Description: interface{},
    DomainIds: interface{},
    DomainInfos: interface{},
}

Properties

Name Type Description
Backend interface{} Property backend: Backend service configuration for routing.
EnvironmentInfo interface{} Property environmentInfo: The information if the environment.
HttpApiId interface{} Property httpApiId: The ID of the API.
Match interface{} Property match: The match rule of route resource.
RouteName interface{} Property routeName: The name of the route.
Description interface{} Property description: The description of route.
DomainIds interface{} Property domainIds: The list of domain name IDs.
DomainInfos interface{} Property domainInfos: Domain items.

BackendRequired

Backend interface{}
  • Type: interface{}

Property backend: Backend service configuration for routing.


EnvironmentInfoRequired

EnvironmentInfo interface{}
  • Type: interface{}

Property environmentInfo: The information if the environment.


HttpApiIdRequired

HttpApiId interface{}
  • Type: interface{}

Property httpApiId: The ID of the API.


MatchRequired

Match interface{}
  • Type: interface{}

Property match: The match rule of route resource.


RouteNameRequired

RouteName interface{}
  • Type: interface{}

Property routeName: The name of the route.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of route.


DomainIdsOptional

DomainIds interface{}
  • Type: interface{}

Property domainIds: The list of domain name IDs.


DomainInfosOptional

DomainInfos interface{}
  • Type: interface{}

Property domainInfos: Domain items.