Skip to content

Attach Rule Groups To Proxy Configuration

networkfirewall_attach_rule_groups_to_proxy_configuration R Documentation

Attaches ProxyRuleGroup resources to a ProxyConfiguration

Description

Attaches ProxyRuleGroup resources to a ProxyConfiguration

A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration.

Usage

networkfirewall_attach_rule_groups_to_proxy_configuration(
  ProxyConfigurationName, ProxyConfigurationArn, RuleGroups, UpdateToken)

Arguments

ProxyConfigurationName

The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

You must specify the ARN or the name, and you can specify both.

ProxyConfigurationArn

The Amazon Resource Name (ARN) of a proxy configuration.

You must specify the ARN or the name, and you can specify both.

RuleGroups

[required] The proxy rule group(s) to attach to the proxy configuration

UpdateToken

[required] A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

Value

A list with the following syntax:

list(
  ProxyConfiguration = list(
    ProxyConfigurationName = "string",
    ProxyConfigurationArn = "string",
    Description = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    DeleteTime = as.POSIXct(
      "2015-01-01"
    ),
    RuleGroups = list(
      list(
        ProxyRuleGroupName = "string",
        ProxyRuleGroupArn = "string",
        Type = "string",
        Priority = 123
      )
    ),
    DefaultRulePhaseActions = list(
      PreDNS = "ALLOW"|"DENY"|"ALERT",
      PreREQUEST = "ALLOW"|"DENY"|"ALERT",
      PostRESPONSE = "ALLOW"|"DENY"|"ALERT"
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  ),
  UpdateToken = "string"
)

Request syntax

svc$attach_rule_groups_to_proxy_configuration(
  ProxyConfigurationName = "string",
  ProxyConfigurationArn = "string",
  RuleGroups = list(
    list(
      ProxyRuleGroupName = "string",
      InsertPosition = 123
    )
  ),
  UpdateToken = "string"
)