NetworkFirewall / Client / describe_proxy_rule

describe_proxy_rule

NetworkFirewall.Client.describe_proxy_rule(**kwargs)

Returns the data objects for the specified proxy configuration for the specified proxy rule group.

See also: AWS API Documentation

Request Syntax

response = client.describe_proxy_rule(
    ProxyRuleName='string',
    ProxyRuleGroupName='string',
    ProxyRuleGroupArn='string'
)
Parameters:
  • ProxyRuleName (string) –

    [REQUIRED]

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

  • 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.

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

  • ProxyRuleGroupArn (string) –

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

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

Return type:

dict

Returns:

Response Syntax

{
    'ProxyRule': {
        'ProxyRuleName': 'string',
        'Description': 'string',
        'Action': 'ALLOW'|'DENY'|'ALERT',
        'Conditions': [
            {
                'ConditionOperator': 'string',
                'ConditionKey': 'string',
                'ConditionValues': [
                    'string',
                ]
            },
        ]
    },
    'UpdateToken': 'string'
}

Response Structure

  • (dict) –

    • ProxyRule (dict) –

      The configuration for the specified proxy rule.

      • ProxyRuleName (string) –

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

      • Description (string) –

        A description of the proxy rule.

      • Action (string) –

        Action to take.

      • Conditions (list) –

        Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

        • (dict) –

          Match criteria that specify what traffic attributes to examine.

          • ConditionOperator (string) –

            Defines how to perform a match.

          • ConditionKey (string) –

            Defines what is to be matched.

          • ConditionValues (list) –

            Specifes the exact value that needs to be matched against.

            • (string) –

    • UpdateToken (string) –

      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.

Exceptions