1. Packages
  2. Scaleway
  3. API Docs
  4. LoadbalancerRoute
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.LoadbalancerRoute

Explore with Pulumi AI

Deprecated: scaleway.index/loadbalancerroute.LoadbalancerRoute has been deprecated in favor of scaleway.loadbalancers/route.Route

Creates and manages Scaleway Load Balancer routes.

For more information, see the main documentation or API documentation.

Example Usage

With SNI for direction to TCP backends

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const ip01 = new scaleway.loadbalancers.Ip("ip01", {});
const lb01 = new scaleway.loadbalancers.LoadBalancer("lb01", {
    ipId: ip01.id,
    name: "test-lb",
    type: "lb-s",
});
const bkd01 = new scaleway.loadbalancers.Backend("bkd01", {
    lbId: lb01.id,
    forwardProtocol: "tcp",
    forwardPort: 80,
    proxyProtocol: "none",
});
const frt01 = new scaleway.loadbalancers.Frontend("frt01", {
    lbId: lb01.id,
    backendId: bkd01.id,
    inboundPort: 80,
});
const rt01 = new scaleway.loadbalancers.Route("rt01", {
    frontendId: frt01.id,
    backendId: bkd01.id,
    matchSni: "sni.scaleway.com",
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

ip01 = scaleway.loadbalancers.Ip("ip01")
lb01 = scaleway.loadbalancers.LoadBalancer("lb01",
    ip_id=ip01.id,
    name="test-lb",
    type="lb-s")
bkd01 = scaleway.loadbalancers.Backend("bkd01",
    lb_id=lb01.id,
    forward_protocol="tcp",
    forward_port=80,
    proxy_protocol="none")
frt01 = scaleway.loadbalancers.Frontend("frt01",
    lb_id=lb01.id,
    backend_id=bkd01.id,
    inbound_port=80)
rt01 = scaleway.loadbalancers.Route("rt01",
    frontend_id=frt01.id,
    backend_id=bkd01.id,
    match_sni="sni.scaleway.com")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/loadbalancers"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ip01, err := loadbalancers.NewIp(ctx, "ip01", nil)
		if err != nil {
			return err
		}
		lb01, err := loadbalancers.NewLoadBalancer(ctx, "lb01", &loadbalancers.LoadBalancerArgs{
			IpId: ip01.ID(),
			Name: pulumi.String("test-lb"),
			Type: pulumi.String("lb-s"),
		})
		if err != nil {
			return err
		}
		bkd01, err := loadbalancers.NewBackend(ctx, "bkd01", &loadbalancers.BackendArgs{
			LbId:            lb01.ID(),
			ForwardProtocol: pulumi.String("tcp"),
			ForwardPort:     pulumi.Int(80),
			ProxyProtocol:   pulumi.String("none"),
		})
		if err != nil {
			return err
		}
		frt01, err := loadbalancers.NewFrontend(ctx, "frt01", &loadbalancers.FrontendArgs{
			LbId:        lb01.ID(),
			BackendId:   bkd01.ID(),
			InboundPort: pulumi.Int(80),
		})
		if err != nil {
			return err
		}
		_, err = loadbalancers.NewRoute(ctx, "rt01", &loadbalancers.RouteArgs{
			FrontendId: frt01.ID(),
			BackendId:  bkd01.ID(),
			MatchSni:   pulumi.String("sni.scaleway.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var ip01 = new Scaleway.Loadbalancers.Ip("ip01");

    var lb01 = new Scaleway.Loadbalancers.LoadBalancer("lb01", new()
    {
        IpId = ip01.Id,
        Name = "test-lb",
        Type = "lb-s",
    });

    var bkd01 = new Scaleway.Loadbalancers.Backend("bkd01", new()
    {
        LbId = lb01.Id,
        ForwardProtocol = "tcp",
        ForwardPort = 80,
        ProxyProtocol = "none",
    });

    var frt01 = new Scaleway.Loadbalancers.Frontend("frt01", new()
    {
        LbId = lb01.Id,
        BackendId = bkd01.Id,
        InboundPort = 80,
    });

    var rt01 = new Scaleway.Loadbalancers.Route("rt01", new()
    {
        FrontendId = frt01.Id,
        BackendId = bkd01.Id,
        MatchSni = "sni.scaleway.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.loadbalancers.Ip;
import com.pulumi.scaleway.loadbalancers.LoadBalancer;
import com.pulumi.scaleway.loadbalancers.LoadBalancerArgs;
import com.pulumi.scaleway.loadbalancers.Backend;
import com.pulumi.scaleway.loadbalancers.BackendArgs;
import com.pulumi.scaleway.loadbalancers.Frontend;
import com.pulumi.scaleway.loadbalancers.FrontendArgs;
import com.pulumi.scaleway.loadbalancers.Route;
import com.pulumi.scaleway.loadbalancers.RouteArgs;
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 ip01 = new Ip("ip01");

        var lb01 = new LoadBalancer("lb01", LoadBalancerArgs.builder()
            .ipId(ip01.id())
            .name("test-lb")
            .type("lb-s")
            .build());

        var bkd01 = new Backend("bkd01", BackendArgs.builder()
            .lbId(lb01.id())
            .forwardProtocol("tcp")
            .forwardPort(80)
            .proxyProtocol("none")
            .build());

        var frt01 = new Frontend("frt01", FrontendArgs.builder()
            .lbId(lb01.id())
            .backendId(bkd01.id())
            .inboundPort(80)
            .build());

        var rt01 = new Route("rt01", RouteArgs.builder()
            .frontendId(frt01.id())
            .backendId(bkd01.id())
            .matchSni("sni.scaleway.com")
            .build());

    }
}
Copy
resources:
  ip01:
    type: scaleway:loadbalancers:Ip
  lb01:
    type: scaleway:loadbalancers:LoadBalancer
    properties:
      ipId: ${ip01.id}
      name: test-lb
      type: lb-s
  bkd01:
    type: scaleway:loadbalancers:Backend
    properties:
      lbId: ${lb01.id}
      forwardProtocol: tcp
      forwardPort: 80
      proxyProtocol: none
  frt01:
    type: scaleway:loadbalancers:Frontend
    properties:
      lbId: ${lb01.id}
      backendId: ${bkd01.id}
      inboundPort: 80
  rt01:
    type: scaleway:loadbalancers:Route
    properties:
      frontendId: ${frt01.id}
      backendId: ${bkd01.id}
      matchSni: sni.scaleway.com
Copy

With host-header for direction to HTTP backends

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const ip01 = new scaleway.loadbalancers.Ip("ip01", {});
const lb01 = new scaleway.loadbalancers.LoadBalancer("lb01", {
    ipId: ip01.id,
    name: "test-lb",
    type: "lb-s",
});
const bkd01 = new scaleway.loadbalancers.Backend("bkd01", {
    lbId: lb01.id,
    forwardProtocol: "http",
    forwardPort: 80,
    proxyProtocol: "none",
});
const frt01 = new scaleway.loadbalancers.Frontend("frt01", {
    lbId: lb01.id,
    backendId: bkd01.id,
    inboundPort: 80,
});
const rt01 = new scaleway.loadbalancers.Route("rt01", {
    frontendId: frt01.id,
    backendId: bkd01.id,
    matchHostHeader: "host.scaleway.com",
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

ip01 = scaleway.loadbalancers.Ip("ip01")
lb01 = scaleway.loadbalancers.LoadBalancer("lb01",
    ip_id=ip01.id,
    name="test-lb",
    type="lb-s")
bkd01 = scaleway.loadbalancers.Backend("bkd01",
    lb_id=lb01.id,
    forward_protocol="http",
    forward_port=80,
    proxy_protocol="none")
frt01 = scaleway.loadbalancers.Frontend("frt01",
    lb_id=lb01.id,
    backend_id=bkd01.id,
    inbound_port=80)
rt01 = scaleway.loadbalancers.Route("rt01",
    frontend_id=frt01.id,
    backend_id=bkd01.id,
    match_host_header="host.scaleway.com")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/loadbalancers"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ip01, err := loadbalancers.NewIp(ctx, "ip01", nil)
		if err != nil {
			return err
		}
		lb01, err := loadbalancers.NewLoadBalancer(ctx, "lb01", &loadbalancers.LoadBalancerArgs{
			IpId: ip01.ID(),
			Name: pulumi.String("test-lb"),
			Type: pulumi.String("lb-s"),
		})
		if err != nil {
			return err
		}
		bkd01, err := loadbalancers.NewBackend(ctx, "bkd01", &loadbalancers.BackendArgs{
			LbId:            lb01.ID(),
			ForwardProtocol: pulumi.String("http"),
			ForwardPort:     pulumi.Int(80),
			ProxyProtocol:   pulumi.String("none"),
		})
		if err != nil {
			return err
		}
		frt01, err := loadbalancers.NewFrontend(ctx, "frt01", &loadbalancers.FrontendArgs{
			LbId:        lb01.ID(),
			BackendId:   bkd01.ID(),
			InboundPort: pulumi.Int(80),
		})
		if err != nil {
			return err
		}
		_, err = loadbalancers.NewRoute(ctx, "rt01", &loadbalancers.RouteArgs{
			FrontendId:      frt01.ID(),
			BackendId:       bkd01.ID(),
			MatchHostHeader: pulumi.String("host.scaleway.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var ip01 = new Scaleway.Loadbalancers.Ip("ip01");

    var lb01 = new Scaleway.Loadbalancers.LoadBalancer("lb01", new()
    {
        IpId = ip01.Id,
        Name = "test-lb",
        Type = "lb-s",
    });

    var bkd01 = new Scaleway.Loadbalancers.Backend("bkd01", new()
    {
        LbId = lb01.Id,
        ForwardProtocol = "http",
        ForwardPort = 80,
        ProxyProtocol = "none",
    });

    var frt01 = new Scaleway.Loadbalancers.Frontend("frt01", new()
    {
        LbId = lb01.Id,
        BackendId = bkd01.Id,
        InboundPort = 80,
    });

    var rt01 = new Scaleway.Loadbalancers.Route("rt01", new()
    {
        FrontendId = frt01.Id,
        BackendId = bkd01.Id,
        MatchHostHeader = "host.scaleway.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.loadbalancers.Ip;
import com.pulumi.scaleway.loadbalancers.LoadBalancer;
import com.pulumi.scaleway.loadbalancers.LoadBalancerArgs;
import com.pulumi.scaleway.loadbalancers.Backend;
import com.pulumi.scaleway.loadbalancers.BackendArgs;
import com.pulumi.scaleway.loadbalancers.Frontend;
import com.pulumi.scaleway.loadbalancers.FrontendArgs;
import com.pulumi.scaleway.loadbalancers.Route;
import com.pulumi.scaleway.loadbalancers.RouteArgs;
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 ip01 = new Ip("ip01");

        var lb01 = new LoadBalancer("lb01", LoadBalancerArgs.builder()
            .ipId(ip01.id())
            .name("test-lb")
            .type("lb-s")
            .build());

        var bkd01 = new Backend("bkd01", BackendArgs.builder()
            .lbId(lb01.id())
            .forwardProtocol("http")
            .forwardPort(80)
            .proxyProtocol("none")
            .build());

        var frt01 = new Frontend("frt01", FrontendArgs.builder()
            .lbId(lb01.id())
            .backendId(bkd01.id())
            .inboundPort(80)
            .build());

        var rt01 = new Route("rt01", RouteArgs.builder()
            .frontendId(frt01.id())
            .backendId(bkd01.id())
            .matchHostHeader("host.scaleway.com")
            .build());

    }
}
Copy
resources:
  ip01:
    type: scaleway:loadbalancers:Ip
  lb01:
    type: scaleway:loadbalancers:LoadBalancer
    properties:
      ipId: ${ip01.id}
      name: test-lb
      type: lb-s
  bkd01:
    type: scaleway:loadbalancers:Backend
    properties:
      lbId: ${lb01.id}
      forwardProtocol: http
      forwardPort: 80
      proxyProtocol: none
  frt01:
    type: scaleway:loadbalancers:Frontend
    properties:
      lbId: ${lb01.id}
      backendId: ${bkd01.id}
      inboundPort: 80
  rt01:
    type: scaleway:loadbalancers:Route
    properties:
      frontendId: ${frt01.id}
      backendId: ${bkd01.id}
      matchHostHeader: host.scaleway.com
Copy

Create LoadbalancerRoute Resource

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

Constructor syntax

new LoadbalancerRoute(name: string, args: LoadbalancerRouteArgs, opts?: CustomResourceOptions);
@overload
def LoadbalancerRoute(resource_name: str,
                      args: LoadbalancerRouteArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def LoadbalancerRoute(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      backend_id: Optional[str] = None,
                      frontend_id: Optional[str] = None,
                      match_host_header: Optional[str] = None,
                      match_sni: Optional[str] = None,
                      match_subdomains: Optional[bool] = None)
func NewLoadbalancerRoute(ctx *Context, name string, args LoadbalancerRouteArgs, opts ...ResourceOption) (*LoadbalancerRoute, error)
public LoadbalancerRoute(string name, LoadbalancerRouteArgs args, CustomResourceOptions? opts = null)
public LoadbalancerRoute(String name, LoadbalancerRouteArgs args)
public LoadbalancerRoute(String name, LoadbalancerRouteArgs args, CustomResourceOptions options)
type: scaleway:LoadbalancerRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

LoadbalancerRoute 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 LoadbalancerRoute resource accepts the following input properties:

BackendId This property is required. string
The ID of the backend the route is associated with.
FrontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the frontend the route is associated with.
MatchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

MatchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

MatchSubdomains bool
If true, all subdomains will match.
BackendId This property is required. string
The ID of the backend the route is associated with.
FrontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the frontend the route is associated with.
MatchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

MatchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

MatchSubdomains bool
If true, all subdomains will match.
backendId This property is required. String
The ID of the backend the route is associated with.
frontendId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the frontend the route is associated with.
matchHostHeader String

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni String

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains Boolean
If true, all subdomains will match.
backendId This property is required. string
The ID of the backend the route is associated with.
frontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the frontend the route is associated with.
matchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains boolean
If true, all subdomains will match.
backend_id This property is required. str
The ID of the backend the route is associated with.
frontend_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the frontend the route is associated with.
match_host_header str

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

match_sni str

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

match_subdomains bool
If true, all subdomains will match.
backendId This property is required. String
The ID of the backend the route is associated with.
frontendId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the frontend the route is associated with.
matchHostHeader String

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni String

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains Boolean
If true, all subdomains will match.

Outputs

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

CreatedAt string
The date on which the route was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The date on which the route was last updated.
CreatedAt string
The date on which the route was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
The date on which the route was last updated.
createdAt String
The date on which the route was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The date on which the route was last updated.
createdAt string
The date on which the route was created.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
The date on which the route was last updated.
created_at str
The date on which the route was created.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
The date on which the route was last updated.
createdAt String
The date on which the route was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
The date on which the route was last updated.

Look up Existing LoadbalancerRoute Resource

Get an existing LoadbalancerRoute 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?: LoadbalancerRouteState, opts?: CustomResourceOptions): LoadbalancerRoute
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend_id: Optional[str] = None,
        created_at: Optional[str] = None,
        frontend_id: Optional[str] = None,
        match_host_header: Optional[str] = None,
        match_sni: Optional[str] = None,
        match_subdomains: Optional[bool] = None,
        updated_at: Optional[str] = None) -> LoadbalancerRoute
func GetLoadbalancerRoute(ctx *Context, name string, id IDInput, state *LoadbalancerRouteState, opts ...ResourceOption) (*LoadbalancerRoute, error)
public static LoadbalancerRoute Get(string name, Input<string> id, LoadbalancerRouteState? state, CustomResourceOptions? opts = null)
public static LoadbalancerRoute get(String name, Output<String> id, LoadbalancerRouteState state, CustomResourceOptions options)
resources:  _:    type: scaleway:LoadbalancerRoute    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
BackendId string
The ID of the backend the route is associated with.
CreatedAt string
The date on which the route was created.
FrontendId Changes to this property will trigger replacement. string
The ID of the frontend the route is associated with.
MatchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

MatchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

MatchSubdomains bool
If true, all subdomains will match.
UpdatedAt string
The date on which the route was last updated.
BackendId string
The ID of the backend the route is associated with.
CreatedAt string
The date on which the route was created.
FrontendId Changes to this property will trigger replacement. string
The ID of the frontend the route is associated with.
MatchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

MatchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

MatchSubdomains bool
If true, all subdomains will match.
UpdatedAt string
The date on which the route was last updated.
backendId String
The ID of the backend the route is associated with.
createdAt String
The date on which the route was created.
frontendId Changes to this property will trigger replacement. String
The ID of the frontend the route is associated with.
matchHostHeader String

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni String

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains Boolean
If true, all subdomains will match.
updatedAt String
The date on which the route was last updated.
backendId string
The ID of the backend the route is associated with.
createdAt string
The date on which the route was created.
frontendId Changes to this property will trigger replacement. string
The ID of the frontend the route is associated with.
matchHostHeader string

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni string

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains boolean
If true, all subdomains will match.
updatedAt string
The date on which the route was last updated.
backend_id str
The ID of the backend the route is associated with.
created_at str
The date on which the route was created.
frontend_id Changes to this property will trigger replacement. str
The ID of the frontend the route is associated with.
match_host_header str

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

match_sni str

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

match_subdomains bool
If true, all subdomains will match.
updated_at str
The date on which the route was last updated.
backendId String
The ID of the backend the route is associated with.
createdAt String
The date on which the route was created.
frontendId Changes to this property will trigger replacement. String
The ID of the frontend the route is associated with.
matchHostHeader String

The HTTP host header to match. Value to match in the HTTP Host request header from an incoming connection. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on HTTP Load Balancers.

matchSni String

The Server Name Indication (SNI) value to match. Value to match in the Server Name Indication TLS extension (SNI) field from an incoming connection made via an SSL/TLS transport layer. Only one of match_sni and match_host_header should be specified.

Important: This field should be set for routes on TCP Load Balancers.

matchSubdomains Boolean
If true, all subdomains will match.
updatedAt String
The date on which the route was last updated.

Import

Load Balancer frontends can be imported using {zone}/{id}, e.g.

bash

$ pulumi import scaleway:index/loadbalancerRoute:LoadbalancerRoute main fr-par-1/11111111-1111-1111-1111-111111111111
Copy

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

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.