You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WAF::Types::LoggingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LoggingConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn: "ResourceArn", # required
  log_destination_configs: ["ResourceArn"], # required
  redacted_fields: [
    {
      type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
      data: "MatchFieldData",
    },
  ],
}

The Amazon Kinesis Data Firehose, RedactedFields information, and the web ACL Amazon Resource Name (ARN).

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#log_destination_configsArray<String>

An array of Amazon Kinesis Data Firehose ARNs.

Returns:

  • (Array<String>)

    An array of Amazon Kinesis Data Firehose ARNs.

#redacted_fieldsArray<Types::FieldToMatch>

The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

Returns:

  • (Array<Types::FieldToMatch>)

    The parts of the request that you want redacted from the logs.

#resource_arnString

The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.