import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The listener monitors user access requests received by the CLB instance based on the specified protocol and port. CLB forwards access requests to healthy backend servers in the associated backend server group according to the scheduling algorithm configured for the listener. * * ## Import * * ```sh * $ pulumi import volcenginecc:clb/listener:Listener example "listener_id" * ``` */ export declare class Listener extends pulumi.CustomResource { /** * Get an existing Listener resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ListenerState, opts?: pulumi.CustomResourceOptions): Listener; /** * Returns true if the given object is an instance of Listener. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Listener; /** * ID of the access control policy group bound to the listener. Returned only when the AclStatus parameter is set to on. */ readonly aclIds: pulumi.Output; /** * Enable access control. Values: on: enabled. off (default): disabled. */ readonly aclStatus: pulumi.Output; /** * Access control mode. white: Allowlist. black: Denylist. This parameter is valid only when the AclStatus parameter is on. */ readonly aclType: pulumi.Output; /** * Bandwidth limit for the listener, which means this listener exclusively uses the bandwidth of the CLB instance. Unit: Mbps. -1 (default): This listener does not exclusively use CLB bandwidth and shares the non-exclusive bandwidth of the CLB instance with other listeners. Value range: 1 to the non-exclusive bandwidth of the CLB instance. */ readonly bandwidth: pulumi.Output; /** * CA certificate for mutual authentication. */ readonly caCertificateId: pulumi.Output; /** * Enable mutual authentication. on: enabled. off (default): disabled. */ readonly caEnabled: pulumi.Output; /** * Certificate ID from Certificate Center. */ readonly certCenterCertificateId: pulumi.Output; /** * Certificate ID from the CLB certificate management module. */ readonly certificateId: pulumi.Output; /** * Certificate source. clb (default): certificate uploaded to CLB. cert_center: certificate uploaded to Certificate Center. user: certificate uploaded by user. */ readonly certificateSource: pulumi.Output; /** * Timeout for reading the client request body. This timeout applies only between two consecutive read operations, not the entire request transmission. Range: 30–120 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly clientBodyTimeout: pulumi.Output; /** * Timeout for reading the client request header. Value range: 30–120 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly clientHeaderTimeout: pulumi.Output; /** * Whether the listener enables graceful connection termination. on: enabled. off: not enabled. When Protocol returns HTTP or HTTPS, this parameter always returns off. */ readonly connectionDrainEnabled: pulumi.Output; /** * Timeout for graceful connection termination, in seconds. If ConnectionDrainEnabled returns off, this parameter returns 0. */ readonly connectionDrainTimeout: pulumi.Output; /** * Name of the session persistence cookie configured on the backend server. This parameter is valid and required only when PersistenceType is set to server. Only letters, numbers, underscores (_), and hyphens (-) are allowed. Length must be between 1 and 200 characters. */ readonly cookie: pulumi.Output; /** * Maximum number of new connections per second. -1 (default): No limit, which means the maximum number of new connections allowed by the CLB instance. Value range: 1 to the maximum number of new connections allowed by the CLB instance. */ readonly cps: pulumi.Output; /** * Creation time of the listener. */ readonly createdTime: pulumi.Output; /** * Listener description. Must start with a letter, digit, or Chinese character. Can include letters, digits, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 0–255 characters. If not specified, the default is an empty string. */ readonly description: pulumi.Output; readonly domainExtensions: pulumi.Output; /** * Enable listener. on (default): enabled. off: disabled. */ readonly enabled: pulumi.Output; /** * End port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required and must be greater than startPort. */ readonly endPort: pulumi.Output; /** * Listener connection timeout. This parameter is valid only when Protocol is set to TCP or UDP. Values: TCP protocol: 10–900 seconds, default is 900 seconds. UDP protocol: 1–300 seconds, default is 90 seconds. */ readonly establishedTimeout: pulumi.Output; /** * Health check information. */ readonly healthCheck: pulumi.Output; /** * Whether the listener enables frontend HTTP 2.0 protocol. This parameter is valid only when Protocol is set to HTTPS. Values: on: enabled. off (default): disabled. */ readonly http2Enabled: pulumi.Output; /** * Keep-alive timeout between the client and CLB. Range: 0–900 seconds, default is 75 seconds. 0 disables keep-alive. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly keepaliveTimeout: pulumi.Output; /** * Listener ID. */ readonly listenerId: pulumi.Output; /** * Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If left blank, 'Protocol-Port' will be used as the default listener name. */ readonly listenerName: pulumi.Output; /** * ID of the CLB instance. */ readonly loadBalancerId: pulumi.Output; /** * Maximum concurrent connections limit. -1 (default): unlimited (up to the maximum concurrent connections supported by the CLB instance). Value range: 1 to the maximum concurrent connections limit of the CLB instance. */ readonly maxConnections: pulumi.Output; /** * Session persistence timeout, in seconds. The value range depends on the PersistenceType parameter. When PersistenceType is set to source_ip, the range is 1–3600. When PersistenceType is set to insert, the range is 1–86400. */ readonly persistenceTimeout: pulumi.Output; /** * Session persistence type. Values: off (default): session persistence disabled. source_ip: source IP address, valid only when Protocol is TCP or UDP. insert: insert Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. server: rewrite Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. */ readonly persistenceType: pulumi.Output; /** * Port used by the listener to receive requests. Value range: 0–65535. When the Protocol parameter is 'TCP' or 'UDP', 0 is supported, which enables listening on all ports. */ readonly port: pulumi.Output; /** * Listener protocol. Includes: TCP, UDP, HTTP, HTTPS. */ readonly protocol: pulumi.Output; /** * Connection establishment timeout between CLB and backend server. Recommended to be greater than the health check timeout. Range: 4–120 seconds, default is 4. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly proxyConnectTimeout: pulumi.Output; /** * Enable Proxy-Protocol. This parameter is valid only when Protocol is TCP or UDP. Values: off (default): disabled. standard: enabled. */ readonly proxyProtocolType: pulumi.Output; /** * Timeout for CLB to read responses from backend servers. This timeout applies only between two consecutive read operations, not for the entire response transmission. Value range: 30–3600 seconds. Default: 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly proxyReadTimeout: pulumi.Output; /** * Timeout for CLB to transmit requests to backend servers. This timeout applies only between two consecutive write operations, not the entire request transmission process. Value range: 30–3600 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly proxySendTimeout: pulumi.Output; /** * List of rule IDs bound to the listener. */ readonly ruleIds: pulumi.Output; /** * Scheduling algorithm used by the listener. wrr (default): Weighted round robin. wlc: Weighted least connections. sh: Source address hash. */ readonly scheduler: pulumi.Output; /** * TLS security policy for HTTPS listeners. This parameter is valid only when Protocol is set to HTTPS. Values: default*policy (default): supports SSL v3, TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*0: supports TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*1: supports TLS v1.1, TLS v1.2. tls*cipher*policy*1*2: supports TLS v1.2. tls*cipher*policy*1*2*strict: supports TLS v1.2. */ readonly securityPolicyId: pulumi.Output; /** * Timeout for CLB to send responses to the client. This timeout applies only between two consecutive write operations, not the entire response transmission. Range: 1–3600 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ readonly sendTimeout: pulumi.Output; /** * ID of the backend server group associated with the listener. */ readonly serverGroupId: pulumi.Output; /** * Start port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required. */ readonly startPort: pulumi.Output; /** * Listener status. Creating: being created. Active: running. Deleting: being deleted. Disabled: disabled. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Last operation time of the listener. */ readonly updatedTime: pulumi.Output; /** * Send traffic passing through the Layer 7 listener to the Web Application Firewall for inspection and filtering. on: yes. off: no. */ readonly wafProtectionEnabled: pulumi.Output; /** * Create a Listener resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ListenerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Listener resources. */ export interface ListenerState { /** * ID of the access control policy group bound to the listener. Returned only when the AclStatus parameter is set to on. */ aclIds?: pulumi.Input[]>; /** * Enable access control. Values: on: enabled. off (default): disabled. */ aclStatus?: pulumi.Input; /** * Access control mode. white: Allowlist. black: Denylist. This parameter is valid only when the AclStatus parameter is on. */ aclType?: pulumi.Input; /** * Bandwidth limit for the listener, which means this listener exclusively uses the bandwidth of the CLB instance. Unit: Mbps. -1 (default): This listener does not exclusively use CLB bandwidth and shares the non-exclusive bandwidth of the CLB instance with other listeners. Value range: 1 to the non-exclusive bandwidth of the CLB instance. */ bandwidth?: pulumi.Input; /** * CA certificate for mutual authentication. */ caCertificateId?: pulumi.Input; /** * Enable mutual authentication. on: enabled. off (default): disabled. */ caEnabled?: pulumi.Input; /** * Certificate ID from Certificate Center. */ certCenterCertificateId?: pulumi.Input; /** * Certificate ID from the CLB certificate management module. */ certificateId?: pulumi.Input; /** * Certificate source. clb (default): certificate uploaded to CLB. cert_center: certificate uploaded to Certificate Center. user: certificate uploaded by user. */ certificateSource?: pulumi.Input; /** * Timeout for reading the client request body. This timeout applies only between two consecutive read operations, not the entire request transmission. Range: 30–120 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ clientBodyTimeout?: pulumi.Input; /** * Timeout for reading the client request header. Value range: 30–120 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ clientHeaderTimeout?: pulumi.Input; /** * Whether the listener enables graceful connection termination. on: enabled. off: not enabled. When Protocol returns HTTP or HTTPS, this parameter always returns off. */ connectionDrainEnabled?: pulumi.Input; /** * Timeout for graceful connection termination, in seconds. If ConnectionDrainEnabled returns off, this parameter returns 0. */ connectionDrainTimeout?: pulumi.Input; /** * Name of the session persistence cookie configured on the backend server. This parameter is valid and required only when PersistenceType is set to server. Only letters, numbers, underscores (_), and hyphens (-) are allowed. Length must be between 1 and 200 characters. */ cookie?: pulumi.Input; /** * Maximum number of new connections per second. -1 (default): No limit, which means the maximum number of new connections allowed by the CLB instance. Value range: 1 to the maximum number of new connections allowed by the CLB instance. */ cps?: pulumi.Input; /** * Creation time of the listener. */ createdTime?: pulumi.Input; /** * Listener description. Must start with a letter, digit, or Chinese character. Can include letters, digits, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 0–255 characters. If not specified, the default is an empty string. */ description?: pulumi.Input; domainExtensions?: pulumi.Input[]>; /** * Enable listener. on (default): enabled. off: disabled. */ enabled?: pulumi.Input; /** * End port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required and must be greater than startPort. */ endPort?: pulumi.Input; /** * Listener connection timeout. This parameter is valid only when Protocol is set to TCP or UDP. Values: TCP protocol: 10–900 seconds, default is 900 seconds. UDP protocol: 1–300 seconds, default is 90 seconds. */ establishedTimeout?: pulumi.Input; /** * Health check information. */ healthCheck?: pulumi.Input; /** * Whether the listener enables frontend HTTP 2.0 protocol. This parameter is valid only when Protocol is set to HTTPS. Values: on: enabled. off (default): disabled. */ http2Enabled?: pulumi.Input; /** * Keep-alive timeout between the client and CLB. Range: 0–900 seconds, default is 75 seconds. 0 disables keep-alive. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ keepaliveTimeout?: pulumi.Input; /** * Listener ID. */ listenerId?: pulumi.Input; /** * Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If left blank, 'Protocol-Port' will be used as the default listener name. */ listenerName?: pulumi.Input; /** * ID of the CLB instance. */ loadBalancerId?: pulumi.Input; /** * Maximum concurrent connections limit. -1 (default): unlimited (up to the maximum concurrent connections supported by the CLB instance). Value range: 1 to the maximum concurrent connections limit of the CLB instance. */ maxConnections?: pulumi.Input; /** * Session persistence timeout, in seconds. The value range depends on the PersistenceType parameter. When PersistenceType is set to source_ip, the range is 1–3600. When PersistenceType is set to insert, the range is 1–86400. */ persistenceTimeout?: pulumi.Input; /** * Session persistence type. Values: off (default): session persistence disabled. source_ip: source IP address, valid only when Protocol is TCP or UDP. insert: insert Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. server: rewrite Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. */ persistenceType?: pulumi.Input; /** * Port used by the listener to receive requests. Value range: 0–65535. When the Protocol parameter is 'TCP' or 'UDP', 0 is supported, which enables listening on all ports. */ port?: pulumi.Input; /** * Listener protocol. Includes: TCP, UDP, HTTP, HTTPS. */ protocol?: pulumi.Input; /** * Connection establishment timeout between CLB and backend server. Recommended to be greater than the health check timeout. Range: 4–120 seconds, default is 4. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxyConnectTimeout?: pulumi.Input; /** * Enable Proxy-Protocol. This parameter is valid only when Protocol is TCP or UDP. Values: off (default): disabled. standard: enabled. */ proxyProtocolType?: pulumi.Input; /** * Timeout for CLB to read responses from backend servers. This timeout applies only between two consecutive read operations, not for the entire response transmission. Value range: 30–3600 seconds. Default: 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxyReadTimeout?: pulumi.Input; /** * Timeout for CLB to transmit requests to backend servers. This timeout applies only between two consecutive write operations, not the entire request transmission process. Value range: 30–3600 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxySendTimeout?: pulumi.Input; /** * List of rule IDs bound to the listener. */ ruleIds?: pulumi.Input[]>; /** * Scheduling algorithm used by the listener. wrr (default): Weighted round robin. wlc: Weighted least connections. sh: Source address hash. */ scheduler?: pulumi.Input; /** * TLS security policy for HTTPS listeners. This parameter is valid only when Protocol is set to HTTPS. Values: default*policy (default): supports SSL v3, TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*0: supports TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*1: supports TLS v1.1, TLS v1.2. tls*cipher*policy*1*2: supports TLS v1.2. tls*cipher*policy*1*2*strict: supports TLS v1.2. */ securityPolicyId?: pulumi.Input; /** * Timeout for CLB to send responses to the client. This timeout applies only between two consecutive write operations, not the entire response transmission. Range: 1–3600 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ sendTimeout?: pulumi.Input; /** * ID of the backend server group associated with the listener. */ serverGroupId?: pulumi.Input; /** * Start port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required. */ startPort?: pulumi.Input; /** * Listener status. Creating: being created. Active: running. Deleting: being deleted. Disabled: disabled. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Last operation time of the listener. */ updatedTime?: pulumi.Input; /** * Send traffic passing through the Layer 7 listener to the Web Application Firewall for inspection and filtering. on: yes. off: no. */ wafProtectionEnabled?: pulumi.Input; } /** * The set of arguments for constructing a Listener resource. */ export interface ListenerArgs { /** * ID of the access control policy group bound to the listener. Returned only when the AclStatus parameter is set to on. */ aclIds?: pulumi.Input[]>; /** * Enable access control. Values: on: enabled. off (default): disabled. */ aclStatus?: pulumi.Input; /** * Access control mode. white: Allowlist. black: Denylist. This parameter is valid only when the AclStatus parameter is on. */ aclType?: pulumi.Input; /** * Bandwidth limit for the listener, which means this listener exclusively uses the bandwidth of the CLB instance. Unit: Mbps. -1 (default): This listener does not exclusively use CLB bandwidth and shares the non-exclusive bandwidth of the CLB instance with other listeners. Value range: 1 to the non-exclusive bandwidth of the CLB instance. */ bandwidth?: pulumi.Input; /** * CA certificate for mutual authentication. */ caCertificateId?: pulumi.Input; /** * Enable mutual authentication. on: enabled. off (default): disabled. */ caEnabled?: pulumi.Input; /** * Certificate ID from Certificate Center. */ certCenterCertificateId?: pulumi.Input; /** * Certificate ID from the CLB certificate management module. */ certificateId?: pulumi.Input; /** * Certificate source. clb (default): certificate uploaded to CLB. cert_center: certificate uploaded to Certificate Center. user: certificate uploaded by user. */ certificateSource?: pulumi.Input; /** * Timeout for reading the client request body. This timeout applies only between two consecutive read operations, not the entire request transmission. Range: 30–120 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ clientBodyTimeout?: pulumi.Input; /** * Timeout for reading the client request header. Value range: 30–120 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ clientHeaderTimeout?: pulumi.Input; /** * Whether the listener enables graceful connection termination. on: enabled. off: not enabled. When Protocol returns HTTP or HTTPS, this parameter always returns off. */ connectionDrainEnabled?: pulumi.Input; /** * Timeout for graceful connection termination, in seconds. If ConnectionDrainEnabled returns off, this parameter returns 0. */ connectionDrainTimeout?: pulumi.Input; /** * Name of the session persistence cookie configured on the backend server. This parameter is valid and required only when PersistenceType is set to server. Only letters, numbers, underscores (_), and hyphens (-) are allowed. Length must be between 1 and 200 characters. */ cookie?: pulumi.Input; /** * Maximum number of new connections per second. -1 (default): No limit, which means the maximum number of new connections allowed by the CLB instance. Value range: 1 to the maximum number of new connections allowed by the CLB instance. */ cps?: pulumi.Input; /** * Listener description. Must start with a letter, digit, or Chinese character. Can include letters, digits, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length: 0–255 characters. If not specified, the default is an empty string. */ description?: pulumi.Input; domainExtensions?: pulumi.Input[]>; /** * Enable listener. on (default): enabled. off: disabled. */ enabled?: pulumi.Input; /** * End port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required and must be greater than startPort. */ endPort?: pulumi.Input; /** * Listener connection timeout. This parameter is valid only when Protocol is set to TCP or UDP. Values: TCP protocol: 10–900 seconds, default is 900 seconds. UDP protocol: 1–300 seconds, default is 90 seconds. */ establishedTimeout?: pulumi.Input; /** * Health check information. */ healthCheck?: pulumi.Input; /** * Whether the listener enables frontend HTTP 2.0 protocol. This parameter is valid only when Protocol is set to HTTPS. Values: on: enabled. off (default): disabled. */ http2Enabled?: pulumi.Input; /** * Keep-alive timeout between the client and CLB. Range: 0–900 seconds, default is 75 seconds. 0 disables keep-alive. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ keepaliveTimeout?: pulumi.Input; /** * Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If left blank, 'Protocol-Port' will be used as the default listener name. */ listenerName?: pulumi.Input; /** * ID of the CLB instance. */ loadBalancerId: pulumi.Input; /** * Maximum concurrent connections limit. -1 (default): unlimited (up to the maximum concurrent connections supported by the CLB instance). Value range: 1 to the maximum concurrent connections limit of the CLB instance. */ maxConnections?: pulumi.Input; /** * Session persistence timeout, in seconds. The value range depends on the PersistenceType parameter. When PersistenceType is set to source_ip, the range is 1–3600. When PersistenceType is set to insert, the range is 1–86400. */ persistenceTimeout?: pulumi.Input; /** * Session persistence type. Values: off (default): session persistence disabled. source_ip: source IP address, valid only when Protocol is TCP or UDP. insert: insert Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. server: rewrite Cookie, valid only when Protocol is HTTP or HTTPS and Scheduler is wrr. */ persistenceType?: pulumi.Input; /** * Port used by the listener to receive requests. Value range: 0–65535. When the Protocol parameter is 'TCP' or 'UDP', 0 is supported, which enables listening on all ports. */ port: pulumi.Input; /** * Listener protocol. Includes: TCP, UDP, HTTP, HTTPS. */ protocol: pulumi.Input; /** * Connection establishment timeout between CLB and backend server. Recommended to be greater than the health check timeout. Range: 4–120 seconds, default is 4. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxyConnectTimeout?: pulumi.Input; /** * Enable Proxy-Protocol. This parameter is valid only when Protocol is TCP or UDP. Values: off (default): disabled. standard: enabled. */ proxyProtocolType?: pulumi.Input; /** * Timeout for CLB to read responses from backend servers. This timeout applies only between two consecutive read operations, not for the entire response transmission. Value range: 30–3600 seconds. Default: 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxyReadTimeout?: pulumi.Input; /** * Timeout for CLB to transmit requests to backend servers. This timeout applies only between two consecutive write operations, not the entire request transmission process. Value range: 30–3600 seconds. Default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ proxySendTimeout?: pulumi.Input; /** * Scheduling algorithm used by the listener. wrr (default): Weighted round robin. wlc: Weighted least connections. sh: Source address hash. */ scheduler?: pulumi.Input; /** * TLS security policy for HTTPS listeners. This parameter is valid only when Protocol is set to HTTPS. Values: default*policy (default): supports SSL v3, TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*0: supports TLS v1.0, TLS v1.1, TLS v1.2. tls*cipher*policy*1*1: supports TLS v1.1, TLS v1.2. tls*cipher*policy*1*2: supports TLS v1.2. tls*cipher*policy*1*2*strict: supports TLS v1.2. */ securityPolicyId?: pulumi.Input; /** * Timeout for CLB to send responses to the client. This timeout applies only between two consecutive write operations, not the entire response transmission. Range: 1–3600 seconds, default is 60 seconds. This parameter is valid only when Protocol is set to HTTP or HTTPS. */ sendTimeout?: pulumi.Input; /** * ID of the backend server group associated with the listener. */ serverGroupId: pulumi.Input; /** * Start port for all-port listening. Range: 1–65535. When Port is '0', this parameter is required. */ startPort?: pulumi.Input; tags?: pulumi.Input[]>; }