Skip to content

Update Proxy Configuration

networkfirewall_update_proxy_configuration R Documentation

Updates the properties of the specified proxy configuration

Description

Updates the properties of the specified proxy configuration.

Usage

networkfirewall_update_proxy_configuration(ProxyConfigurationName,
  ProxyConfigurationArn, DefaultRulePhaseActions, 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.

DefaultRulePhaseActions

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

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$update_proxy_configuration(
  ProxyConfigurationName = "string",
  ProxyConfigurationArn = "string",
  DefaultRulePhaseActions = list(
    PreDNS = "ALLOW"|"DENY"|"ALERT",
    PreREQUEST = "ALLOW"|"DENY"|"ALERT",
    PostRESPONSE = "ALLOW"|"DENY"|"ALERT"
  ),
  UpdateToken = "string"
)