Skip to content

RuleProps

Properties for defining a Rule.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rule

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
&datasource.RuleProps {
    RuleId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
RuleId interface{} Property ruleId: The ID of the forwarding rule.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

RuleIdRequired

RuleId interface{}
  • Type: interface{}

Property ruleId: The ID of the forwarding rule.


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.