NAME

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

DESCRIPTION

This class represents the parameters used for calling the method PutLoggingConfiguration on the AWS WAFV2 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 $wafv2 = Paws->service('WAFV2');
my $PutLoggingConfigurationResponse = $wafv2->PutLoggingConfiguration(
  LoggingConfiguration => {
    LogDestinationConfigs => [
      'MyResourceArn', ...    # min: 20, max: 2048
    ],    # min: 1, max: 100
    ResourceArn   => 'MyResourceArn',    # min: 20, max: 2048
    LoggingFilter => {
      DefaultBehavior => 'KEEP',         # values: KEEP, DROP
      Filters         => [
        {
          Behavior   => 'KEEP',          # values: KEEP, DROP
          Conditions => [
            {
              ActionCondition => {
                Action => 'ALLOW',    # values: ALLOW, BLOCK, COUNT

              },    # OPTIONAL
              LabelNameCondition => {
                LabelName => 'MyLabelName',    # min: 1, max: 1024

              },    # OPTIONAL
            },
            ...
          ],    # min: 1
          Requirement => 'MEETS_ALL',    # values: MEETS_ALL, MEETS_ANY

        },
        ...
      ],    # min: 1

    },    # OPTIONAL
    ManagedByFirewallManager => 1,    # OPTIONAL
    RedactedFields           => [
      {
        AllQueryArguments => {

        },    # OPTIONAL
        Body => {

        },    # OPTIONAL
        JsonBody => {
          MatchPattern => {
            All => {

            },    # OPTIONAL
            IncludedPaths => [
              'MyJsonPointerPath', ...    # min: 1, max: 512
            ],    # min: 1; OPTIONAL
          },
          MatchScope              => 'ALL',    # values: ALL, KEY, VALUE
          InvalidFallbackBehavior =>
            'MATCH', # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL
        },    # OPTIONAL
        Method => {

        },    # OPTIONAL
        QueryString => {

        },    # OPTIONAL
        SingleHeader => {
          Name => 'MyFieldToMatchData',    # min: 1, max: 64

        },    # OPTIONAL
        SingleQueryArgument => {
          Name => 'MyFieldToMatchData',    # min: 1, max: 64

        },    # OPTIONAL
        UriPath => {

        },    # OPTIONAL
      },
      ...
    ],    # max: 100; OPTIONAL
  },

);

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

# Returns a L<Paws::WAFV2::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/wafv2/PutLoggingConfiguration

ATTRIBUTES

REQUIRED LoggingConfiguration => Paws::WAFV2::LoggingConfiguration

SEE ALSO

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

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