RulesProps
Properties for defining a Rules
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules
Initializer
from ros_cdk_slb import datasource
datasource.RulesProps(
listener_port: typing.Union[str, IResolvable],
load_balancer_id: typing.Union[str, IResolvable],
listener_protocol: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
listener_port |
typing.Union[str, ros_cdk_core.IResolvable] |
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance. |
load_balancer_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property loadBalancerId: The ID of the CLB instance. |
listener_protocol |
typing.Union[str, ros_cdk_core.IResolvable] |
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
listener_port
Required
listener_port: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.
load_balancer_id
Required
load_balancer_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property loadBalancerId: The ID of the CLB instance.
listener_protocol
Optional
listener_protocol: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.