Skip to content

RoutesProps

Properties for defining a Routes.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-apig-routes

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig/datasource"
&datasource.RoutesProps {
    HttpApiId: interface{},
    RefreshOptions: interface{},
    RouteName: interface{},
}

Properties

Name Type Description
HttpApiId interface{} Property httpApiId: HTTP API ID.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
RouteName interface{} Property routeName: The name of the route.

HttpApiIdRequired

HttpApiId interface{}
  • Type: interface{}

Property httpApiId: HTTP API ID.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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.

RouteNameOptional

RouteName interface{}
  • Type: interface{}

Property routeName: The name of the route.