ListenerArgs

data class ListenerArgs(val accessLogRecordCustomizedHeadersEnabled: Output<Boolean>? = null, val accessLogTracingConfig: Output<ListenerAccessLogTracingConfigArgs>? = null, val aclConfig: Output<ListenerAclConfigArgs>? = null, val certificates: Output<ListenerCertificatesArgs>? = null, val defaultActions: Output<List<ListenerDefaultActionArgs>>? = null, val dryRun: Output<Boolean>? = null, val gzipEnabled: Output<Boolean>? = null, val http2Enabled: Output<Boolean>? = null, val idleTimeout: Output<Int>? = null, val listenerDescription: Output<String>? = null, val listenerPort: Output<Int>? = null, val listenerProtocol: Output<String>? = null, val loadBalancerId: Output<String>? = null, val quicConfig: Output<ListenerQuicConfigArgs>? = null, val requestTimeout: Output<Int>? = null, val securityPolicyId: Output<String>? = null, val status: Output<String>? = null, val xForwardedForConfig: Output<ListenerXForwardedForConfigArgs>? = null) : ConvertibleToJava<ListenerArgs>

Provides a Application Load Balancer (ALB) Listener resource. For information about Application Load Balancer (ALB) Listener and how to use it, see What is Listener.

NOTE: Available in v1.133.0+.

Import

Application Load Balancer (ALB) Listener can be imported using the id, e.g.

$ pulumi import alicloud:alb/listener:Listener example <id>

Constructors

Link copied to clipboard
fun ListenerArgs(accessLogRecordCustomizedHeadersEnabled: Output<Boolean>? = null, accessLogTracingConfig: Output<ListenerAccessLogTracingConfigArgs>? = null, aclConfig: Output<ListenerAclConfigArgs>? = null, certificates: Output<ListenerCertificatesArgs>? = null, defaultActions: Output<List<ListenerDefaultActionArgs>>? = null, dryRun: Output<Boolean>? = null, gzipEnabled: Output<Boolean>? = null, http2Enabled: Output<Boolean>? = null, idleTimeout: Output<Int>? = null, listenerDescription: Output<String>? = null, listenerPort: Output<Int>? = null, listenerProtocol: Output<String>? = null, loadBalancerId: Output<String>? = null, quicConfig: Output<ListenerQuicConfigArgs>? = null, requestTimeout: Output<Int>? = null, securityPolicyId: Output<String>? = null, status: Output<String>? = null, xForwardedForConfig: Output<ListenerXForwardedForConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ListenerArgs

Properties

Link copied to clipboard

Indicates whether the access log has a custom header field. Valid values: true and false. Default value: false.

Link copied to clipboard

Xtrace Configuration Information. See the following Block access_log_tracing_config.

Link copied to clipboard
val aclConfig: Output<ListenerAclConfigArgs>? = null

The configurations of the access control lists (ACLs). See the following Block acl_config. NOTE: Field acl_config has been deprecated from provider version 1.163.0, and it will be removed in the future version. Please use the new resource alicloud.alb.ListenerAclAttachment.,

Link copied to clipboard

The default certificate of the Listener. See the following Block certificates. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。

Link copied to clipboard

The Default Rule Action List. See the following Block default_actions.

Link copied to clipboard
val dryRun: Output<Boolean>? = null

The dry run.

Link copied to clipboard
val gzipEnabled: Output<Boolean>? = null

Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .

Link copied to clipboard
val http2Enabled: Output<Boolean>? = null

Whether to Enable HTTP/2 Features. Valid Values: True Or False. Default Value: True.

Link copied to clipboard
val idleTimeout: Output<Int>? = null

Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.

Link copied to clipboard
val listenerDescription: Output<String>? = null

The description of the listener. The description must be 2 to 256 characters in length. The name can contain only the characters in the following string: /^([^\x00-\xff]|[\w&#46;,;/@-]){2,256}$/.

Link copied to clipboard
val listenerPort: Output<Int>? = null

The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.

Link copied to clipboard
val listenerProtocol: Output<String>? = null

Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.

Link copied to clipboard
val loadBalancerId: Output<String>? = null

The ALB Instance Id.

Link copied to clipboard
val quicConfig: Output<ListenerQuicConfigArgs>? = null

Configuration Associated with the QuIC Listening. See the following Block quic_config.

Link copied to clipboard
val requestTimeout: Output<Int>? = null

The Specified Request Timeout Time. Value: 1 to 180. Unit: Seconds. Default Value: 60. If the Timeout Time Within the Back-End Server Has Not Answered the ALB Will Give up Waiting, the Client Returns the HTTP 504 Error Code.

Link copied to clipboard
val securityPolicyId: Output<String>? = null

Security Policy.

Link copied to clipboard
val status: Output<String>? = null

The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.

Link copied to clipboard

The x_forward_for Related Attribute Configuration. See the following Block x_forwarded_for_config. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.