1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. alb
  5. Listener
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.alb.Listener

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    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 since v1.133.0.

    Create Listener Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Listener(name: string, args: ListenerArgs, opts?: CustomResourceOptions);
    @overload
    def Listener(resource_name: str,
                 args: ListenerArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Listener(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 listener_port: Optional[int] = None,
                 load_balancer_id: Optional[str] = None,
                 listener_protocol: Optional[str] = None,
                 default_actions: Optional[Sequence[ListenerDefaultActionArgs]] = None,
                 certificates: Optional[ListenerCertificatesArgs] = None,
                 dry_run: Optional[bool] = None,
                 gzip_enabled: Optional[bool] = None,
                 http2_enabled: Optional[bool] = None,
                 idle_timeout: Optional[int] = None,
                 listener_description: Optional[str] = None,
                 access_log_record_customized_headers_enabled: Optional[bool] = None,
                 acl_config: Optional[ListenerAclConfigArgs] = None,
                 access_log_tracing_config: Optional[ListenerAccessLogTracingConfigArgs] = None,
                 quic_config: Optional[ListenerQuicConfigArgs] = None,
                 request_timeout: Optional[int] = None,
                 security_policy_id: Optional[str] = None,
                 status: Optional[str] = None,
                 tags: Optional[Mapping[str, Any]] = None,
                 x_forwarded_for_config: Optional[ListenerXForwardedForConfigArgs] = None)
    func NewListener(ctx *Context, name string, args ListenerArgs, opts ...ResourceOption) (*Listener, error)
    public Listener(string name, ListenerArgs args, CustomResourceOptions? opts = null)
    public Listener(String name, ListenerArgs args)
    public Listener(String name, ListenerArgs args, CustomResourceOptions options)
    
    type: alicloud:alb:Listener
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ListenerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var listenerResource = new AliCloud.Alb.Listener("listenerResource", new()
    {
        ListenerPort = 0,
        LoadBalancerId = "string",
        ListenerProtocol = "string",
        DefaultActions = new[]
        {
            new AliCloud.Alb.Inputs.ListenerDefaultActionArgs
            {
                ForwardGroupConfig = new AliCloud.Alb.Inputs.ListenerDefaultActionForwardGroupConfigArgs
                {
                    ServerGroupTuples = new[]
                    {
                        new AliCloud.Alb.Inputs.ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs
                        {
                            ServerGroupId = "string",
                        },
                    },
                },
                Type = "string",
            },
        },
        Certificates = new AliCloud.Alb.Inputs.ListenerCertificatesArgs
        {
            CertificateId = "string",
        },
        DryRun = false,
        GzipEnabled = false,
        Http2Enabled = false,
        IdleTimeout = 0,
        ListenerDescription = "string",
        AccessLogRecordCustomizedHeadersEnabled = false,
        AccessLogTracingConfig = new AliCloud.Alb.Inputs.ListenerAccessLogTracingConfigArgs
        {
            TracingEnabled = false,
            TracingSample = 0,
            TracingType = "string",
        },
        QuicConfig = new AliCloud.Alb.Inputs.ListenerQuicConfigArgs
        {
            QuicListenerId = "string",
            QuicUpgradeEnabled = false,
        },
        RequestTimeout = 0,
        SecurityPolicyId = "string",
        Status = "string",
        Tags = 
        {
            { "string", "any" },
        },
        XForwardedForConfig = new AliCloud.Alb.Inputs.ListenerXForwardedForConfigArgs
        {
            XForwardedForClientCertClientVerifyAlias = "string",
            XForwardedForClientCertClientVerifyEnabled = false,
            XForwardedForClientCertFingerPrintAlias = "string",
            XForwardedForClientCertFingerPrintEnabled = false,
            XForwardedForClientCertIssuerDnAlias = "string",
            XForwardedForClientCertIssuerDnEnabled = false,
            XForwardedForClientCertSubjectDnAlias = "string",
            XForwardedForClientCertSubjectDnEnabled = false,
            XForwardedForClientSourceIpsEnabled = false,
            XForwardedForClientSourceIpsTrusted = "string",
            XForwardedForClientSrcPortEnabled = false,
            XForwardedForEnabled = false,
            XForwardedForProtoEnabled = false,
            XForwardedForSlbIdEnabled = false,
            XForwardedForSlbPortEnabled = false,
        },
    });
    
    example, err := alb.NewListener(ctx, "listenerResource", &alb.ListenerArgs{
    	ListenerPort:     pulumi.Int(0),
    	LoadBalancerId:   pulumi.String("string"),
    	ListenerProtocol: pulumi.String("string"),
    	DefaultActions: alb.ListenerDefaultActionArray{
    		&alb.ListenerDefaultActionArgs{
    			ForwardGroupConfig: &alb.ListenerDefaultActionForwardGroupConfigArgs{
    				ServerGroupTuples: alb.ListenerDefaultActionForwardGroupConfigServerGroupTupleArray{
    					&alb.ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs{
    						ServerGroupId: pulumi.String("string"),
    					},
    				},
    			},
    			Type: pulumi.String("string"),
    		},
    	},
    	Certificates: &alb.ListenerCertificatesArgs{
    		CertificateId: pulumi.String("string"),
    	},
    	DryRun:                                  pulumi.Bool(false),
    	GzipEnabled:                             pulumi.Bool(false),
    	Http2Enabled:                            pulumi.Bool(false),
    	IdleTimeout:                             pulumi.Int(0),
    	ListenerDescription:                     pulumi.String("string"),
    	AccessLogRecordCustomizedHeadersEnabled: pulumi.Bool(false),
    	AccessLogTracingConfig: &alb.ListenerAccessLogTracingConfigArgs{
    		TracingEnabled: pulumi.Bool(false),
    		TracingSample:  pulumi.Int(0),
    		TracingType:    pulumi.String("string"),
    	},
    	QuicConfig: &alb.ListenerQuicConfigArgs{
    		QuicListenerId:     pulumi.String("string"),
    		QuicUpgradeEnabled: pulumi.Bool(false),
    	},
    	RequestTimeout:   pulumi.Int(0),
    	SecurityPolicyId: pulumi.String("string"),
    	Status:           pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	XForwardedForConfig: &alb.ListenerXForwardedForConfigArgs{
    		XForwardedForClientCertClientVerifyAlias:   pulumi.String("string"),
    		XForwardedForClientCertClientVerifyEnabled: pulumi.Bool(false),
    		XForwardedForClientCertFingerPrintAlias:    pulumi.String("string"),
    		XForwardedForClientCertFingerPrintEnabled:  pulumi.Bool(false),
    		XForwardedForClientCertIssuerDnAlias:       pulumi.String("string"),
    		XForwardedForClientCertIssuerDnEnabled:     pulumi.Bool(false),
    		XForwardedForClientCertSubjectDnAlias:      pulumi.String("string"),
    		XForwardedForClientCertSubjectDnEnabled:    pulumi.Bool(false),
    		XForwardedForClientSourceIpsEnabled:        pulumi.Bool(false),
    		XForwardedForClientSourceIpsTrusted:        pulumi.String("string"),
    		XForwardedForClientSrcPortEnabled:          pulumi.Bool(false),
    		XForwardedForEnabled:                       pulumi.Bool(false),
    		XForwardedForProtoEnabled:                  pulumi.Bool(false),
    		XForwardedForSlbIdEnabled:                  pulumi.Bool(false),
    		XForwardedForSlbPortEnabled:                pulumi.Bool(false),
    	},
    })
    
    var listenerResource = new Listener("listenerResource", ListenerArgs.builder()
        .listenerPort(0)
        .loadBalancerId("string")
        .listenerProtocol("string")
        .defaultActions(ListenerDefaultActionArgs.builder()
            .forwardGroupConfig(ListenerDefaultActionForwardGroupConfigArgs.builder()
                .serverGroupTuples(ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs.builder()
                    .serverGroupId("string")
                    .build())
                .build())
            .type("string")
            .build())
        .certificates(ListenerCertificatesArgs.builder()
            .certificateId("string")
            .build())
        .dryRun(false)
        .gzipEnabled(false)
        .http2Enabled(false)
        .idleTimeout(0)
        .listenerDescription("string")
        .accessLogRecordCustomizedHeadersEnabled(false)
        .accessLogTracingConfig(ListenerAccessLogTracingConfigArgs.builder()
            .tracingEnabled(false)
            .tracingSample(0)
            .tracingType("string")
            .build())
        .quicConfig(ListenerQuicConfigArgs.builder()
            .quicListenerId("string")
            .quicUpgradeEnabled(false)
            .build())
        .requestTimeout(0)
        .securityPolicyId("string")
        .status("string")
        .tags(Map.of("string", "any"))
        .xForwardedForConfig(ListenerXForwardedForConfigArgs.builder()
            .xForwardedForClientCertClientVerifyAlias("string")
            .xForwardedForClientCertClientVerifyEnabled(false)
            .xForwardedForClientCertFingerPrintAlias("string")
            .xForwardedForClientCertFingerPrintEnabled(false)
            .xForwardedForClientCertIssuerDnAlias("string")
            .xForwardedForClientCertIssuerDnEnabled(false)
            .xForwardedForClientCertSubjectDnAlias("string")
            .xForwardedForClientCertSubjectDnEnabled(false)
            .xForwardedForClientSourceIpsEnabled(false)
            .xForwardedForClientSourceIpsTrusted("string")
            .xForwardedForClientSrcPortEnabled(false)
            .xForwardedForEnabled(false)
            .xForwardedForProtoEnabled(false)
            .xForwardedForSlbIdEnabled(false)
            .xForwardedForSlbPortEnabled(false)
            .build())
        .build());
    
    listener_resource = alicloud.alb.Listener("listenerResource",
        listener_port=0,
        load_balancer_id="string",
        listener_protocol="string",
        default_actions=[alicloud.alb.ListenerDefaultActionArgs(
            forward_group_config=alicloud.alb.ListenerDefaultActionForwardGroupConfigArgs(
                server_group_tuples=[alicloud.alb.ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs(
                    server_group_id="string",
                )],
            ),
            type="string",
        )],
        certificates=alicloud.alb.ListenerCertificatesArgs(
            certificate_id="string",
        ),
        dry_run=False,
        gzip_enabled=False,
        http2_enabled=False,
        idle_timeout=0,
        listener_description="string",
        access_log_record_customized_headers_enabled=False,
        access_log_tracing_config=alicloud.alb.ListenerAccessLogTracingConfigArgs(
            tracing_enabled=False,
            tracing_sample=0,
            tracing_type="string",
        ),
        quic_config=alicloud.alb.ListenerQuicConfigArgs(
            quic_listener_id="string",
            quic_upgrade_enabled=False,
        ),
        request_timeout=0,
        security_policy_id="string",
        status="string",
        tags={
            "string": "any",
        },
        x_forwarded_for_config=alicloud.alb.ListenerXForwardedForConfigArgs(
            x_forwarded_for_client_cert_client_verify_alias="string",
            x_forwarded_for_client_cert_client_verify_enabled=False,
            x_forwarded_for_client_cert_finger_print_alias="string",
            x_forwarded_for_client_cert_finger_print_enabled=False,
            x_forwarded_for_client_cert_issuer_dn_alias="string",
            x_forwarded_for_client_cert_issuer_dn_enabled=False,
            x_forwarded_for_client_cert_subject_dn_alias="string",
            x_forwarded_for_client_cert_subject_dn_enabled=False,
            x_forwarded_for_client_source_ips_enabled=False,
            x_forwarded_for_client_source_ips_trusted="string",
            x_forwarded_for_client_src_port_enabled=False,
            x_forwarded_for_enabled=False,
            x_forwarded_for_proto_enabled=False,
            x_forwarded_for_slb_id_enabled=False,
            x_forwarded_for_slb_port_enabled=False,
        ))
    
    const listenerResource = new alicloud.alb.Listener("listenerResource", {
        listenerPort: 0,
        loadBalancerId: "string",
        listenerProtocol: "string",
        defaultActions: [{
            forwardGroupConfig: {
                serverGroupTuples: [{
                    serverGroupId: "string",
                }],
            },
            type: "string",
        }],
        certificates: {
            certificateId: "string",
        },
        dryRun: false,
        gzipEnabled: false,
        http2Enabled: false,
        idleTimeout: 0,
        listenerDescription: "string",
        accessLogRecordCustomizedHeadersEnabled: false,
        accessLogTracingConfig: {
            tracingEnabled: false,
            tracingSample: 0,
            tracingType: "string",
        },
        quicConfig: {
            quicListenerId: "string",
            quicUpgradeEnabled: false,
        },
        requestTimeout: 0,
        securityPolicyId: "string",
        status: "string",
        tags: {
            string: "any",
        },
        xForwardedForConfig: {
            xForwardedForClientCertClientVerifyAlias: "string",
            xForwardedForClientCertClientVerifyEnabled: false,
            xForwardedForClientCertFingerPrintAlias: "string",
            xForwardedForClientCertFingerPrintEnabled: false,
            xForwardedForClientCertIssuerDnAlias: "string",
            xForwardedForClientCertIssuerDnEnabled: false,
            xForwardedForClientCertSubjectDnAlias: "string",
            xForwardedForClientCertSubjectDnEnabled: false,
            xForwardedForClientSourceIpsEnabled: false,
            xForwardedForClientSourceIpsTrusted: "string",
            xForwardedForClientSrcPortEnabled: false,
            xForwardedForEnabled: false,
            xForwardedForProtoEnabled: false,
            xForwardedForSlbIdEnabled: false,
            xForwardedForSlbPortEnabled: false,
        },
    });
    
    type: alicloud:alb:Listener
    properties:
        accessLogRecordCustomizedHeadersEnabled: false
        accessLogTracingConfig:
            tracingEnabled: false
            tracingSample: 0
            tracingType: string
        certificates:
            certificateId: string
        defaultActions:
            - forwardGroupConfig:
                serverGroupTuples:
                    - serverGroupId: string
              type: string
        dryRun: false
        gzipEnabled: false
        http2Enabled: false
        idleTimeout: 0
        listenerDescription: string
        listenerPort: 0
        listenerProtocol: string
        loadBalancerId: string
        quicConfig:
            quicListenerId: string
            quicUpgradeEnabled: false
        requestTimeout: 0
        securityPolicyId: string
        status: string
        tags:
            string: any
        xForwardedForConfig:
            xForwardedForClientCertClientVerifyAlias: string
            xForwardedForClientCertClientVerifyEnabled: false
            xForwardedForClientCertFingerPrintAlias: string
            xForwardedForClientCertFingerPrintEnabled: false
            xForwardedForClientCertIssuerDnAlias: string
            xForwardedForClientCertIssuerDnEnabled: false
            xForwardedForClientCertSubjectDnAlias: string
            xForwardedForClientCertSubjectDnEnabled: false
            xForwardedForClientSourceIpsEnabled: false
            xForwardedForClientSourceIpsTrusted: string
            xForwardedForClientSrcPortEnabled: false
            xForwardedForEnabled: false
            xForwardedForProtoEnabled: false
            xForwardedForSlbIdEnabled: false
            xForwardedForSlbPortEnabled: false
    

    Listener Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Listener resource accepts the following input properties:

    ListenerPort int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    ListenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    LoadBalancerId string
    The ALB Instance Id.
    AccessLogRecordCustomizedHeadersEnabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    AccessLogTracingConfig Pulumi.AliCloud.Alb.Inputs.ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    AclConfig Pulumi.AliCloud.Alb.Inputs.ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    Certificates Pulumi.AliCloud.Alb.Inputs.ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    DefaultActions List<Pulumi.AliCloud.Alb.Inputs.ListenerDefaultAction>
    The Default Rule Action List. See default_actions below for details.
    DryRun bool
    The dry run.
    GzipEnabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    Http2Enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    IdleTimeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    ListenerDescription string
    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.,;/@-]){2,256}$/.
    QuicConfig Pulumi.AliCloud.Alb.Inputs.ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    RequestTimeout int
    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.
    SecurityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    XForwardedForConfig Pulumi.AliCloud.Alb.Inputs.ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    ListenerPort int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    ListenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    LoadBalancerId string
    The ALB Instance Id.
    AccessLogRecordCustomizedHeadersEnabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    AccessLogTracingConfig ListenerAccessLogTracingConfigArgs
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    AclConfig ListenerAclConfigArgs
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    Certificates ListenerCertificatesArgs
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    DefaultActions []ListenerDefaultActionArgs
    The Default Rule Action List. See default_actions below for details.
    DryRun bool
    The dry run.
    GzipEnabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    Http2Enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    IdleTimeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    ListenerDescription string
    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.,;/@-]){2,256}$/.
    QuicConfig ListenerQuicConfigArgs
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    RequestTimeout int
    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.
    SecurityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    XForwardedForConfig ListenerXForwardedForConfigArgs
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    listenerPort Integer
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol String
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId String
    The ALB Instance Id.
    accessLogRecordCustomizedHeadersEnabled Boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions List<ListenerDefaultAction>
    The Default Rule Action List. See default_actions below for details.
    dryRun Boolean
    The dry run.
    gzipEnabled Boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled Boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout Integer
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription String
    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.,;/@-]){2,256}$/.
    quicConfig ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout Integer
    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.
    securityPolicyId String

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    xForwardedForConfig ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    listenerPort number
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId string
    The ALB Instance Id.
    accessLogRecordCustomizedHeadersEnabled boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions ListenerDefaultAction[]
    The Default Rule Action List. See default_actions below for details.
    dryRun boolean
    The dry run.
    gzipEnabled boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout number
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription string
    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.,;/@-]){2,256}$/.
    quicConfig ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout number
    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.
    securityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    xForwardedForConfig ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    listener_port int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listener_protocol str
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    load_balancer_id str
    The ALB Instance Id.
    access_log_record_customized_headers_enabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    access_log_tracing_config ListenerAccessLogTracingConfigArgs
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    acl_config ListenerAclConfigArgs
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificatesArgs
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    default_actions Sequence[ListenerDefaultActionArgs]
    The Default Rule Action List. See default_actions below for details.
    dry_run bool
    The dry run.
    gzip_enabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2_enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idle_timeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listener_description str
    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.,;/@-]){2,256}$/.
    quic_config ListenerQuicConfigArgs
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    request_timeout int
    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.
    security_policy_id str

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status str
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    x_forwarded_for_config ListenerXForwardedForConfigArgs
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    listenerPort Number
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol String
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId String
    The ALB Instance Id.
    accessLogRecordCustomizedHeadersEnabled Boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig Property Map
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig Property Map
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates Property Map
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions List<Property Map>
    The Default Rule Action List. See default_actions below for details.
    dryRun Boolean
    The dry run.
    gzipEnabled Boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled Boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout Number
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription String
    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.,;/@-]){2,256}$/.
    quicConfig Property Map
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout Number
    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.
    securityPolicyId String

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    xForwardedForConfig Property Map
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Listener resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Listener Resource

    Get an existing Listener resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ListenerState, opts?: CustomResourceOptions): Listener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_log_record_customized_headers_enabled: Optional[bool] = None,
            access_log_tracing_config: Optional[ListenerAccessLogTracingConfigArgs] = None,
            acl_config: Optional[ListenerAclConfigArgs] = None,
            certificates: Optional[ListenerCertificatesArgs] = None,
            default_actions: Optional[Sequence[ListenerDefaultActionArgs]] = None,
            dry_run: Optional[bool] = None,
            gzip_enabled: Optional[bool] = None,
            http2_enabled: Optional[bool] = None,
            idle_timeout: Optional[int] = None,
            listener_description: Optional[str] = None,
            listener_port: Optional[int] = None,
            listener_protocol: Optional[str] = None,
            load_balancer_id: Optional[str] = None,
            quic_config: Optional[ListenerQuicConfigArgs] = None,
            request_timeout: Optional[int] = None,
            security_policy_id: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            x_forwarded_for_config: Optional[ListenerXForwardedForConfigArgs] = None) -> Listener
    func GetListener(ctx *Context, name string, id IDInput, state *ListenerState, opts ...ResourceOption) (*Listener, error)
    public static Listener Get(string name, Input<string> id, ListenerState? state, CustomResourceOptions? opts = null)
    public static Listener get(String name, Output<String> id, ListenerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessLogRecordCustomizedHeadersEnabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    AccessLogTracingConfig Pulumi.AliCloud.Alb.Inputs.ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    AclConfig Pulumi.AliCloud.Alb.Inputs.ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    Certificates Pulumi.AliCloud.Alb.Inputs.ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    DefaultActions List<Pulumi.AliCloud.Alb.Inputs.ListenerDefaultAction>
    The Default Rule Action List. See default_actions below for details.
    DryRun bool
    The dry run.
    GzipEnabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    Http2Enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    IdleTimeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    ListenerDescription string
    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.,;/@-]){2,256}$/.
    ListenerPort int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    ListenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    LoadBalancerId string
    The ALB Instance Id.
    QuicConfig Pulumi.AliCloud.Alb.Inputs.ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    RequestTimeout int
    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.
    SecurityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    XForwardedForConfig Pulumi.AliCloud.Alb.Inputs.ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    AccessLogRecordCustomizedHeadersEnabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    AccessLogTracingConfig ListenerAccessLogTracingConfigArgs
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    AclConfig ListenerAclConfigArgs
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    Certificates ListenerCertificatesArgs
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    DefaultActions []ListenerDefaultActionArgs
    The Default Rule Action List. See default_actions below for details.
    DryRun bool
    The dry run.
    GzipEnabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    Http2Enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    IdleTimeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    ListenerDescription string
    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.,;/@-]){2,256}$/.
    ListenerPort int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    ListenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    LoadBalancerId string
    The ALB Instance Id.
    QuicConfig ListenerQuicConfigArgs
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    RequestTimeout int
    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.
    SecurityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    XForwardedForConfig ListenerXForwardedForConfigArgs
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    accessLogRecordCustomizedHeadersEnabled Boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions List<ListenerDefaultAction>
    The Default Rule Action List. See default_actions below for details.
    dryRun Boolean
    The dry run.
    gzipEnabled Boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled Boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout Integer
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription String
    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.,;/@-]){2,256}$/.
    listenerPort Integer
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol String
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId String
    The ALB Instance Id.
    quicConfig ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout Integer
    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.
    securityPolicyId String

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    xForwardedForConfig ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    accessLogRecordCustomizedHeadersEnabled boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig ListenerAccessLogTracingConfig
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig ListenerAclConfig
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificates
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions ListenerDefaultAction[]
    The Default Rule Action List. See default_actions below for details.
    dryRun boolean
    The dry run.
    gzipEnabled boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout number
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription string
    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.,;/@-]){2,256}$/.
    listenerPort number
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol string
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId string
    The ALB Instance Id.
    quicConfig ListenerQuicConfig
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout number
    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.
    securityPolicyId string

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    xForwardedForConfig ListenerXForwardedForConfig
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    access_log_record_customized_headers_enabled bool

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    access_log_tracing_config ListenerAccessLogTracingConfigArgs
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    acl_config ListenerAclConfigArgs
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates ListenerCertificatesArgs
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    default_actions Sequence[ListenerDefaultActionArgs]
    The Default Rule Action List. See default_actions below for details.
    dry_run bool
    The dry run.
    gzip_enabled bool
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2_enabled bool

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idle_timeout int
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listener_description str
    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.,;/@-]){2,256}$/.
    listener_port int
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listener_protocol str
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    load_balancer_id str
    The ALB Instance Id.
    quic_config ListenerQuicConfigArgs
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    request_timeout int
    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.
    security_policy_id str

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status str
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    x_forwarded_for_config ListenerXForwardedForConfigArgs
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.
    accessLogRecordCustomizedHeadersEnabled Boolean

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

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    accessLogTracingConfig Property Map
    Xtrace Configuration Information. See access_log_tracing_config below for details.
    aclConfig Property Map
    The configurations of the access control lists (ACLs). See acl_config below for details. 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.,

    Deprecated: 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_listener_acl_attachment'.

    certificates Property Map
    The default certificate of the Listener. See certificates below for details. NOTE: When listener_protocol is HTTPS, The default certificate must be set one。
    defaultActions List<Property Map>
    The Default Rule Action List. See default_actions below for details.
    dryRun Boolean
    The dry run.
    gzipEnabled Boolean
    Whether to Enable Gzip Compression, as a Specific File Type on a Compression. Valid values: false, true. Default Value: true. .
    http2Enabled Boolean

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

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    idleTimeout Number
    Specify the Connection Idle Timeout Value: 1 to 60. Unit: Seconds.
    listenerDescription String
    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.,;/@-]){2,256}$/.
    listenerPort Number
    The ALB Instance Front-End, and Those of the Ports Used. Value: 1 to 65535.
    listenerProtocol String
    Snooping Protocols. Valid Values: HTTP, HTTPS Or QUIC.
    loadBalancerId String
    The ALB Instance Id.
    quicConfig Property Map
    Configuration Associated with the QuIC Listening. See quic_config below for details.
    requestTimeout Number
    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.
    securityPolicyId String

    Security Policy.

    NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    tags Map<Any>
    A mapping of tags to assign to the resource.
    xForwardedForConfig Property Map
    The x_forward_for Related Attribute Configuration. See x_forwarded_for_config below for details. NOTE: The attribute is valid when the attribute listener_protocol is HTTPS.

    Supporting Types

    ListenerAccessLogTracingConfig, ListenerAccessLogTracingConfigArgs

    TracingEnabled bool

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    TracingSample int

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    TracingType string

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    TracingEnabled bool

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    TracingSample int

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    TracingType string

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingEnabled Boolean

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    tracingSample Integer

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingType String

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingEnabled boolean

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    tracingSample number

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingType string

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    tracing_enabled bool

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    tracing_sample int

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    tracing_type str

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingEnabled Boolean

    Xtrace Function. Value: True Or False . Default Value: False.

    NOTE: Only Instances outside the Security Group to Access the Log Switch accesslogenabled Open, in Order to Set This Parameter to the True.

    tracingSample Number

    Xtrace Sampling Rate. Value: 1 to 10000.

    NOTE: This attribute is valid when tracingenabled is true.

    tracingType String

    Xtrace Type Value Is Zipkin.

    NOTE: This attribute is valid when tracingenabled is true.

    ListenerAclConfig, ListenerAclConfigArgs

    AclRelations List<Pulumi.AliCloud.Alb.Inputs.ListenerAclConfigAclRelation>
    The ACLs that are associated with the listener. See acl_relations below for details.
    AclType string
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.
    AclRelations []ListenerAclConfigAclRelation
    The ACLs that are associated with the listener. See acl_relations below for details.
    AclType string
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.
    aclRelations List<ListenerAclConfigAclRelation>
    The ACLs that are associated with the listener. See acl_relations below for details.
    aclType String
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.
    aclRelations ListenerAclConfigAclRelation[]
    The ACLs that are associated with the listener. See acl_relations below for details.
    aclType string
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.
    acl_relations Sequence[ListenerAclConfigAclRelation]
    The ACLs that are associated with the listener. See acl_relations below for details.
    acl_type str
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.
    aclRelations List<Property Map>
    The ACLs that are associated with the listener. See acl_relations below for details.
    aclType String
    The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.

    ListenerAclConfigAclRelation, ListenerAclConfigAclRelationArgs

    AclId string
    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    AclId string
    Status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    aclId String
    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    aclId string
    status string
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    acl_id str
    status str
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.
    aclId String
    status String
    The state of the listener. Valid Values: Running Or Stopped. Valid values: Running: The listener is running. Stopped: The listener is stopped.

    ListenerCertificates, ListenerCertificatesArgs

    CertificateId string
    The ID of the Certificate.
    CertificateId string
    The ID of the Certificate.
    certificateId String
    The ID of the Certificate.
    certificateId string
    The ID of the Certificate.
    certificate_id str
    The ID of the Certificate.
    certificateId String
    The ID of the Certificate.

    ListenerDefaultAction, ListenerDefaultActionArgs

    ForwardGroupConfig Pulumi.AliCloud.Alb.Inputs.ListenerDefaultActionForwardGroupConfig
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    Type string
    Action Type.
    ForwardGroupConfig ListenerDefaultActionForwardGroupConfig
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    Type string
    Action Type.
    forwardGroupConfig ListenerDefaultActionForwardGroupConfig
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    type String
    Action Type.
    forwardGroupConfig ListenerDefaultActionForwardGroupConfig
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    type string
    Action Type.
    forward_group_config ListenerDefaultActionForwardGroupConfig
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    type str
    Action Type.
    forwardGroupConfig Property Map
    The configurations of the actions. This parameter is required if Type is set to FowardGroup. See forward_group_config below for details.
    type String
    Action Type.

    ListenerDefaultActionForwardGroupConfig, ListenerDefaultActionForwardGroupConfigArgs

    ListenerDefaultActionForwardGroupConfigServerGroupTuple, ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs

    ListenerQuicConfig, ListenerQuicConfigArgs

    QuicListenerId string
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    QuicUpgradeEnabled bool

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    QuicListenerId string
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    QuicUpgradeEnabled bool

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    quicListenerId String
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    quicUpgradeEnabled Boolean

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    quicListenerId string
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    quicUpgradeEnabled boolean

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    quic_listener_id str
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    quic_upgrade_enabled bool

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    quicListenerId String
    There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
    quicUpgradeEnabled Boolean

    Indicates Whether to Enable the QuIC Upgrade.

    NOTE: The attribute is valid when the attribute ListenerProtocol is HTTPS.

    ListenerXForwardedForConfig, ListenerXForwardedForConfigArgs

    XForwardedForClientCertClientVerifyAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertClientVerifyEnabled bool
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    XForwardedForClientCertFingerPrintAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertFingerPrintEnabled bool
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    XForwardedForClientCertIssuerDnAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    XForwardedForClientCertIssuerDnEnabled bool
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    XForwardedForClientCertSubjectDnAlias string
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertSubjectDnEnabled bool
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    XForwardedForClientSourceIpsEnabled bool
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    XForwardedForClientSourceIpsTrusted string
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    XForwardedForClientSrcPortEnabled bool
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    XForwardedForEnabled bool
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    XForwardedForProtoEnabled bool
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    XForwardedForSlbIdEnabled bool
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    XForwardedForSlbPortEnabled bool
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.
    XForwardedForClientCertClientVerifyAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertClientVerifyEnabled bool
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    XForwardedForClientCertFingerPrintAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertFingerPrintEnabled bool
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    XForwardedForClientCertIssuerDnAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    XForwardedForClientCertIssuerDnEnabled bool
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    XForwardedForClientCertSubjectDnAlias string
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    XForwardedForClientCertSubjectDnEnabled bool
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    XForwardedForClientSourceIpsEnabled bool
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    XForwardedForClientSourceIpsTrusted string
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    XForwardedForClientSrcPortEnabled bool
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    XForwardedForEnabled bool
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    XForwardedForProtoEnabled bool
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    XForwardedForSlbIdEnabled bool
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    XForwardedForSlbPortEnabled bool
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.
    xForwardedForClientCertClientVerifyAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertClientVerifyEnabled Boolean
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    xForwardedForClientCertFingerPrintAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertFingerPrintEnabled Boolean
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    xForwardedForClientCertIssuerDnAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    xForwardedForClientCertIssuerDnEnabled Boolean
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    xForwardedForClientCertSubjectDnAlias String
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertSubjectDnEnabled Boolean
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    xForwardedForClientSourceIpsEnabled Boolean
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    xForwardedForClientSourceIpsTrusted String
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    xForwardedForClientSrcPortEnabled Boolean
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    xForwardedForEnabled Boolean
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    xForwardedForProtoEnabled Boolean
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    xForwardedForSlbIdEnabled Boolean
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    xForwardedForSlbPortEnabled Boolean
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.
    xForwardedForClientCertClientVerifyAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertClientVerifyEnabled boolean
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    xForwardedForClientCertFingerPrintAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertFingerPrintEnabled boolean
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    xForwardedForClientCertIssuerDnAlias string
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    xForwardedForClientCertIssuerDnEnabled boolean
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    xForwardedForClientCertSubjectDnAlias string
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertSubjectDnEnabled boolean
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    xForwardedForClientSourceIpsEnabled boolean
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    xForwardedForClientSourceIpsTrusted string
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    xForwardedForClientSrcPortEnabled boolean
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    xForwardedForEnabled boolean
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    xForwardedForProtoEnabled boolean
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    xForwardedForSlbIdEnabled boolean
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    xForwardedForSlbPortEnabled boolean
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.
    x_forwarded_for_client_cert_client_verify_alias str
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    x_forwarded_for_client_cert_client_verify_enabled bool
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    x_forwarded_for_client_cert_finger_print_alias str
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    x_forwarded_for_client_cert_finger_print_enabled bool
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    x_forwarded_for_client_cert_issuer_dn_alias str
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    x_forwarded_for_client_cert_issuer_dn_enabled bool
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    x_forwarded_for_client_cert_subject_dn_alias str
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    x_forwarded_for_client_cert_subject_dn_enabled bool
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    x_forwarded_for_client_source_ips_enabled bool
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    x_forwarded_for_client_source_ips_trusted str
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    x_forwarded_for_client_src_port_enabled bool
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    x_forwarded_for_enabled bool
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    x_forwarded_for_proto_enabled bool
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    x_forwarded_for_slb_id_enabled bool
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    x_forwarded_for_slb_port_enabled bool
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.
    xForwardedForClientCertClientVerifyAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_cert_client_verify_enabled Has a Value of True, this Value Will Not Take Effect until.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertClientVerifyEnabled Boolean
    Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
    xForwardedForClientCertFingerPrintAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_certfingerprint_enabled, Which Evaluates to True When the Entry into Force of.The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertFingerPrintEnabled Boolean
    Indicates Whether the X-Forwarded-client_cert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
    xForwardedForClientCertIssuerDnAlias String
    The Custom Header Field Names Only When x_forwarded_for_client_cert_issuer_dn_enabled, Which Evaluates to True When the Entry into Force of.
    xForwardedForClientCertIssuerDnEnabled Boolean
    Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
    xForwardedForClientCertSubjectDnAlias String
    The name of the custom header. This parameter is valid only if x_forwarded_for_client_certsubjectdn_enabled is set to true. The name must be 1 to 40 characters in length, and can contain letters, hyphens (-), underscores (_), and digits.
    xForwardedForClientCertSubjectDnEnabled Boolean
    Specifies whether to use the X-Forwarded-client_cert-subjectdn header field to obtain information about the owner of the ALB client certificate. Valid values: true and false. Default value: false.
    xForwardedForClientSourceIpsEnabled Boolean
    Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value: true, false. Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
    xForwardedForClientSourceIpsTrusted String
    Specify the trusted proxy IP. Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
    xForwardedForClientSrcPortEnabled Boolean
    Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
    xForwardedForEnabled Boolean
    Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
    xForwardedForProtoEnabled Boolean
    Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
    xForwardedForSlbIdEnabled Boolean
    Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id.
    xForwardedForSlbPortEnabled Boolean
    Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi