Skip to content

Update Proxy Rule Priorities

networkfirewall_update_proxy_rule_priorities R Documentation

Updates proxy rule priorities within a proxy rule group

Description

Updates proxy rule priorities within a proxy rule group.

Usage

networkfirewall_update_proxy_rule_priorities(ProxyRuleGroupName,
  ProxyRuleGroupArn, RuleGroupRequestPhase, Rules, UpdateToken)

Arguments

ProxyRuleGroupName

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

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

ProxyRuleGroupArn

The Amazon Resource Name (ARN) of a proxy rule group.

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

RuleGroupRequestPhase

[required] Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

Rules

[required] proxy rule resources to update to new positions.

UpdateToken

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

To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group 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(
  ProxyRuleGroupName = "string",
  ProxyRuleGroupArn = "string",
  RuleGroupRequestPhase = "PRE_DNS"|"PRE_REQ"|"POST_RES",
  Rules = list(
    list(
      ProxyRuleName = "string",
      NewPosition = 123
    )
  ),
  UpdateToken = "string"
)

Request syntax

svc$update_proxy_rule_priorities(
  ProxyRuleGroupName = "string",
  ProxyRuleGroupArn = "string",
  RuleGroupRequestPhase = "PRE_DNS"|"PRE_REQ"|"POST_RES",
  Rules = list(
    list(
      ProxyRuleName = "string",
      NewPosition = 123
    )
  ),
  UpdateToken = "string"
)