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

scaleway.loadbalancers.Acl

Explore with Pulumi AI

Creates and manages Scaleway Load Balancer ACLs.

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

Example Usage

Basic

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

const acl01 = new scaleway.loadbalancers.Acl("acl01", {
    frontendId: frt01.id,
    name: "acl01",
    description: "Exclude well-known IPs",
    index: 0,
    action: {
        type: "allow",
    },
    match: {
        ipSubnets: [
            "192.168.0.1",
            "192.168.0.2",
            "192.168.10.0/24",
        ],
    },
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

acl01 = scaleway.loadbalancers.Acl("acl01",
    frontend_id=frt01["id"],
    name="acl01",
    description="Exclude well-known IPs",
    index=0,
    action={
        "type": "allow",
    },
    match={
        "ip_subnets": [
            "192.168.0.1",
            "192.168.0.2",
            "192.168.10.0/24",
        ],
    })
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 {
		_, err := loadbalancers.NewAcl(ctx, "acl01", &loadbalancers.AclArgs{
			FrontendId:  pulumi.Any(frt01.Id),
			Name:        pulumi.String("acl01"),
			Description: pulumi.String("Exclude well-known IPs"),
			Index:       pulumi.Int(0),
			Action: &loadbalancers.AclActionArgs{
				Type: pulumi.String("allow"),
			},
			Match: &loadbalancers.AclMatchArgs{
				IpSubnets: pulumi.StringArray{
					pulumi.String("192.168.0.1"),
					pulumi.String("192.168.0.2"),
					pulumi.String("192.168.10.0/24"),
				},
			},
		})
		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 acl01 = new Scaleway.Loadbalancers.Acl("acl01", new()
    {
        FrontendId = frt01.Id,
        Name = "acl01",
        Description = "Exclude well-known IPs",
        Index = 0,
        Action = new Scaleway.Loadbalancers.Inputs.AclActionArgs
        {
            Type = "allow",
        },
        Match = new Scaleway.Loadbalancers.Inputs.AclMatchArgs
        {
            IpSubnets = new[]
            {
                "192.168.0.1",
                "192.168.0.2",
                "192.168.10.0/24",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.loadbalancers.Acl;
import com.pulumi.scaleway.loadbalancers.AclArgs;
import com.pulumi.scaleway.loadbalancers.inputs.AclActionArgs;
import com.pulumi.scaleway.loadbalancers.inputs.AclMatchArgs;
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 acl01 = new Acl("acl01", AclArgs.builder()
            .frontendId(frt01.id())
            .name("acl01")
            .description("Exclude well-known IPs")
            .index(0)
            .action(AclActionArgs.builder()
                .type("allow")
                .build())
            .match(AclMatchArgs.builder()
                .ipSubnets(                
                    "192.168.0.1",
                    "192.168.0.2",
                    "192.168.10.0/24")
                .build())
            .build());

    }
}
Copy
resources:
  acl01:
    type: scaleway:loadbalancers:Acl
    properties:
      frontendId: ${frt01.id}
      name: acl01
      description: Exclude well-known IPs
      index: 0 # Allow downstream requests from: 192.168.0.1, 192.168.0.2 or 192.168.10.0/24
      action:
        type: allow
      match:
        ipSubnets:
          - 192.168.0.1
          - 192.168.0.2
          - 192.168.10.0/24
Copy

Create Acl Resource

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

Constructor syntax

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

@overload
def Acl(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[AclActionArgs] = None,
        frontend_id: Optional[str] = None,
        index: Optional[int] = None,
        description: Optional[str] = None,
        match: Optional[AclMatchArgs] = None,
        name: Optional[str] = None)
func NewAcl(ctx *Context, name string, args AclArgs, opts ...ResourceOption) (*Acl, error)
public Acl(string name, AclArgs args, CustomResourceOptions? opts = null)
public Acl(String name, AclArgs args)
public Acl(String name, AclArgs args, CustomResourceOptions options)
type: scaleway:loadbalancers:Acl
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. AclArgs
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. AclArgs
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. AclArgs
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. AclArgs
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. AclArgs
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 scalewayAclResource = new Scaleway.Loadbalancers.Acl("scalewayAclResource", new()
{
    Action = new Scaleway.Loadbalancers.Inputs.AclActionArgs
    {
        Type = "string",
        Redirects = new[]
        {
            new Scaleway.Loadbalancers.Inputs.AclActionRedirectArgs
            {
                Code = 0,
                Target = "string",
                Type = "string",
            },
        },
    },
    FrontendId = "string",
    Index = 0,
    Description = "string",
    Match = new Scaleway.Loadbalancers.Inputs.AclMatchArgs
    {
        HttpFilter = "string",
        HttpFilterOption = "string",
        HttpFilterValues = new[]
        {
            "string",
        },
        Invert = false,
        IpSubnets = new[]
        {
            "string",
        },
    },
    Name = "string",
});
Copy
example, err := loadbalancers.NewAcl(ctx, "scalewayAclResource", &loadbalancers.AclArgs{
	Action: &loadbalancers.AclActionArgs{
		Type: pulumi.String("string"),
		Redirects: loadbalancers.AclActionRedirectArray{
			&loadbalancers.AclActionRedirectArgs{
				Code:   pulumi.Int(0),
				Target: pulumi.String("string"),
				Type:   pulumi.String("string"),
			},
		},
	},
	FrontendId:  pulumi.String("string"),
	Index:       pulumi.Int(0),
	Description: pulumi.String("string"),
	Match: &loadbalancers.AclMatchArgs{
		HttpFilter:       pulumi.String("string"),
		HttpFilterOption: pulumi.String("string"),
		HttpFilterValues: pulumi.StringArray{
			pulumi.String("string"),
		},
		Invert: pulumi.Bool(false),
		IpSubnets: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
})
Copy
var scalewayAclResource = new Acl("scalewayAclResource", AclArgs.builder()
    .action(AclActionArgs.builder()
        .type("string")
        .redirects(AclActionRedirectArgs.builder()
            .code(0)
            .target("string")
            .type("string")
            .build())
        .build())
    .frontendId("string")
    .index(0)
    .description("string")
    .match(AclMatchArgs.builder()
        .httpFilter("string")
        .httpFilterOption("string")
        .httpFilterValues("string")
        .invert(false)
        .ipSubnets("string")
        .build())
    .name("string")
    .build());
Copy
scaleway_acl_resource = scaleway.loadbalancers.Acl("scalewayAclResource",
    action={
        "type": "string",
        "redirects": [{
            "code": 0,
            "target": "string",
            "type": "string",
        }],
    },
    frontend_id="string",
    index=0,
    description="string",
    match={
        "http_filter": "string",
        "http_filter_option": "string",
        "http_filter_values": ["string"],
        "invert": False,
        "ip_subnets": ["string"],
    },
    name="string")
Copy
const scalewayAclResource = new scaleway.loadbalancers.Acl("scalewayAclResource", {
    action: {
        type: "string",
        redirects: [{
            code: 0,
            target: "string",
            type: "string",
        }],
    },
    frontendId: "string",
    index: 0,
    description: "string",
    match: {
        httpFilter: "string",
        httpFilterOption: "string",
        httpFilterValues: ["string"],
        invert: false,
        ipSubnets: ["string"],
    },
    name: "string",
});
Copy
type: scaleway:loadbalancers:Acl
properties:
    action:
        redirects:
            - code: 0
              target: string
              type: string
        type: string
    description: string
    frontendId: string
    index: 0
    match:
        httpFilter: string
        httpFilterOption: string
        httpFilterValues:
            - string
        invert: false
        ipSubnets:
            - string
    name: string
Copy

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

Action This property is required. Pulumiverse.Scaleway.Loadbalancers.Inputs.AclAction
Action to undertake when an ACL filter matches.
FrontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Load Balancer frontend to attach the ACL to.
Index This property is required. int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
Description string
The ACL description.
Match Pulumiverse.Scaleway.Loadbalancers.Inputs.AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
Name string
The ACL name. If not provided it will be randomly generated.
Action This property is required. AclActionArgs
Action to undertake when an ACL filter matches.
FrontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Load Balancer frontend to attach the ACL to.
Index This property is required. int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
Description string
The ACL description.
Match AclMatchArgs
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
Name string
The ACL name. If not provided it will be randomly generated.
action This property is required. AclAction
Action to undertake when an ACL filter matches.
frontendId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Load Balancer frontend to attach the ACL to.
index This property is required. Integer
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
description String
The ACL description.
match AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name String
The ACL name. If not provided it will be randomly generated.
action This property is required. AclAction
Action to undertake when an ACL filter matches.
frontendId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the Load Balancer frontend to attach the ACL to.
index This property is required. number
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
description string
The ACL description.
match AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name string
The ACL name. If not provided it will be randomly generated.
action This property is required. AclActionArgs
Action to undertake when an ACL filter matches.
frontend_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the Load Balancer frontend to attach the ACL to.
index This property is required. int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
description str
The ACL description.
match AclMatchArgs
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name str
The ACL name. If not provided it will be randomly generated.
action This property is required. Property Map
Action to undertake when an ACL filter matches.
frontendId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the Load Balancer frontend to attach the ACL to.
index This property is required. Number
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
description String
The ACL description.
match Property Map
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name String
The ACL name. If not provided it will be randomly generated.

Outputs

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

CreatedAt string
IsDate and time of ACL's creation (RFC 3339 format)
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
IsDate and time of ACL's update (RFC 3339 format)
CreatedAt string
IsDate and time of ACL's creation (RFC 3339 format)
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
IsDate and time of ACL's update (RFC 3339 format)
createdAt String
IsDate and time of ACL's creation (RFC 3339 format)
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
IsDate and time of ACL's update (RFC 3339 format)
createdAt string
IsDate and time of ACL's creation (RFC 3339 format)
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
IsDate and time of ACL's update (RFC 3339 format)
created_at str
IsDate and time of ACL's creation (RFC 3339 format)
id str
The provider-assigned unique ID for this managed resource.
updated_at str
IsDate and time of ACL's update (RFC 3339 format)
createdAt String
IsDate and time of ACL's creation (RFC 3339 format)
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
IsDate and time of ACL's update (RFC 3339 format)

Look up Existing Acl Resource

Get an existing Acl 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?: AclState, opts?: CustomResourceOptions): Acl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[AclActionArgs] = None,
        created_at: Optional[str] = None,
        description: Optional[str] = None,
        frontend_id: Optional[str] = None,
        index: Optional[int] = None,
        match: Optional[AclMatchArgs] = None,
        name: Optional[str] = None,
        updated_at: Optional[str] = None) -> Acl
func GetAcl(ctx *Context, name string, id IDInput, state *AclState, opts ...ResourceOption) (*Acl, error)
public static Acl Get(string name, Input<string> id, AclState? state, CustomResourceOptions? opts = null)
public static Acl get(String name, Output<String> id, AclState state, CustomResourceOptions options)
resources:  _:    type: scaleway:loadbalancers:Acl    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:
Action Pulumiverse.Scaleway.Loadbalancers.Inputs.AclAction
Action to undertake when an ACL filter matches.
CreatedAt string
IsDate and time of ACL's creation (RFC 3339 format)
Description string
The ACL description.
FrontendId Changes to this property will trigger replacement. string
The ID of the Load Balancer frontend to attach the ACL to.
Index int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
Match Pulumiverse.Scaleway.Loadbalancers.Inputs.AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
Name string
The ACL name. If not provided it will be randomly generated.
UpdatedAt string
IsDate and time of ACL's update (RFC 3339 format)
Action AclActionArgs
Action to undertake when an ACL filter matches.
CreatedAt string
IsDate and time of ACL's creation (RFC 3339 format)
Description string
The ACL description.
FrontendId Changes to this property will trigger replacement. string
The ID of the Load Balancer frontend to attach the ACL to.
Index int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
Match AclMatchArgs
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
Name string
The ACL name. If not provided it will be randomly generated.
UpdatedAt string
IsDate and time of ACL's update (RFC 3339 format)
action AclAction
Action to undertake when an ACL filter matches.
createdAt String
IsDate and time of ACL's creation (RFC 3339 format)
description String
The ACL description.
frontendId Changes to this property will trigger replacement. String
The ID of the Load Balancer frontend to attach the ACL to.
index Integer
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
match AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name String
The ACL name. If not provided it will be randomly generated.
updatedAt String
IsDate and time of ACL's update (RFC 3339 format)
action AclAction
Action to undertake when an ACL filter matches.
createdAt string
IsDate and time of ACL's creation (RFC 3339 format)
description string
The ACL description.
frontendId Changes to this property will trigger replacement. string
The ID of the Load Balancer frontend to attach the ACL to.
index number
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
match AclMatch
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name string
The ACL name. If not provided it will be randomly generated.
updatedAt string
IsDate and time of ACL's update (RFC 3339 format)
action AclActionArgs
Action to undertake when an ACL filter matches.
created_at str
IsDate and time of ACL's creation (RFC 3339 format)
description str
The ACL description.
frontend_id Changes to this property will trigger replacement. str
The ID of the Load Balancer frontend to attach the ACL to.
index int
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
match AclMatchArgs
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name str
The ACL name. If not provided it will be randomly generated.
updated_at str
IsDate and time of ACL's update (RFC 3339 format)
action Property Map
Action to undertake when an ACL filter matches.
createdAt String
IsDate and time of ACL's creation (RFC 3339 format)
description String
The ACL description.
frontendId Changes to this property will trigger replacement. String
The ID of the Load Balancer frontend to attach the ACL to.
index Number
The priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed).
match Property Map
The ACL match rule. At least ip_subnet or http_filter and http_filter_value are required.
name String
The ACL name. If not provided it will be randomly generated.
updatedAt String
IsDate and time of ACL's update (RFC 3339 format)

Supporting Types

AclAction
, AclActionArgs

Type This property is required. string
The action type. Possible values are: allow or deny or redirect.
Redirects List<Pulumiverse.Scaleway.Loadbalancers.Inputs.AclActionRedirect>
Redirect parameters when using an ACL with redirect action.
Type This property is required. string
The action type. Possible values are: allow or deny or redirect.
Redirects []AclActionRedirect
Redirect parameters when using an ACL with redirect action.
type This property is required. String
The action type. Possible values are: allow or deny or redirect.
redirects List<AclActionRedirect>
Redirect parameters when using an ACL with redirect action.
type This property is required. string
The action type. Possible values are: allow or deny or redirect.
redirects AclActionRedirect[]
Redirect parameters when using an ACL with redirect action.
type This property is required. str
The action type. Possible values are: allow or deny or redirect.
redirects Sequence[AclActionRedirect]
Redirect parameters when using an ACL with redirect action.
type This property is required. String
The action type. Possible values are: allow or deny or redirect.
redirects List<Property Map>
Redirect parameters when using an ACL with redirect action.

AclActionRedirect
, AclActionRedirectArgs

Code int
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
Target string
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
Type string
The redirect type. Possible values are: location or scheme.
Code int
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
Target string
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
Type string
The redirect type. Possible values are: location or scheme.
code Integer
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
target String
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
type String
The redirect type. Possible values are: location or scheme.
code number
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
target string
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
type string
The redirect type. Possible values are: location or scheme.
code int
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
target str
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
type str
The redirect type. Possible values are: location or scheme.
code Number
The HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308.
target String
An URL can be used in case of a location redirect (e.g. https://scaleway.com will redirect to this same URL). A scheme name (e.g. https, http, ftp, git) will replace the request's original scheme.
type String
The redirect type. Possible values are: location or scheme.

AclMatch
, AclMatchArgs

HttpFilter string
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
HttpFilterOption string
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
HttpFilterValues List<string>
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
Invert bool
If set to true, the condition will be of type "unless".
IpSubnets List<string>
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
HttpFilter string
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
HttpFilterOption string
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
HttpFilterValues []string
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
Invert bool
If set to true, the condition will be of type "unless".
IpSubnets []string
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
httpFilter String
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
httpFilterOption String
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
httpFilterValues List<String>
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
invert Boolean
If set to true, the condition will be of type "unless".
ipSubnets List<String>
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
httpFilter string
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
httpFilterOption string
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
httpFilterValues string[]
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
invert boolean
If set to true, the condition will be of type "unless".
ipSubnets string[]
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
http_filter str
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
http_filter_option str
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
http_filter_values Sequence[str]
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
invert bool
If set to true, the condition will be of type "unless".
ip_subnets Sequence[str]
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
httpFilter String
The HTTP filter to match. This filter is supported only if your backend protocol has an HTTP forward protocol. It extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Possible values are: acl_http_filter_none, path_begin, path_end, http_header_match or regex.
httpFilterOption String
If you have http_filter at http_header_match, you can use this field to filter on the HTTP header's value.
httpFilterValues List<String>
A list of possible values to match for the given HTTP filter. Keep in mind that in the case of http_header_match the HTTP header field name is case insensitive.
invert Boolean
If set to true, the condition will be of type "unless".
ipSubnets List<String>
A list of IPs, or CIDR v4/v6 addresses of the session client, to match.

Import

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

bash

$ pulumi import scaleway:loadbalancers/acl:Acl acl01 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.