Skip to content

RouteProps

Properties for defining a Route.

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

Initializer

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

Properties

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

HttpApiIdRequired

HttpApiId interface{}
  • Type: interface{}

Property httpApiId: The ID of the HTTP API.


RouteIdRequired

RouteId interface{}
  • Type: interface{}

Property routeId: The ID of route resource.


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.