class Aws::WAFV2::Types::PutLoggingConfigurationRequest

@note When making an API call, you may pass PutLoggingConfigurationRequest

data as a hash:

    {
      logging_configuration: { # required
        resource_arn: "ResourceArn", # required
        log_destination_configs: ["ResourceArn"], # required
        redacted_fields: [
          {
            single_header: {
              name: "FieldToMatchData", # required
            },
            single_query_argument: {
              name: "FieldToMatchData", # required
            },
            all_query_arguments: {
            },
            uri_path: {
            },
            query_string: {
            },
            body: {
            },
            method: {
            },
            json_body: {
              match_pattern: { # required
                all: {
                },
                included_paths: ["JsonPointerPath"],
              },
              match_scope: "ALL", # required, accepts ALL, KEY, VALUE
              invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
            },
          },
        ],
        managed_by_firewall_manager: false,
        logging_filter: {
          filters: [ # required
            {
              behavior: "KEEP", # required, accepts KEEP, DROP
              requirement: "MEETS_ALL", # required, accepts MEETS_ALL, MEETS_ANY
              conditions: [ # required
                {
                  action_condition: {
                    action: "ALLOW", # required, accepts ALLOW, BLOCK, COUNT
                  },
                  label_name_condition: {
                    label_name: "LabelName", # required
                  },
                },
              ],
            },
          ],
          default_behavior: "KEEP", # required, accepts KEEP, DROP
        },
      },
    }

@!attribute [rw] logging_configuration

@return [Types::LoggingConfiguration]

@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfigurationRequest AWS API Documentation

Constants

SENSITIVE