Updates the properties of the specified proxy rule¶
Description¶
Updates the properties of the specified proxy rule.
Usage¶
networkfirewall_update_proxy_rule(ProxyRuleGroupName, ProxyRuleGroupArn,
ProxyRuleName, Description, Action, AddConditions, RemoveConditions,
UpdateToken)
Arguments¶
-
ProxyRuleGroupNameThe 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.
-
ProxyRuleGroupArnThe Amazon Resource Name (ARN) of a proxy rule group.
You must specify the ARN or the name, and you can specify both.
-
ProxyRuleName[required] The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.
-
DescriptionA description of the proxy rule.
-
ActionDepending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.
-
AddConditionsProxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
-
RemoveConditionsProxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
-
UpdateToken[required] A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request.
To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule 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 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(
ProxyRule = list(
ProxyRuleName = "string",
Description = "string",
Action = "ALLOW"|"DENY"|"ALERT",
Conditions = list(
list(
ConditionOperator = "string",
ConditionKey = "string",
ConditionValues = list(
"string"
)
)
)
),
RemovedConditions = list(
list(
ConditionOperator = "string",
ConditionKey = "string",
ConditionValues = list(
"string"
)
)
),
UpdateToken = "string"
)
Request syntax¶
svc$update_proxy_rule(
ProxyRuleGroupName = "string",
ProxyRuleGroupArn = "string",
ProxyRuleName = "string",
Description = "string",
Action = "ALLOW"|"DENY"|"ALERT",
AddConditions = list(
list(
ConditionOperator = "string",
ConditionKey = "string",
ConditionValues = list(
"string"
)
)
),
RemoveConditions = list(
list(
ConditionOperator = "string",
ConditionKey = "string",
ConditionValues = list(
"string"
)
)
),
UpdateToken = "string"
)