ListenerProps
Properties for defining a Listener
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-listener
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb"
&alicloudroscdknlb.ListenerProps {
ListenerProtocol: interface{},
LoadBalancerId: interface{},
ServerGroupId: interface{},
AlpnEnabled: interface{},
AlpnPolicy: interface{},
CaCertificateIds: interface{},
CaEnabled: interface{},
CertificateIds: interface{},
Cps: interface{},
Enable: interface{},
EndPort: interface{},
IdleTimeout: interface{},
ListenerDescription: interface{},
ListenerPort: interface{},
Mss: interface{},
ProxyProtocolEnabled: interface{},
ProxyProtocolV2Config: interface{},
SecSensorEnabled: interface{},
SecurityPolicyId: interface{},
StartPort: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb.RosListener.TagsProperty,
}
Properties
Name | Type | Description |
---|---|---|
ListenerProtocol |
interface{} |
Property listenerProtocol: undefined. |
LoadBalancerId |
interface{} |
Property loadBalancerId: ID of the LoadBalancer. |
ServerGroupId |
interface{} |
Property serverGroupId: ID of the ServerGroup. |
AlpnEnabled |
interface{} |
Property alpnEnabled: undefined. |
AlpnPolicy |
interface{} |
Property alpnPolicy: Proxy of alpn. |
CaCertificateIds |
interface{} |
Property caCertificateIds: List of the ca certificate ids. |
CaEnabled |
interface{} |
Property caEnabled: Whether to open CA. |
CertificateIds |
interface{} |
Property certificateIds: List of the certificate ids. |
Cps |
interface{} |
Property cps: New connection rate limit of Instance. |
Enable |
interface{} |
Property enable: Whether to start listener or not. |
EndPort |
interface{} |
Property endPort: EndPort of the portRange. |
IdleTimeout |
interface{} |
Property idleTimeout: Specifies the connection idle timeout. |
ListenerDescription |
interface{} |
Property listenerDescription: Description of the listener, [2, 256] characters. |
ListenerPort |
interface{} |
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0. |
Mss |
interface{} |
Property mss: Max length of the TCP packet. |
ProxyProtocolEnabled |
interface{} |
Property proxyProtocolEnabled: Whether to enable ppv2 function. |
ProxyProtocolV2Config |
interface{} |
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener. |
SecSensorEnabled |
interface{} |
Property secSensorEnabled: Whether to enable the second-level monitoring function. |
SecurityPolicyId |
interface{} |
Property securityPolicyId: Only valid for TcpSSL protocol monitoring. |
StartPort |
interface{} |
Property startPort: StartPort of the portRange. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
ListenerProtocol
Required
ListenerProtocol interface{}
- Type: interface{}
Property listenerProtocol: undefined.
LoadBalancerId
Required
LoadBalancerId interface{}
- Type: interface{}
Property loadBalancerId: ID of the LoadBalancer.
ServerGroupId
Required
ServerGroupId interface{}
- Type: interface{}
Property serverGroupId: ID of the ServerGroup.
AlpnEnabled
Optional
AlpnEnabled interface{}
- Type: interface{}
Property alpnEnabled: undefined.
AlpnPolicy
Optional
AlpnPolicy interface{}
- Type: interface{}
Property alpnPolicy: Proxy of alpn.
CaCertificateIds
Optional
CaCertificateIds interface{}
- Type: interface{}
Property caCertificateIds: List of the ca certificate ids.
CaEnabled
Optional
CaEnabled interface{}
- Type: interface{}
Property caEnabled: Whether to open CA.
CertificateIds
Optional
CertificateIds interface{}
- Type: interface{}
Property certificateIds: List of the certificate ids.
Cps
Optional
Cps interface{}
- Type: interface{}
Property cps: New connection rate limit of Instance.
Enable
Optional
Enable interface{}
- Type: interface{}
Property enable: Whether to start listener or not.
Default True.
EndPort
Optional
EndPort interface{}
- Type: interface{}
Property endPort: EndPort of the portRange.
IdleTimeout
Optional
IdleTimeout interface{}
- Type: interface{}
Property idleTimeout: Specifies the connection idle timeout.
ListenerDescription
Optional
ListenerDescription interface{}
- Type: interface{}
Property listenerDescription: Description of the listener, [2, 256] characters.
ListenerPort
Optional
ListenerPort interface{}
- Type: interface{}
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0.
Mss
Optional
Mss interface{}
- Type: interface{}
Property mss: Max length of the TCP packet.
ProxyProtocolEnabled
Optional
ProxyProtocolEnabled interface{}
- Type: interface{}
Property proxyProtocolEnabled: Whether to enable ppv2 function.
ProxyProtocolV2Config
Optional
ProxyProtocolV2Config interface{}
- Type: interface{}
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener.
SecSensorEnabled
Optional
SecSensorEnabled interface{}
- Type: interface{}
Property secSensorEnabled: Whether to enable the second-level monitoring function.
SecurityPolicyId
Optional
SecurityPolicyId interface{}
- Type: interface{}
Property securityPolicyId: Only valid for TcpSSL protocol monitoring.
StartPort
Optional
StartPort interface{}
- Type: interface{}
Property startPort: StartPort of the portRange.
Tags
Optional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.