1. Packages
  2. Scaleway
  3. API Docs
  4. LoadbalancerAcl
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.LoadbalancerAcl

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    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.LoadbalancerAclAction
    Action to undertake when an ACL filter matches.
    FrontendId 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.LoadbalancerAclMatch
    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 LoadbalancerAclActionArgs
    Action to undertake when an ACL filter matches.
    FrontendId 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 LoadbalancerAclMatchArgs
    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 LoadbalancerAclAction
    Action to undertake when an ACL filter matches.
    frontendId 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 LoadbalancerAclMatch
    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 LoadbalancerAclAction
    Action to undertake when an ACL filter matches.
    frontendId 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 LoadbalancerAclMatch
    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 LoadbalancerAclActionArgs
    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 LoadbalancerAclMatchArgs
    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 Property Map
    Action to undertake when an ACL filter matches.
    frontendId 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 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 LoadbalancerAcl 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 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.
    The following state arguments are supported:
    Action Pulumiverse.Scaleway.Inputs.LoadbalancerAclAction
    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 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.LoadbalancerAclMatch
    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 LoadbalancerAclActionArgs
    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 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 LoadbalancerAclMatchArgs
    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 LoadbalancerAclAction
    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 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 LoadbalancerAclMatch
    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 LoadbalancerAclAction
    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 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 LoadbalancerAclMatch
    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 LoadbalancerAclActionArgs
    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 LoadbalancerAclMatchArgs
    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 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

    LoadbalancerAclAction, LoadbalancerAclActionArgs

    Type string
    The action type. Possible values are: allow or deny or redirect.
    Redirects List<Pulumiverse.Scaleway.Inputs.LoadbalancerAclActionRedirect>
    Redirect parameters when using an ACL with redirect action.
    Type string
    The action type. Possible values are: allow or deny or redirect.
    Redirects []LoadbalancerAclActionRedirect
    Redirect parameters when using an ACL with redirect action.
    type String
    The action type. Possible values are: allow or deny or redirect.
    redirects List<LoadbalancerAclActionRedirect>
    Redirect parameters when using an ACL with redirect action.
    type string
    The action type. Possible values are: allow or deny or redirect.
    redirects LoadbalancerAclActionRedirect[]
    Redirect parameters when using an ACL with redirect action.
    type str
    The action type. Possible values are: allow or deny or redirect.
    redirects Sequence[LoadbalancerAclActionRedirect]
    Redirect parameters when using an ACL with redirect action.
    type 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.

    LoadbalancerAclActionRedirect, LoadbalancerAclActionRedirectArgs

    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.

    LoadbalancerAclMatch, LoadbalancerAclMatchArgs

    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: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.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse