Class: Aws::WAFRegional::Types::LoggingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFRegional::Types::LoggingConfiguration
- Defined in:
- gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb
Overview
When making an API call, you may pass LoggingConfiguration data as a 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",
},
],
}
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The Amazon Kinesis Data Firehose, RedactedFields
information, and
the web ACL Amazon Resource Name (ARN).
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#log_destination_configs ⇒ Array<String>
An array of Amazon Kinesis Data Firehose ARNs.
-
#redacted_fields ⇒ Array<Types::FieldToMatch>
The parts of the request that you want redacted from the logs.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the web ACL that you want to associate with
LogDestinationConfigs
.
Instance Attribute Details
#log_destination_configs ⇒ Array<String>
An array of Amazon Kinesis Data Firehose ARNs.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4300 class LoggingConfiguration < Struct.new( :resource_arn, :log_destination_configs, :redacted_fields) SENSITIVE = [] include Aws::Structure end |
#redacted_fields ⇒ Array<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
.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4300 class LoggingConfiguration < Struct.new( :resource_arn, :log_destination_configs, :redacted_fields) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the web ACL that you want to
associate with LogDestinationConfigs
.
4300 4301 4302 4303 4304 4305 4306 |
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 4300 class LoggingConfiguration < Struct.new( :resource_arn, :log_destination_configs, :redacted_fields) SENSITIVE = [] include Aws::Structure end |