Skip to content

RulesProps

Properties for defining a Rules.

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

Initializer

import { datasource } from '@alicloud/ros-cdk-slb'
const rulesProps: datasource.RulesProps = { ... }

Properties

Name Type Description
listenerPort string | @alicloud/ros-cdk-core.IResolvable Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.
loadBalancerId string | @alicloud/ros-cdk-core.IResolvable Property loadBalancerId: The ID of the CLB instance.
listenerProtocol string | @alicloud/ros-cdk-core.IResolvable Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

listenerPortRequired

public readonly listenerPort: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.


loadBalancerIdRequired

public readonly loadBalancerId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property loadBalancerId: The ID of the CLB instance.


listenerProtocolOptional

public readonly listenerProtocol: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.


refreshOptionsOptional

public readonly refreshOptions: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.