1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. ElbListener
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.ElbListener

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    !> Warning: Classic load balancers are no longer provided, using elastic load balancers instead.

    Manages a classic lb listener resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const elb = new flexibleengine.ElbLoadbalancer("elb", {
        description: "test elb",
        type: "External",
        vpcId: "e346dc4a-d9a6-46f4-90df-10153626076e",
        bandwidth: 5,
    });
    const listener = new flexibleengine.ElbListener("listener", {
        loadbalancerId: elb.elbLoadbalancerId,
        description: "great listener",
        protocol: "TCP",
        backendProtocol: "TCP",
        protocolPort: 12345,
        backendPort: 8080,
        lbAlgorithm: "roundrobin",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    elb = flexibleengine.ElbLoadbalancer("elb",
        description="test elb",
        type="External",
        vpc_id="e346dc4a-d9a6-46f4-90df-10153626076e",
        bandwidth=5)
    listener = flexibleengine.ElbListener("listener",
        loadbalancer_id=elb.elb_loadbalancer_id,
        description="great listener",
        protocol="TCP",
        backend_protocol="TCP",
        protocol_port=12345,
        backend_port=8080,
        lb_algorithm="roundrobin")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		elb, err := flexibleengine.NewElbLoadbalancer(ctx, "elb", &flexibleengine.ElbLoadbalancerArgs{
    			Description: pulumi.String("test elb"),
    			Type:        pulumi.String("External"),
    			VpcId:       pulumi.String("e346dc4a-d9a6-46f4-90df-10153626076e"),
    			Bandwidth:   pulumi.Float64(5),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewElbListener(ctx, "listener", &flexibleengine.ElbListenerArgs{
    			LoadbalancerId:  elb.ElbLoadbalancerId,
    			Description:     pulumi.String("great listener"),
    			Protocol:        pulumi.String("TCP"),
    			BackendProtocol: pulumi.String("TCP"),
    			ProtocolPort:    pulumi.Float64(12345),
    			BackendPort:     pulumi.Float64(8080),
    			LbAlgorithm:     pulumi.String("roundrobin"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var elb = new Flexibleengine.ElbLoadbalancer("elb", new()
        {
            Description = "test elb",
            Type = "External",
            VpcId = "e346dc4a-d9a6-46f4-90df-10153626076e",
            Bandwidth = 5,
        });
    
        var listener = new Flexibleengine.ElbListener("listener", new()
        {
            LoadbalancerId = elb.ElbLoadbalancerId,
            Description = "great listener",
            Protocol = "TCP",
            BackendProtocol = "TCP",
            ProtocolPort = 12345,
            BackendPort = 8080,
            LbAlgorithm = "roundrobin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.ElbLoadbalancer;
    import com.pulumi.flexibleengine.ElbLoadbalancerArgs;
    import com.pulumi.flexibleengine.ElbListener;
    import com.pulumi.flexibleengine.ElbListenerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var elb = new ElbLoadbalancer("elb", ElbLoadbalancerArgs.builder()
                .description("test elb")
                .type("External")
                .vpcId("e346dc4a-d9a6-46f4-90df-10153626076e")
                .bandwidth(5)
                .build());
    
            var listener = new ElbListener("listener", ElbListenerArgs.builder()
                .loadbalancerId(elb.elbLoadbalancerId())
                .description("great listener")
                .protocol("TCP")
                .backendProtocol("TCP")
                .protocolPort(12345)
                .backendPort(8080)
                .lbAlgorithm("roundrobin")
                .build());
    
        }
    }
    
    resources:
      elb:
        type: flexibleengine:ElbLoadbalancer
        properties:
          description: test elb
          type: External
          vpcId: e346dc4a-d9a6-46f4-90df-10153626076e
          bandwidth: 5
      listener:
        type: flexibleengine:ElbListener
        properties:
          loadbalancerId: ${elb.elbLoadbalancerId}
          description: great listener
          protocol: TCP
          backendProtocol: TCP
          protocolPort: 12345
          backendPort: 8080
          lbAlgorithm: roundrobin
    

    Create ElbListener Resource

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

    Constructor syntax

    new ElbListener(name: string, args: ElbListenerArgs, opts?: CustomResourceOptions);
    @overload
    def ElbListener(resource_name: str,
                    args: ElbListenerArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ElbListener(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    lb_algorithm: Optional[str] = None,
                    backend_protocol: Optional[str] = None,
                    protocol_port: Optional[float] = None,
                    protocol: Optional[str] = None,
                    loadbalancer_id: Optional[str] = None,
                    backend_port: Optional[float] = None,
                    elb_listener_id: Optional[str] = None,
                    session_sticky_type: Optional[str] = None,
                    name: Optional[str] = None,
                    cookie_timeout: Optional[float] = None,
                    certificate_id: Optional[str] = None,
                    region: Optional[str] = None,
                    session_sticky: Optional[bool] = None,
                    description: Optional[str] = None,
                    ssl_ciphers: Optional[str] = None,
                    ssl_protocols: Optional[str] = None,
                    tcp_draining: Optional[bool] = None,
                    tcp_draining_timeout: Optional[float] = None,
                    tcp_timeout: Optional[float] = None,
                    timeouts: Optional[ElbListenerTimeoutsArgs] = None,
                    udp_timeout: Optional[float] = None)
    func NewElbListener(ctx *Context, name string, args ElbListenerArgs, opts ...ResourceOption) (*ElbListener, error)
    public ElbListener(string name, ElbListenerArgs args, CustomResourceOptions? opts = null)
    public ElbListener(String name, ElbListenerArgs args)
    public ElbListener(String name, ElbListenerArgs args, CustomResourceOptions options)
    
    type: flexibleengine:ElbListener
    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 ElbListenerArgs
    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 ElbListenerArgs
    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 ElbListenerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ElbListenerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ElbListenerArgs
    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 elbListenerResource = new Flexibleengine.ElbListener("elbListenerResource", new()
    {
        LbAlgorithm = "string",
        BackendProtocol = "string",
        ProtocolPort = 0,
        Protocol = "string",
        LoadbalancerId = "string",
        BackendPort = 0,
        ElbListenerId = "string",
        SessionStickyType = "string",
        Name = "string",
        CookieTimeout = 0,
        CertificateId = "string",
        Region = "string",
        SessionSticky = false,
        Description = "string",
        SslCiphers = "string",
        SslProtocols = "string",
        TcpDraining = false,
        TcpDrainingTimeout = 0,
        TcpTimeout = 0,
        Timeouts = new Flexibleengine.Inputs.ElbListenerTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        UdpTimeout = 0,
    });
    
    example, err := flexibleengine.NewElbListener(ctx, "elbListenerResource", &flexibleengine.ElbListenerArgs{
    	LbAlgorithm:        pulumi.String("string"),
    	BackendProtocol:    pulumi.String("string"),
    	ProtocolPort:       pulumi.Float64(0),
    	Protocol:           pulumi.String("string"),
    	LoadbalancerId:     pulumi.String("string"),
    	BackendPort:        pulumi.Float64(0),
    	ElbListenerId:      pulumi.String("string"),
    	SessionStickyType:  pulumi.String("string"),
    	Name:               pulumi.String("string"),
    	CookieTimeout:      pulumi.Float64(0),
    	CertificateId:      pulumi.String("string"),
    	Region:             pulumi.String("string"),
    	SessionSticky:      pulumi.Bool(false),
    	Description:        pulumi.String("string"),
    	SslCiphers:         pulumi.String("string"),
    	SslProtocols:       pulumi.String("string"),
    	TcpDraining:        pulumi.Bool(false),
    	TcpDrainingTimeout: pulumi.Float64(0),
    	TcpTimeout:         pulumi.Float64(0),
    	Timeouts: &flexibleengine.ElbListenerTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	UdpTimeout: pulumi.Float64(0),
    })
    
    var elbListenerResource = new ElbListener("elbListenerResource", ElbListenerArgs.builder()
        .lbAlgorithm("string")
        .backendProtocol("string")
        .protocolPort(0)
        .protocol("string")
        .loadbalancerId("string")
        .backendPort(0)
        .elbListenerId("string")
        .sessionStickyType("string")
        .name("string")
        .cookieTimeout(0)
        .certificateId("string")
        .region("string")
        .sessionSticky(false)
        .description("string")
        .sslCiphers("string")
        .sslProtocols("string")
        .tcpDraining(false)
        .tcpDrainingTimeout(0)
        .tcpTimeout(0)
        .timeouts(ElbListenerTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .udpTimeout(0)
        .build());
    
    elb_listener_resource = flexibleengine.ElbListener("elbListenerResource",
        lb_algorithm="string",
        backend_protocol="string",
        protocol_port=0,
        protocol="string",
        loadbalancer_id="string",
        backend_port=0,
        elb_listener_id="string",
        session_sticky_type="string",
        name="string",
        cookie_timeout=0,
        certificate_id="string",
        region="string",
        session_sticky=False,
        description="string",
        ssl_ciphers="string",
        ssl_protocols="string",
        tcp_draining=False,
        tcp_draining_timeout=0,
        tcp_timeout=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        udp_timeout=0)
    
    const elbListenerResource = new flexibleengine.ElbListener("elbListenerResource", {
        lbAlgorithm: "string",
        backendProtocol: "string",
        protocolPort: 0,
        protocol: "string",
        loadbalancerId: "string",
        backendPort: 0,
        elbListenerId: "string",
        sessionStickyType: "string",
        name: "string",
        cookieTimeout: 0,
        certificateId: "string",
        region: "string",
        sessionSticky: false,
        description: "string",
        sslCiphers: "string",
        sslProtocols: "string",
        tcpDraining: false,
        tcpDrainingTimeout: 0,
        tcpTimeout: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        udpTimeout: 0,
    });
    
    type: flexibleengine:ElbListener
    properties:
        backendPort: 0
        backendProtocol: string
        certificateId: string
        cookieTimeout: 0
        description: string
        elbListenerId: string
        lbAlgorithm: string
        loadbalancerId: string
        name: string
        protocol: string
        protocolPort: 0
        region: string
        sessionSticky: false
        sessionStickyType: string
        sslCiphers: string
        sslProtocols: string
        tcpDraining: false
        tcpDrainingTimeout: 0
        tcpTimeout: 0
        timeouts:
            create: string
            delete: string
            update: string
        udpTimeout: 0
    

    ElbListener Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ElbListener resource accepts the following input properties:

    BackendPort double
    Specifies the backend port. The value ranges from 1 to 65535.
    BackendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    LbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    LoadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    Protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    ProtocolPort double
    Specifies the listening port. The value ranges from 1 to 65535.
    CertificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    CookieTimeout double
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    Description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    ElbListenerId string
    Specifies the listener ID.
    Name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    Region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    SessionSticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    SessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    SslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    SslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    TcpDraining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    TcpDrainingTimeout double
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    TcpTimeout double
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    Timeouts ElbListenerTimeouts
    UdpTimeout double
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    BackendPort float64
    Specifies the backend port. The value ranges from 1 to 65535.
    BackendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    LbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    LoadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    Protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    ProtocolPort float64
    Specifies the listening port. The value ranges from 1 to 65535.
    CertificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    CookieTimeout float64
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    Description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    ElbListenerId string
    Specifies the listener ID.
    Name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    Region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    SessionSticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    SessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    SslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    SslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    TcpDraining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    TcpDrainingTimeout float64
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    TcpTimeout float64
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    Timeouts ElbListenerTimeoutsArgs
    UdpTimeout float64
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort Double
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol String
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    lbAlgorithm String
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId String
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    protocol String
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort Double
    Specifies the listening port. The value ranges from 1 to 65535.
    certificateId String
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout Double
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description String
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId String
    Specifies the listener ID.
    name String
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    region String
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky Boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType String
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers String
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols String
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining Boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout Double
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout Double
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeouts
    udpTimeout Double
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort number
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    lbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort number
    Specifies the listening port. The value ranges from 1 to 65535.
    certificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout number
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId string
    Specifies the listener ID.
    name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout number
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout number
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeouts
    udpTimeout number
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backend_port float
    Specifies the backend port. The value ranges from 1 to 65535.
    backend_protocol str
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    lb_algorithm str
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancer_id str
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    protocol str
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocol_port float
    Specifies the listening port. The value ranges from 1 to 65535.
    certificate_id str
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookie_timeout float
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description str
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elb_listener_id str
    Specifies the listener ID.
    name str
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    region str
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    session_sticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    session_sticky_type str
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    ssl_ciphers str
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    ssl_protocols str
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcp_draining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcp_draining_timeout float
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcp_timeout float
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeoutsArgs
    udp_timeout float
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort Number
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol String
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    lbAlgorithm String
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId String
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    protocol String
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort Number
    Specifies the listening port. The value ranges from 1 to 65535.
    certificateId String
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout Number
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description String
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId String
    Specifies the listener ID.
    name String
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    region String
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky Boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType String
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers String
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols String
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining Boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout Number
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout Number
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts Property Map
    udpTimeout Number
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ElbListener 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 ElbListener Resource

    Get an existing ElbListener 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?: ElbListenerState, opts?: CustomResourceOptions): ElbListener
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backend_port: Optional[float] = None,
            backend_protocol: Optional[str] = None,
            certificate_id: Optional[str] = None,
            cookie_timeout: Optional[float] = None,
            description: Optional[str] = None,
            elb_listener_id: Optional[str] = None,
            lb_algorithm: Optional[str] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[str] = None,
            protocol_port: Optional[float] = None,
            region: Optional[str] = None,
            session_sticky: Optional[bool] = None,
            session_sticky_type: Optional[str] = None,
            ssl_ciphers: Optional[str] = None,
            ssl_protocols: Optional[str] = None,
            tcp_draining: Optional[bool] = None,
            tcp_draining_timeout: Optional[float] = None,
            tcp_timeout: Optional[float] = None,
            timeouts: Optional[ElbListenerTimeoutsArgs] = None,
            udp_timeout: Optional[float] = None) -> ElbListener
    func GetElbListener(ctx *Context, name string, id IDInput, state *ElbListenerState, opts ...ResourceOption) (*ElbListener, error)
    public static ElbListener Get(string name, Input<string> id, ElbListenerState? state, CustomResourceOptions? opts = null)
    public static ElbListener get(String name, Output<String> id, ElbListenerState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:ElbListener    get:      id: ${id}
    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:
    BackendPort double
    Specifies the backend port. The value ranges from 1 to 65535.
    BackendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    CertificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    CookieTimeout double
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    Description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    ElbListenerId string
    Specifies the listener ID.
    LbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    LoadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    Name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    Protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    ProtocolPort double
    Specifies the listening port. The value ranges from 1 to 65535.
    Region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    SessionSticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    SessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    SslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    SslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    TcpDraining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    TcpDrainingTimeout double
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    TcpTimeout double
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    Timeouts ElbListenerTimeouts
    UdpTimeout double
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    BackendPort float64
    Specifies the backend port. The value ranges from 1 to 65535.
    BackendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    CertificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    CookieTimeout float64
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    Description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    ElbListenerId string
    Specifies the listener ID.
    LbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    LoadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    Name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    Protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    ProtocolPort float64
    Specifies the listening port. The value ranges from 1 to 65535.
    Region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    SessionSticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    SessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    SslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    SslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    TcpDraining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    TcpDrainingTimeout float64
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    TcpTimeout float64
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    Timeouts ElbListenerTimeoutsArgs
    UdpTimeout float64
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort Double
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol String
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    certificateId String
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout Double
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description String
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId String
    Specifies the listener ID.
    lbAlgorithm String
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId String
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    name String
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    protocol String
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort Double
    Specifies the listening port. The value ranges from 1 to 65535.
    region String
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky Boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType String
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers String
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols String
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining Boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout Double
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout Double
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeouts
    udpTimeout Double
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort number
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol string
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    certificateId string
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout number
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description string
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId string
    Specifies the listener ID.
    lbAlgorithm string
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId string
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    name string
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    protocol string
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort number
    Specifies the listening port. The value ranges from 1 to 65535.
    region string
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType string
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers string
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols string
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout number
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout number
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeouts
    udpTimeout number
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backend_port float
    Specifies the backend port. The value ranges from 1 to 65535.
    backend_protocol str
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    certificate_id str
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookie_timeout float
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description str
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elb_listener_id str
    Specifies the listener ID.
    lb_algorithm str
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancer_id str
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    name str
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    protocol str
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocol_port float
    Specifies the listening port. The value ranges from 1 to 65535.
    region str
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    session_sticky bool
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    session_sticky_type str
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    ssl_ciphers str
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    ssl_protocols str
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcp_draining bool
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcp_draining_timeout float
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcp_timeout float
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts ElbListenerTimeoutsArgs
    udp_timeout float
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.
    backendPort Number
    Specifies the backend port. The value ranges from 1 to 65535.
    backendProtocol String
    Specifies the backend protocol. If the value of protocol is UDP, the value of this parameter can only be UDP. The value can be HTTP, TCP, or UDP. Changing this creates a new elb listener.
    certificateId String
    Specifies the ID of the SSL certificate used for security authentication when HTTPS is used to make API calls. This parameter is mandatory if the value of protocol is HTTPS. The value can be obtained by viewing the details of the SSL certificate. Changing this creates a new elb listener.
    cookieTimeout Number
    Specifies the cookie timeout period (minutes). This parameter is valid when protocol is set to HTTP, session_sticky to true, and session_sticky_type to insert. This parameter is invalid when protocol is set to TCP or UDP. The value ranges from 1 to 1440. Changing this creates a new elb listener.
    description String
    Provides supplementary information about the listener. The value is a string of 0 to 128 characters and cannot be <>.
    elbListenerId String
    Specifies the listener ID.
    lbAlgorithm String
    Specifies the load balancing algorithm for the listener. The value can be round-robin, leastconn, or source.
    loadbalancerId String
    Specifies the ID of the load balancer to which the listener belongs. Changing this creates a new elb listener.
    name String
    Specifies the load balancer name. The name is a string of 1 to 64 characters that consist of letters, digits, underscores (_), and hyphens (-).
    protocol String
    Specifies the listening protocol used for layer 4 or 7. The value can be HTTP, TCP, HTTPS, or UDP. Changing this creates a new elb listener.
    protocolPort Number
    Specifies the listening port. The value ranges from 1 to 65535.
    region String
    The region in which to create the elb listener. If omitted, the region argument of the provider is used. Changing this creates a new elb listener.
    sessionSticky Boolean
    Specifies whether to enable sticky session. The value can be true or false. The Sticky session is enabled when the value is true, and is disabled when the value is false. If the value of protocol is HTTP, HTTPS, or TCP, and the value of lb_algorithm is not round-robin, the value of this parameter can only be false. Changing this creates a new elb listener.
    sessionStickyType String
    Specifies the cookie processing method. The value is insert. insert indicates that the cookie is inserted by the load balancer. This parameter is valid when protocol is set to HTTP, and session_sticky to true. The default value is insert. This parameter is invalid when protocol is set to TCP or UDP, which means the parameter is empty. Changing this creates a new elb listener.
    sslCiphers String
    Specifies the cipher suite of an encryption protocol. This parameter is valid only when the value of protocol is set to HTTPS. The value is Default, Extended, or Strict. The default value is Default. The value can only be set to Extended if the value of ssl_protocols is set to TLSv1.2 TLSv1.1 TLSv1.
    sslProtocols String
    Specifies the SSL protocol standard supported by a tracker, which is used for enabling specified encryption protocols. This parameter is valid only when the value of protocol is set to HTTPS. The value is TLSv1.2 or TLSv1.2 TLSv1.1 TLSv1. The default value is TLSv1.2. Changing this creates a new elb listener.
    tcpDraining Boolean
    Specifies whether to maintain the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP. The value can be true or false.
    tcpDrainingTimeout Number
    Specifies the timeout duration (minutes) for the TCP connection to the backend ECS after the ECS is deleted. This parameter is valid when protocol is set to TCP, and tcp_draining to true. The value ranges from 0 to 60.
    tcpTimeout Number
    Specifies the TCP timeout period (minutes). This parameter is valid when protocol is set to TCP. The value ranges from 1 to 5.
    timeouts Property Map
    udpTimeout Number
    Specifies the UDP timeout duration (minutes). This parameter is valid when protocol is set to UDP. The value ranges from 1 to 1440.

    Supporting Types

    ElbListenerTimeouts, ElbListenerTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud