NAME

Paws::WAF::PutLoggingConfiguration - Arguments for method PutLoggingConfiguration on Paws::WAF

DESCRIPTION

This class represents the parameters used for calling the method PutLoggingConfiguration on the AWS WAF service. Use the attributes of this class as arguments to method PutLoggingConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutLoggingConfiguration.

SYNOPSIS

my $waf = Paws->service('WAF');
my $PutLoggingConfigurationResponse = $waf->PutLoggingConfiguration(
  LoggingConfiguration => {
    LogDestinationConfigs => [
      'MyResourceArn', ...    # min: 1, max: 1224
    ],    # min: 1, max: 1
    ResourceArn    => 'MyResourceArn',    # min: 1, max: 1224
    RedactedFields => [
      {
        Type => 'URI'
        , # values: URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
        Data => 'MyMatchFieldData',    # min: 1, max: 128; OPTIONAL
      },
      ...
    ],    # OPTIONAL
  },

);

# Results:
my $LoggingConfiguration =
  $PutLoggingConfigurationResponse->LoggingConfiguration;

# Returns a L<Paws::WAF::PutLoggingConfigurationResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/waf/PutLoggingConfiguration

ATTRIBUTES

REQUIRED LoggingConfiguration => Paws::WAF::LoggingConfiguration

The Amazon Kinesis Data Firehose that contains the inspected traffic information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL to monitor.

When specifying Type in RedactedFields, you must use one of the following values: URI, QUERY_STRING, HEADER, or METHOD.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutLoggingConfiguration in Paws::WAF

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues