RulesProps
Properties for defining a Rules
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules
Initializer
import com.aliyun.ros.cdk.slb.datasource.RulesProps;
RulesProps.builder()
.listenerPort(java.lang.String)
.listenerPort(IResolvable)
.loadBalancerId(java.lang.String)
.loadBalancerId(IResolvable)
// .listenerProtocol(java.lang.String)
// .listenerProtocol(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
listenerPort |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance. |
loadBalancerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property loadBalancerId: The ID of the CLB instance. |
listenerProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
listenerPort
Required
public java.lang.Object getListenerPort();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.
loadBalancerId
Required
public java.lang.Object getLoadBalancerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property loadBalancerId: The ID of the CLB instance.
listenerProtocol
Optional
public java.lang.Object getListenerProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.
refreshOptions
Optional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.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.