LoadBalancerTCPListenerProps
Properties for defining a LoadBalancerTCPListener
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-loadbalancertcplistener
Initializer
from ros_cdk_slb import datasource
datasource.LoadBalancerTCPListenerProps(
listener_port: typing.Union[typing.Union[int, float], IResolvable],
load_balancer_id: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
listener_port |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property listenerPort: The frontend port used by the CLB instance.Valid values: 1 to 65535. |
load_balancer_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property loadBalancerId: The ID of the CLB 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[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property listenerPort: The frontend port used by the CLB instance.Valid values: 1 to 65535.
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.
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.