libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAFRegional.Types.LoggingConfiguration

Description

 
Synopsis

Documentation

data LoggingConfiguration Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

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).

See: newLoggingConfiguration smart constructor.

Constructors

LoggingConfiguration' 

Fields

Instances

Instances details
Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

Show LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

Generic LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

Associated Types

type Rep LoggingConfiguration :: Type -> Type #

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

ToJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

FromJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

type Rep LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.LoggingConfiguration

type Rep LoggingConfiguration = D1 ('MetaData "LoggingConfiguration" "Amazonka.WAFRegional.Types.LoggingConfiguration" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "redactedFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldToMatch])) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logDestinationConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newLoggingConfiguration Source #

Create a value of LoggingConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:redactedFields:LoggingConfiguration', loggingConfiguration_redactedFields - 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.

$sel:resourceArn:LoggingConfiguration', loggingConfiguration_resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.

$sel:logDestinationConfigs:LoggingConfiguration', loggingConfiguration_logDestinationConfigs - An array of Amazon Kinesis Data Firehose ARNs.

loggingConfiguration_redactedFields :: Lens' LoggingConfiguration (Maybe [FieldToMatch]) Source #

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.

loggingConfiguration_resourceArn :: Lens' LoggingConfiguration Text Source #

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