| object | The details about the listener. | |
AclConfig | object | The configurations of the access control lists (ACLs). | |
AclRelations | array<object> | The IDs of the ACLs that are associated with the listener. | |
aclRelation | object | The structure of the ACL that is associated with the listener. | |
AclId | string | The ID of the ACL that is associated with the listener. | acl-doc**** |
Status | string | Indicates whether the ACL is associated with the listener. Valid values:
- Associating
- Associated
- Dissociating
| Associating |
AclType | string | The type of the ACL. Valid values:
-
White: a whitelist. Only requests from the IP addresses or CIDR blocks in the network ACL are forwarded. Whitelists are applicable to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the whitelist is not properly configured. If a whitelist is configured for a listener, only requests from IP addresses that are on the whitelist are forwarded by the listener.
If you enable a whitelist but do not add an IP address to the whitelist, the listener forwards all requests.
-
Black: a blacklist. Requests from the IP addresses or CIDR blocks in the network ACL are denied. Blacklists are suitable for scenarios in which you want to deny access from specific IP addresses or CIDR blocks to an application.
If a blacklist is configured for a listener but no IP addresses are added to the blacklist, the listener forwards all requests.
| White |
Certificates | array<object> | | |
Certificate | object | The configurations of the certificate. | |
CertificateId | string | The ID of the certificate. Only server certificates are supported. | 12315790212_166f8204689_1714763408_70998**** |
CaCertificates | array<object> | A list of default CA certificates. | |
Certificate | object | | |
CertificateId | string | The ID of the default CA certificate. | 139a00604bd-cn-east-hangzho**** |
Status | string | The status of the certificate. | Associated |
IsDefault | boolean | Indicates whether the certificate is a default certificate: Valid values:
| true |
CaEnabled | boolean | Indicates whether mutual authentication is enabled. Valid values:
| false |
DefaultActions | array<object> | The actions of the default forwarding rule. | |
defaultAction | object | The configurations of the default forwarding rule. | |
ForwardGroupConfig | object | The configuration of the ForwardGroup action. This parameter is returned and takes effect when Type is set to ForwardGroup. | |
ServerGroupTuples | array<object> | The server group to which requests are forwarded. | |
serverGroupTuple | object | The server groups to which requests are forwarded. | |
ServerGroupId | string | The ID of the server group to which requests are forwarded. | rsp-cige6j**** |
Type | string | The type of the action.
If ForwardGroup is returned, requests are forwarded to multiple vServer groups. | ForwardGroup |
GzipEnabled | boolean | Indicates whether GZIP compression is enabled to compress specific types of files. Valid values:
| true |
Http2Enabled | boolean | Indicates whether HTTP/2 is enabled. Valid values:
Note
This parameter is available only when you create an HTTPS listener.
| true |
IdleTimeout | integer | The timeout period of an idle connection. Unit: seconds.
If no requests are received within the specified timeout period, Application Load Balancer (ALB) closes the current connection. When a request is received, ALB establishes a new connection. | 2 |
ListenerDescription | string | The name of the listener. | test |
ListenerId | string | | lsr-bp1bpn0kn908w4nbw**** |
ListenerPort | integer | The frontend port that is used by the ALB instance. | 80 |
ListenerProtocol | string | The listener protocol. Valid values: HTTP, HTTPS, and QUIC. | HTTP |
ListenerStatus | string | The status of the listener. Valid values:
- Provisioning
- Running
- Configuring
- Stopped
| Running |
LoadBalancerId | string | | lb-bp1o94dp5i6ea**** |
LogConfig | object | The logging configuration. | |
AccessLogTracingConfig | object | The configuration of Xtrace. Xtrace is used to record requests sent to ALB. | |
TracingEnabled | boolean | Indicates whether Xtrace is enabled. Valid values:
Note
You can set this parameter to true only if the AccessLogEnabled parameter is set to true.
| true |
TracingSample | integer | The sampling rate of Xtrace. Valid values: 1 to 10000.
Note
If TracingEnabled is set to true, this parameter is valid.
| 100 |
TracingType | string | The Xtrace type. Supported Xtrace type: Zipkin.
Note
If TracingEnabled is set to true, this parameter is valid.
| Zipkin |
QuicConfig | object | The configuration information when the listener is associated with a QUIC listener. | |
QuicListenerId | string | The ID of the QUIC listener. This parameter is returned when QuicUpgradeEnabled is set to true. Only HTTPS listeners support this parameter.
Note
You must associate the HTTPS listener and the QUIC listener with the same ALB instance. In addition, make sure that the QUIC listener has never been associated with another listener.
| lsn-333 |
QuicUpgradeEnabled | boolean | Indicates whether QUIC upgrade is enabled. Valid values:
Note
Only HTTPS listeners support this parameter.
| true |
RequestId | string | | 365F4154-92F6-4AE4-92F8-7FF34B540710 |
RequestTimeout | integer | The timeout period of a request. Unit: seconds.
If no responses are received from the backend server within the specified timeout period, ALB returns an HTTP 504 error code to the client. | 34 |
SecurityPolicyId | string | The security policy.
Note
This parameter is available only when you create an HTTPS listener.
| tls_cipher_policy_1_1 |
XForwardedForConfig | object | The configuration of the XForward headers. | |
XForwardedForClientCertClientVerifyAlias | string | The name of the custom header. This parameter takes effect only when XForwardedForClientCertClientVerifyEnabled is set to true.
The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
Note
This parameter is available only when you create an HTTPS listener.
| test_client-verify-alias_123456 |
XForwardedForClientCertClientVerifyEnabled | boolean | Indicates whether the X-Forwarded-Clientcert-clientverify header is used to retrieve the verification result of the client certificate. Valid values:
Note
This parameter is available only when you create an HTTPS listener.
| true |
XForwardedForClientCertFingerprintAlias | string | The name of the custom header. This parameter takes effect only when XForwardedForClientCertFingerprintEnabled is set to true.
The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
Note
This parameter is available only when you create an HTTPS listener.
| test_finger-print-alias_123456 |
XForwardedForClientCertFingerprintEnabled | boolean | Indicates whether the X-Forwarded-Clientcert-fingerprint header is used to retrieve the fingerprint of the client certificate. Valid values:
Note
This parameter is available only when you create an HTTPS listener.
| true |
XForwardedForClientCertIssuerDNAlias | string | The name of the custom header. This parameter takes effect only when XForwardedForClientCertIssuerDNEnabled is set to true.
The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
Note
This parameter is available only when you create an HTTPS listener.
| test_issue-dn-alias_123456 |
XForwardedForClientCertIssuerDNEnabled | boolean | Indicates whether the X-Forwarded-Clientcert-issuerdn header is used to retrieve information about the authority that issues the client certificate. Valid values:
Note
This parameter is available only when you create an HTTPS listener.
| true |
XForwardedForClientCertSubjectDNAlias | string | The name of the custom header. This parameter takes effect only when XForwardedForClientCertSubjectDNEnabled is set to true.
The name is 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
Note
This parameter is available only when you create an HTTPS listener.
| test_subject-dn-alias_123456 |
XForwardedForClientCertSubjectDNEnabled | boolean | Indicates whether the X-Forwarded-Clientcert-subjectdn header is used to retrieve information about the owner of the client certificate. Valid values:
Note
This parameter is available only when you create an HTTPS listener.
| true |
XForwardedForClientSrcPortEnabled | boolean | Indicates whether the X-Forwarded-Client-Port header is used to retrieve the client port. Valid values:
Note
This parameter is available only when you create an HTTP or HTTPS listener.
| true |
XForwardedForEnabled | boolean | Indicates whether the X-Forwarded-For header is used to retrieve the client IP address. Valid values:
Note
If this parameter is set to true, the default value of the XForwardedForProcessingMode parameter is append. You can change it to remove.
If this parameter is set to false, the X-Forwarded-For header in the request is not modified in any way before the request is sent to backend servers.
This parameter is only available for HTTP and HTTPS listeners.
| true |
XForwardedForProcessingMode | string | Specifies how the X-Forwarded-For header is processed. This parameter takes effect only when XForwardedForEnabled is set to true. Valid values:
Note
If this parameter is set to append, ALB appends the IP address of the last hop to the existing X-Forwarded-For header in the request before the request is sent to backend servers.
If this parameter is set to remove, ALB removes the X-Forwarded-For header in the request before the request is sent to backend servers, no matter whether the request carries the X-Forwarded-For header.
This parameter is only available for HTTP and HTTPS listeners.
| append |
XForwardedForProtoEnabled | boolean | Indicates whether the X-Forwarded-Proto header is used to retrieve the listening protocol. Valid values:
Note
This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
| true |
XForwardedForSLBIdEnabled | boolean | Indicates whether the SLB-ID header is used to retrieve the ID of the CLB instance. Valid values:
Note
This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
| true |
XForwardedForSLBPortEnabled | boolean | Indicates whether the X-Forwarded-Port header is used to retrieve the listening port of the ALB instance. Valid values:
Note
This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
| true |
XForwardedForClientSourceIpsEnabled | boolean | Indicates whether the X-Forwarded-Client-Ip header is used to retrieve the source port of the ALB instance. Valid values:
Note
This parameter is available only when you create an HTTP, HTTPS, or QUIC listener.
| false |
XForwardedForClientSourceIpsTrusted | string | The trusted proxy IP address.
ALB traverses X-Forwarded-For backward and selects the first IP address that is not on the trusted IP address list as the real IP address of the client. The IP address is used in source IP address throttling. | 10.1.1.0/24 |
XForwardedForHostEnabled | boolean | Specifies whether to use the X-Forwarded-Host header to retrieve the client domain name. Valid values:
Note
This parameter is available for HTTP, HTTPS, and QUIC listeners.
| false |
Tags | array<object> | | |
Tag | object | | |
Key | string | The tag key. The tag key can be up to 128 characters in length and cannot start with acs: or aliyun . It cannot contain http:// or https:// . | env |
Value | string | The tag value. The tag value can be up to 128 characters in length and cannot start with acs: or aliyun . It cannot contain http:// or https:// . | product |