Skip to content

Create Proxy Rule Group

networkfirewall_create_proxy_rule_group R Documentation

Creates an Network Firewall ProxyRuleGroup

Description

Creates an Network Firewall ProxyRuleGroup

Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations.

To manage a proxy rule group's tags, use the standard Amazon Web Services resource tagging operations, list_tags_for_resource, tag_resource, and untag_resource.

To retrieve information about proxy rule groups, use list_proxy_rule_groups and describe_proxy_rule_group.

To retrieve information about individual proxy rules, use describe_proxy_rule_group and describe_proxy_rule.

Usage

networkfirewall_create_proxy_rule_group(ProxyRuleGroupName, Description,
  Rules, Tags)

Arguments

ProxyRuleGroupName

[required] The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

Description

A description of the proxy rule group.

Rules

Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

Tags

The key:value pairs to associate with the resource.

Value

A list with the following syntax:

list(
  ProxyRuleGroup = list(
    ProxyRuleGroupName = "string",
    ProxyRuleGroupArn = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    DeleteTime = as.POSIXct(
      "2015-01-01"
    ),
    Rules = list(
      PreDNS = list(
        list(
          ProxyRuleName = "string",
          Description = "string",
          Action = "ALLOW"|"DENY"|"ALERT",
          Conditions = list(
            list(
              ConditionOperator = "string",
              ConditionKey = "string",
              ConditionValues = list(
                "string"
              )
            )
          )
        )
      ),
      PreREQUEST = list(
        list(
          ProxyRuleName = "string",
          Description = "string",
          Action = "ALLOW"|"DENY"|"ALERT",
          Conditions = list(
            list(
              ConditionOperator = "string",
              ConditionKey = "string",
              ConditionValues = list(
                "string"
              )
            )
          )
        )
      ),
      PostRESPONSE = list(
        list(
          ProxyRuleName = "string",
          Description = "string",
          Action = "ALLOW"|"DENY"|"ALERT",
          Conditions = list(
            list(
              ConditionOperator = "string",
              ConditionKey = "string",
              ConditionValues = list(
                "string"
              )
            )
          )
        )
      )
    ),
    Description = "string",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  ),
  UpdateToken = "string"
)

Request syntax

svc$create_proxy_rule_group(
  ProxyRuleGroupName = "string",
  Description = "string",
  Rules = list(
    PreDNS = list(
      list(
        ProxyRuleName = "string",
        Description = "string",
        Action = "ALLOW"|"DENY"|"ALERT",
        Conditions = list(
          list(
            ConditionOperator = "string",
            ConditionKey = "string",
            ConditionValues = list(
              "string"
            )
          )
        )
      )
    ),
    PreREQUEST = list(
      list(
        ProxyRuleName = "string",
        Description = "string",
        Action = "ALLOW"|"DENY"|"ALERT",
        Conditions = list(
          list(
            ConditionOperator = "string",
            ConditionKey = "string",
            ConditionValues = list(
              "string"
            )
          )
        )
      )
    ),
    PostRESPONSE = list(
      list(
        ProxyRuleName = "string",
        Description = "string",
        Action = "ALLOW"|"DENY"|"ALERT",
        Conditions = list(
          list(
            ConditionOperator = "string",
            ConditionKey = "string",
            ConditionValues = list(
              "string"
            )
          )
        )
      )
    )
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)