scaleway.LoadbalancerAcl
Explore with Pulumi AI
Creates and manages Scaleway Load Balancer ACLs.
For more information, see the main documentation or API reference.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const acl01 = new scaleway.LoadbalancerAcl("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",
],
},
});
import pulumi
import pulumiverse_scaleway as scaleway
acl01 = scaleway.LoadbalancerAcl("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",
],
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.NewLoadbalancerAcl(ctx, "acl01", &scaleway.LoadbalancerAclArgs{
FrontendId: pulumi.Any(frt01.Id),
Name: pulumi.String("acl01"),
Description: pulumi.String("Exclude well-known IPs"),
Index: pulumi.Int(0),
Action: &scaleway.LoadbalancerAclActionArgs{
Type: pulumi.String("allow"),
},
Match: &scaleway.LoadbalancerAclMatchArgs{
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var acl01 = new Scaleway.LoadbalancerAcl("acl01", new()
{
FrontendId = frt01.Id,
Name = "acl01",
Description = "Exclude well-known IPs",
Index = 0,
Action = new Scaleway.Inputs.LoadbalancerAclActionArgs
{
Type = "allow",
},
Match = new Scaleway.Inputs.LoadbalancerAclMatchArgs
{
IpSubnets = new[]
{
"192.168.0.1",
"192.168.0.2",
"192.168.10.0/24",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.LoadbalancerAcl;
import com.pulumi.scaleway.LoadbalancerAclArgs;
import com.pulumi.scaleway.inputs.LoadbalancerAclActionArgs;
import com.pulumi.scaleway.inputs.LoadbalancerAclMatchArgs;
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 LoadbalancerAcl("acl01", LoadbalancerAclArgs.builder()
.frontendId(frt01.id())
.name("acl01")
.description("Exclude well-known IPs")
.index(0)
.action(LoadbalancerAclActionArgs.builder()
.type("allow")
.build())
.match(LoadbalancerAclMatchArgs.builder()
.ipSubnets(
"192.168.0.1",
"192.168.0.2",
"192.168.10.0/24")
.build())
.build());
}
}
resources:
acl01:
type: scaleway:LoadbalancerAcl
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
Create LoadbalancerAcl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoadbalancerAcl(name: string, args: LoadbalancerAclArgs, opts?: CustomResourceOptions);
@overload
def LoadbalancerAcl(resource_name: str,
args: LoadbalancerAclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoadbalancerAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[LoadbalancerAclActionArgs] = None,
frontend_id: Optional[str] = None,
index: Optional[int] = None,
description: Optional[str] = None,
match: Optional[LoadbalancerAclMatchArgs] = None,
name: Optional[str] = None)
func NewLoadbalancerAcl(ctx *Context, name string, args LoadbalancerAclArgs, opts ...ResourceOption) (*LoadbalancerAcl, error)
public LoadbalancerAcl(string name, LoadbalancerAclArgs args, CustomResourceOptions? opts = null)
public LoadbalancerAcl(String name, LoadbalancerAclArgs args)
public LoadbalancerAcl(String name, LoadbalancerAclArgs args, CustomResourceOptions options)
type: scaleway:LoadbalancerAcl
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 LoadbalancerAclArgs
- 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 LoadbalancerAclArgs
- 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 LoadbalancerAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoadbalancerAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoadbalancerAclArgs
- 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 loadbalancerAclResource = new Scaleway.LoadbalancerAcl("loadbalancerAclResource", new()
{
Action = new Scaleway.Inputs.LoadbalancerAclActionArgs
{
Type = "string",
Redirects = new[]
{
new Scaleway.Inputs.LoadbalancerAclActionRedirectArgs
{
Code = 0,
Target = "string",
Type = "string",
},
},
},
FrontendId = "string",
Index = 0,
Description = "string",
Match = new Scaleway.Inputs.LoadbalancerAclMatchArgs
{
HttpFilter = "string",
HttpFilterOption = "string",
HttpFilterValues = new[]
{
"string",
},
Invert = false,
IpSubnets = new[]
{
"string",
},
},
Name = "string",
});
example, err := scaleway.NewLoadbalancerAcl(ctx, "loadbalancerAclResource", &scaleway.LoadbalancerAclArgs{
Action: &scaleway.LoadbalancerAclActionArgs{
Type: pulumi.String("string"),
Redirects: scaleway.LoadbalancerAclActionRedirectArray{
&scaleway.LoadbalancerAclActionRedirectArgs{
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: &scaleway.LoadbalancerAclMatchArgs{
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"),
})
var loadbalancerAclResource = new LoadbalancerAcl("loadbalancerAclResource", LoadbalancerAclArgs.builder()
.action(LoadbalancerAclActionArgs.builder()
.type("string")
.redirects(LoadbalancerAclActionRedirectArgs.builder()
.code(0)
.target("string")
.type("string")
.build())
.build())
.frontendId("string")
.index(0)
.description("string")
.match(LoadbalancerAclMatchArgs.builder()
.httpFilter("string")
.httpFilterOption("string")
.httpFilterValues("string")
.invert(false)
.ipSubnets("string")
.build())
.name("string")
.build());
loadbalancer_acl_resource = scaleway.LoadbalancerAcl("loadbalancerAclResource",
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")
const loadbalancerAclResource = new scaleway.LoadbalancerAcl("loadbalancerAclResource", {
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",
});
type: scaleway:LoadbalancerAcl
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
LoadbalancerAcl 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 LoadbalancerAcl resource accepts the following input properties:
- Action
Pulumiverse.
Scaleway. Inputs. Loadbalancer Acl Action - Action to undertake when an ACL filter matches.
- Frontend
Id 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).
- Description string
- The ACL description.
- Match
Pulumiverse.
Scaleway. Inputs. Loadbalancer Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - Name string
- The ACL name. If not provided it will be randomly generated.
- Action
Loadbalancer
Acl Action Args - Action to undertake when an ACL filter matches.
- Frontend
Id 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).
- Description string
- The ACL description.
- Match
Loadbalancer
Acl Match Args - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - Name string
- The ACL name. If not provided it will be randomly generated.
- action
Loadbalancer
Acl Action - Action to undertake when an ACL filter matches.
- frontend
Id 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).
- description String
- The ACL description.
- match
Loadbalancer
Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - name String
- The ACL name. If not provided it will be randomly generated.
- action
Loadbalancer
Acl Action - Action to undertake when an ACL filter matches.
- frontend
Id 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).
- description string
- The ACL description.
- match
Loadbalancer
Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - name string
- The ACL name. If not provided it will be randomly generated.
- action
Loadbalancer
Acl Action Args - Action to undertake when an ACL filter matches.
- frontend_
id 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).
- description str
- The ACL description.
- match
Loadbalancer
Acl Match Args - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - name str
- The ACL name. If not provided it will be randomly generated.
- action Property Map
- Action to undertake when an ACL filter matches.
- frontend
Id 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).
- description String
- The ACL description.
- match Property Map
- The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_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 LoadbalancerAcl resource produces the following output properties:
- 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)
Look up Existing LoadbalancerAcl Resource
Get an existing LoadbalancerAcl 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?: LoadbalancerAclState, opts?: CustomResourceOptions): LoadbalancerAcl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[LoadbalancerAclActionArgs] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
frontend_id: Optional[str] = None,
index: Optional[int] = None,
match: Optional[LoadbalancerAclMatchArgs] = None,
name: Optional[str] = None,
updated_at: Optional[str] = None) -> LoadbalancerAcl
func GetLoadbalancerAcl(ctx *Context, name string, id IDInput, state *LoadbalancerAclState, opts ...ResourceOption) (*LoadbalancerAcl, error)
public static LoadbalancerAcl Get(string name, Input<string> id, LoadbalancerAclState? state, CustomResourceOptions? opts = null)
public static LoadbalancerAcl get(String name, Output<String> id, LoadbalancerAclState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action
Pulumiverse.
Scaleway. Inputs. Loadbalancer Acl Action - Action to undertake when an ACL filter matches.
- Created
At string - IsDate and time of ACL's creation (RFC 3339 format)
- Description string
- The ACL description.
- Frontend
Id 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. Inputs. Loadbalancer Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - Name string
- The ACL name. If not provided it will be randomly generated.
- Updated
At string - IsDate and time of ACL's update (RFC 3339 format)
- Action
Loadbalancer
Acl Action Args - Action to undertake when an ACL filter matches.
- Created
At string - IsDate and time of ACL's creation (RFC 3339 format)
- Description string
- The ACL description.
- Frontend
Id 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
Loadbalancer
Acl Match Args - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - Name string
- The ACL name. If not provided it will be randomly generated.
- Updated
At string - IsDate and time of ACL's update (RFC 3339 format)
- action
Loadbalancer
Acl Action - Action to undertake when an ACL filter matches.
- created
At String - IsDate and time of ACL's creation (RFC 3339 format)
- description String
- The ACL description.
- frontend
Id 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
Loadbalancer
Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - name String
- The ACL name. If not provided it will be randomly generated.
- updated
At String - IsDate and time of ACL's update (RFC 3339 format)
- action
Loadbalancer
Acl Action - Action to undertake when an ACL filter matches.
- created
At string - IsDate and time of ACL's creation (RFC 3339 format)
- description string
- The ACL description.
- frontend
Id 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
Loadbalancer
Acl Match - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_filter_value
are required. - name string
- The ACL name. If not provided it will be randomly generated.
- updated
At string - IsDate and time of ACL's update (RFC 3339 format)
- action
Loadbalancer
Acl Action Args - 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 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
Loadbalancer
Acl Match Args - The ACL match rule. At least
ip_subnet
orhttp_filter
andhttp_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.
- created
At String - IsDate and time of ACL's creation (RFC 3339 format)
- description String
- The ACL description.
- frontend
Id 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
orhttp_filter
andhttp_filter_value
are required. - name String
- The ACL name. If not provided it will be randomly generated.
- updated
At String - IsDate and time of ACL's update (RFC 3339 format)
Supporting Types
LoadbalancerAclAction, LoadbalancerAclActionArgs
- Type string
- The action type. Possible values are:
allow
ordeny
orredirect
. - Redirects
List<Pulumiverse.
Scaleway. Inputs. Loadbalancer Acl Action Redirect> - Redirect parameters when using an ACL with
redirect
action.
- Type string
- The action type. Possible values are:
allow
ordeny
orredirect
. - Redirects
[]Loadbalancer
Acl Action Redirect - Redirect parameters when using an ACL with
redirect
action.
- type String
- The action type. Possible values are:
allow
ordeny
orredirect
. - redirects
List<Loadbalancer
Acl Action Redirect> - Redirect parameters when using an ACL with
redirect
action.
- type string
- The action type. Possible values are:
allow
ordeny
orredirect
. - redirects
Loadbalancer
Acl Action Redirect[] - Redirect parameters when using an ACL with
redirect
action.
- type str
- The action type. Possible values are:
allow
ordeny
orredirect
. - redirects
Sequence[Loadbalancer
Acl Action Redirect] - Redirect parameters when using an ACL with
redirect
action.
- type String
- The action type. Possible values are:
allow
ordeny
orredirect
. - redirects List<Property Map>
- Redirect parameters when using an ACL with
redirect
action.
LoadbalancerAclActionRedirect, LoadbalancerAclActionRedirectArgs
- Code int
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
- Code int
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
- code Integer
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
- code number
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
- code int
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
- code Number
- The HTTP redirect code to use. Valid values are
301
,302
,303
,307
and308
. - 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
orscheme
.
LoadbalancerAclMatch, LoadbalancerAclMatchArgs
- Http
Filter 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
orregex
. - Http
Filter stringOption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - Http
Filter List<string>Values - 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 List<string> - A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
- Http
Filter 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
orregex
. - Http
Filter stringOption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - Http
Filter []stringValues - 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 []string - A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
- http
Filter 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
orregex
. - http
Filter StringOption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - http
Filter List<String>Values - 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". - ip
Subnets List<String> - A list of IPs, or CIDR v4/v6 addresses of the session client, to match.
- http
Filter 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
orregex
. - http
Filter stringOption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - http
Filter string[]Values - 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". - ip
Subnets 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
orregex
. - http_
filter_ stroption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - http_
filter_ Sequence[str]values - 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.
- http
Filter 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
orregex
. - http
Filter StringOption - If you have
http_filter
athttp_header_match
, you can use this field to filter on the HTTP header's value. - http
Filter List<String>Values - 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". - ip
Subnets 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:index/loadbalancerAcl:LoadbalancerAcl acl01 fr-par-1/11111111-1111-1111-1111-111111111111
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.