1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. AlbWafManagedRuleSet
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    ALB WAF Managed Rule Set resource schema. Uses the defaultRegion specified in the provider configuration as a fallback in case no region is defined on resource level.

    This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.

    Example Usage

    resource "stackit_alb_waf_managed_rule_set" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name       = "example-managed-rule-set"
      type       = "TYPE_OWASP_CRS"
    }
    

    Create AlbWafManagedRuleSet Resource

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

    Constructor syntax

    new AlbWafManagedRuleSet(name: string, args: AlbWafManagedRuleSetArgs, opts?: CustomResourceOptions);
    @overload
    def AlbWafManagedRuleSet(resource_name: str,
                             args: AlbWafManagedRuleSetArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlbWafManagedRuleSet(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             project_id: Optional[str] = None,
                             type: Optional[str] = None,
                             name: Optional[str] = None,
                             region: Optional[str] = None)
    func NewAlbWafManagedRuleSet(ctx *Context, name string, args AlbWafManagedRuleSetArgs, opts ...ResourceOption) (*AlbWafManagedRuleSet, error)
    public AlbWafManagedRuleSet(string name, AlbWafManagedRuleSetArgs args, CustomResourceOptions? opts = null)
    public AlbWafManagedRuleSet(String name, AlbWafManagedRuleSetArgs args)
    public AlbWafManagedRuleSet(String name, AlbWafManagedRuleSetArgs args, CustomResourceOptions options)
    
    type: stackit:AlbWafManagedRuleSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "stackit_alb_waf_managed_rule_set" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AlbWafManagedRuleSetArgs
    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 AlbWafManagedRuleSetArgs
    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 AlbWafManagedRuleSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlbWafManagedRuleSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlbWafManagedRuleSetArgs
    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 albWafManagedRuleSetResource = new Stackit.AlbWafManagedRuleSet("albWafManagedRuleSetResource", new()
    {
        ProjectId = "string",
        Type = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := stackit.NewAlbWafManagedRuleSet(ctx, "albWafManagedRuleSetResource", &stackit.AlbWafManagedRuleSetArgs{
    	ProjectId: pulumi.String("string"),
    	Type:      pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Region:    pulumi.String("string"),
    })
    
    resource "stackit_alb_waf_managed_rule_set" "albWafManagedRuleSetResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id = "string"
      type       = "string"
      name       = "string"
      region     = "string"
    }
    
    var albWafManagedRuleSetResource = new AlbWafManagedRuleSet("albWafManagedRuleSetResource", AlbWafManagedRuleSetArgs.builder()
        .projectId("string")
        .type("string")
        .name("string")
        .region("string")
        .build());
    
    alb_waf_managed_rule_set_resource = stackit.AlbWafManagedRuleSet("albWafManagedRuleSetResource",
        project_id="string",
        type="string",
        name="string",
        region="string")
    
    const albWafManagedRuleSetResource = new stackit.AlbWafManagedRuleSet("albWafManagedRuleSetResource", {
        projectId: "string",
        type: "string",
        name: "string",
        region: "string",
    });
    
    type: stackit:AlbWafManagedRuleSet
    properties:
        name: string
        projectId: string
        region: string
        type: string
    

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

    ProjectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    Type string
    Type of the Managed Rule Set.
    Name string
    Managed Rule Set configuration name.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    ProjectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    Type string
    Type of the Managed Rule Set.
    Name string
    Managed Rule Set configuration name.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    project_id string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    type string
    Type of the Managed Rule Set.
    name string
    Managed Rule Set configuration name.
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    projectId String
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    type String
    Type of the Managed Rule Set.
    name String
    Managed Rule Set configuration name.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    projectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    type string
    Type of the Managed Rule Set.
    name string
    Managed Rule Set configuration name.
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    project_id str
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    type str
    Type of the Managed Rule Set.
    name str
    Managed Rule Set configuration name.
    region str
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    projectId String
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    type String
    Type of the Managed Rule Set.
    name String
    Managed Rule Set configuration name.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.

    Outputs

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

    Groups Dictionary<string, AlbWafManagedRuleSetGroups>
    Inventory of all available Managed Rule Set groups and their current configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    Managed Rule Set version.
    Groups map[string]AlbWafManagedRuleSetGroups
    Inventory of all available Managed Rule Set groups and their current configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    Managed Rule Set version.
    groups map(object)
    Inventory of all available Managed Rule Set groups and their current configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    Managed Rule Set version.
    groups Map<String,AlbWafManagedRuleSetGroups>
    Inventory of all available Managed Rule Set groups and their current configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    Managed Rule Set version.
    groups {[key: string]: AlbWafManagedRuleSetGroups}
    Inventory of all available Managed Rule Set groups and their current configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    Managed Rule Set version.
    groups Mapping[str, AlbWafManagedRuleSetGroups]
    Inventory of all available Managed Rule Set groups and their current configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    version str
    Managed Rule Set version.
    groups Map<Property Map>
    Inventory of all available Managed Rule Set groups and their current configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    Managed Rule Set version.

    Look up Existing AlbWafManagedRuleSet Resource

    Get an existing AlbWafManagedRuleSet 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?: AlbWafManagedRuleSetState, opts?: CustomResourceOptions): AlbWafManagedRuleSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            groups: Optional[Mapping[str, AlbWafManagedRuleSetGroupsArgs]] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            type: Optional[str] = None,
            version: Optional[str] = None) -> AlbWafManagedRuleSet
    func GetAlbWafManagedRuleSet(ctx *Context, name string, id IDInput, state *AlbWafManagedRuleSetState, opts ...ResourceOption) (*AlbWafManagedRuleSet, error)
    public static AlbWafManagedRuleSet Get(string name, Input<string> id, AlbWafManagedRuleSetState? state, CustomResourceOptions? opts = null)
    public static AlbWafManagedRuleSet get(String name, Output<String> id, AlbWafManagedRuleSetState state, CustomResourceOptions options)
    resources:  _:    type: stackit:AlbWafManagedRuleSet    get:      id: ${id}
    import {
      to = stackit_alb_waf_managed_rule_set.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Groups Dictionary<string, AlbWafManagedRuleSetGroupsArgs>
    Inventory of all available Managed Rule Set groups and their current configuration.
    Name string
    Managed Rule Set configuration name.
    ProjectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    Type string
    Type of the Managed Rule Set.
    Version string
    Managed Rule Set version.
    Groups map[string]AlbWafManagedRuleSetGroupsArgs
    Inventory of all available Managed Rule Set groups and their current configuration.
    Name string
    Managed Rule Set configuration name.
    ProjectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    Region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    Type string
    Type of the Managed Rule Set.
    Version string
    Managed Rule Set version.
    groups map(object)
    Inventory of all available Managed Rule Set groups and their current configuration.
    name string
    Managed Rule Set configuration name.
    project_id string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    type string
    Type of the Managed Rule Set.
    version string
    Managed Rule Set version.
    groups Map<String,AlbWafManagedRuleSetGroupsArgs>
    Inventory of all available Managed Rule Set groups and their current configuration.
    name String
    Managed Rule Set configuration name.
    projectId String
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    type String
    Type of the Managed Rule Set.
    version String
    Managed Rule Set version.
    groups {[key: string]: AlbWafManagedRuleSetGroupsArgs}
    Inventory of all available Managed Rule Set groups and their current configuration.
    name string
    Managed Rule Set configuration name.
    projectId string
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    region string
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    type string
    Type of the Managed Rule Set.
    version string
    Managed Rule Set version.
    groups Mapping[str, AlbWafManagedRuleSetGroupsArgs]
    Inventory of all available Managed Rule Set groups and their current configuration.
    name str
    Managed Rule Set configuration name.
    project_id str
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    region str
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    type str
    Type of the Managed Rule Set.
    version str
    Managed Rule Set version.
    groups Map<Property Map>
    Inventory of all available Managed Rule Set groups and their current configuration.
    name String
    Managed Rule Set configuration name.
    projectId String
    STACKIT project ID associated with the ALB WAF Managed Rule Set.
    region String
    STACKIT region name the resource is located in. If not defined, the provider region is used.
    type String
    Type of the Managed Rule Set.
    version String
    Managed Rule Set version.

    Supporting Types

    AlbWafManagedRuleSetGroups, AlbWafManagedRuleSetGroupsArgs

    Description string
    A description of what this group covers.
    GroupName string
    The name for the rule group.
    Rules Dictionary<string, AlbWafManagedRuleSetGroupsRules>
    Rules of the rule group.
    Description string
    A description of what this group covers.
    GroupName string
    The name for the rule group.
    Rules map[string]AlbWafManagedRuleSetGroupsRules
    Rules of the rule group.
    description string
    A description of what this group covers.
    group_name string
    The name for the rule group.
    rules map(object)
    Rules of the rule group.
    description String
    A description of what this group covers.
    groupName String
    The name for the rule group.
    rules Map<String,AlbWafManagedRuleSetGroupsRules>
    Rules of the rule group.
    description string
    A description of what this group covers.
    groupName string
    The name for the rule group.
    rules {[key: string]: AlbWafManagedRuleSetGroupsRules}
    Rules of the rule group.
    description str
    A description of what this group covers.
    group_name str
    The name for the rule group.
    rules Mapping[str, AlbWafManagedRuleSetGroupsRules]
    Rules of the rule group.
    description String
    A description of what this group covers.
    groupName String
    The name for the rule group.
    rules Map<Property Map>
    Rules of the rule group.

    AlbWafManagedRuleSetGroupsRules, AlbWafManagedRuleSetGroupsRulesArgs

    Description string
    A description of what this rule does.
    Mode string
    The current mode of the rule.
    Severity string
    Impact level.
    Description string
    A description of what this rule does.
    Mode string
    The current mode of the rule.
    Severity string
    Impact level.
    description string
    A description of what this rule does.
    mode string
    The current mode of the rule.
    severity string
    Impact level.
    description String
    A description of what this rule does.
    mode String
    The current mode of the rule.
    severity String
    Impact level.
    description string
    A description of what this rule does.
    mode string
    The current mode of the rule.
    severity string
    Impact level.
    description str
    A description of what this rule does.
    mode str
    The current mode of the rule.
    severity str
    Impact level.
    description String
    A description of what this rule does.
    mode String
    The current mode of the rule.
    severity String
    Impact level.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial