AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . network-firewall ]
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.
See also: AWS API Documentation
attach-rule-groups-to-proxy-configuration
[--proxy-configuration-name <value>]
[--proxy-configuration-arn <value>]
--rule-groups <value>
--update-token <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--v2-debug]
--proxy-configuration-name (string)
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.
--proxy-configuration-arn (string)
The Amazon Resource Name (ARN) of a proxy configuration.
You must specify the ARN or the name, and you can specify both.
--rule-groups (list)
The proxy rule group(s) to attach to the proxy configuration
(structure)
The proxy rule group(s) to attach to the proxy configuration
ProxyRuleGroupName -> (string)
The descriptive name of the proxy rule group. You can’t change the name of a proxy rule group after you create it.InsertPosition -> (integer)
Where to insert a proxy rule group in a proxy configuration.
Shorthand Syntax:
ProxyRuleGroupName=string,InsertPosition=integer ...
JSON Syntax:
[
{
"ProxyRuleGroupName": "string",
"InsertPosition": integer
}
...
]
--update-token (string)
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.
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--v2-debug (boolean)
Enable AWS CLI v2 migration assistance. Prints warnings if the command would face a breaking change after swapping AWS CLI v1 for AWS CLI v2 in the current environment. Prints one warning for each breaking change detected.
ProxyConfiguration -> (structure)
The updated proxy configuration resource that reflects the updates from the request.
ProxyConfigurationName -> (string)
The descriptive name of the proxy configuration. You can’t change the name of a proxy configuration after you create it.ProxyConfigurationArn -> (string)
The Amazon Resource Name (ARN) of a proxy configuration.Description -> (string)
A description of the proxy configuration.CreateTime -> (timestamp)
Time the Proxy Configuration was created.DeleteTime -> (timestamp)
Time the Proxy Configuration was deleted.RuleGroups -> (list)
Proxy rule groups within the proxy configuration.
(structure)
Proxy rule group contained within a proxy configuration.
ProxyRuleGroupName -> (string)
The descriptive name of the proxy rule group. You can’t change the name of a proxy rule group after you create it.ProxyRuleGroupArn -> (string)
The Amazon Resource Name (ARN) of a proxy rule group.Type -> (string)
Proxy rule group type.Priority -> (integer)
Priority of the proxy rule group in the proxy configuration.DefaultRulePhaseActions -> (structure)
Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.
Pre-DNS - before domain resolution.
Pre-Request - after DNS, before request.
Post-Response - after receiving response.
PreDNS -> (string)
Before domain resolution.PreREQUEST -> (string)
After DNS, before request.PostRESPONSE -> (string)
After receiving response.Tags -> (list)
The key:value pairs to associate with the resource.
(structure)
A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as “environment”) and the tag value represents a specific value within that category (such as “test,” “development,” or “production”). You can add up to 50 tags to each Amazon Web Services resource.
Key -> (string)
The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as “customer.” Tag keys are case-sensitive.Value -> (string)
The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as “companyA” or “companyB.” Tag values are case-sensitive.
UpdateToken -> (string)
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.