Skip to main content

proxy_configurations

Creates, updates, deletes, gets or lists a proxy_configurations resource.

Overview

Nameproxy_configurations
TypeResource
Idaws.network_firewall.proxy_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
proxy_configurationobjectThe configuration for the specified proxy configuration.
update_tokenstringA 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. (pattern: <code>^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_proxy_configurationselectregionReturns the data objects for the specified proxy configuration.
list_proxy_configurationsselectregionRetrieves the metadata for the proxy configuration that you have defined. Depending on your setting for max results and the number of proxy configurations, a single call might not return the full list.
create_proxy_configurationinsertregion, ProxyConfigurationName, DefaultRulePhaseActionsCreates an Network Firewall 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. To manage a proxy configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxyConfigurations and DescribeProxyConfiguration.
attach_rule_groups_to_proxy_configurationupdateregion, RuleGroups, UpdateTokenAttaches 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.
update_proxy_configurationupdateregion, DefaultRulePhaseActions, UpdateTokenUpdates the properties of the specified proxy configuration.
detach_rule_groups_from_proxy_configurationupdateregion, UpdateTokenDetaches ProxyRuleGroup resources from 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.
delete_proxy_configurationdeleteregionDeletes the specified ProxyConfiguration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the data objects for the specified proxy configuration.

SELECT
proxy_configuration,
update_token
FROM aws.network_firewall.proxy_configurations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an Network Firewall 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. To manage a proxy configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource. To retrieve information about proxies, use ListProxyConfigurations and DescribeProxyConfiguration.

INSERT INTO aws.network_firewall.proxy_configurations (
ProxyConfigurationName,
Description,
RuleGroupNames,
RuleGroupArns,
DefaultRulePhaseActions,
Tags,
region
)
SELECT
'{{ ProxyConfigurationName }}' /* required */,
'{{ Description }}',
'{{ RuleGroupNames }}',
'{{ RuleGroupArns }}',
'{{ DefaultRulePhaseActions }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
proxy_configuration,
update_token
;

UPDATE examples

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.

UPDATE aws.network_firewall.proxy_configurations
SET
ProxyConfigurationName = '{{ ProxyConfigurationName }}',
ProxyConfigurationArn = '{{ ProxyConfigurationArn }}',
RuleGroups = '{{ RuleGroups }}',
UpdateToken = '{{ UpdateToken }}'
WHERE
region = '{{ region }}' --required
AND RuleGroups = '{{ RuleGroups }}' --required
AND UpdateToken = '{{ UpdateToken }}' --required
RETURNING
proxy_configuration,
update_token;

DELETE examples

Deletes the specified ProxyConfiguration.

DELETE FROM aws.network_firewall.proxy_configurations
WHERE region = '{{ region }}' --required
;