AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAFV2::Model::LoggingConfiguration Class Reference

#include <LoggingConfiguration.h>

Public Member Functions

 LoggingConfiguration ()
 
 LoggingConfiguration (Aws::Utils::Json::JsonView jsonValue)
 
LoggingConfigurationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetResourceArn () const
 
bool ResourceArnHasBeenSet () const
 
void SetResourceArn (const Aws::String &value)
 
void SetResourceArn (Aws::String &&value)
 
void SetResourceArn (const char *value)
 
LoggingConfigurationWithResourceArn (const Aws::String &value)
 
LoggingConfigurationWithResourceArn (Aws::String &&value)
 
LoggingConfigurationWithResourceArn (const char *value)
 
const Aws::Vector< Aws::String > & GetLogDestinationConfigs () const
 
bool LogDestinationConfigsHasBeenSet () const
 
void SetLogDestinationConfigs (const Aws::Vector< Aws::String > &value)
 
void SetLogDestinationConfigs (Aws::Vector< Aws::String > &&value)
 
LoggingConfigurationWithLogDestinationConfigs (const Aws::Vector< Aws::String > &value)
 
LoggingConfigurationWithLogDestinationConfigs (Aws::Vector< Aws::String > &&value)
 
LoggingConfigurationAddLogDestinationConfigs (const Aws::String &value)
 
LoggingConfigurationAddLogDestinationConfigs (Aws::String &&value)
 
LoggingConfigurationAddLogDestinationConfigs (const char *value)
 
const Aws::Vector< FieldToMatch > & GetRedactedFields () const
 
bool RedactedFieldsHasBeenSet () const
 
void SetRedactedFields (const Aws::Vector< FieldToMatch > &value)
 
void SetRedactedFields (Aws::Vector< FieldToMatch > &&value)
 
LoggingConfigurationWithRedactedFields (const Aws::Vector< FieldToMatch > &value)
 
LoggingConfigurationWithRedactedFields (Aws::Vector< FieldToMatch > &&value)
 
LoggingConfigurationAddRedactedFields (const FieldToMatch &value)
 
LoggingConfigurationAddRedactedFields (FieldToMatch &&value)
 
bool GetManagedByFirewallManager () const
 
bool ManagedByFirewallManagerHasBeenSet () const
 
void SetManagedByFirewallManager (bool value)
 
LoggingConfigurationWithManagedByFirewallManager (bool value)
 
const LoggingFilterGetLoggingFilter () const
 
bool LoggingFilterHasBeenSet () const
 
void SetLoggingFilter (const LoggingFilter &value)
 
void SetLoggingFilter (LoggingFilter &&value)
 
LoggingConfigurationWithLoggingFilter (const LoggingFilter &value)
 
LoggingConfigurationWithLoggingFilter (LoggingFilter &&value)
 

Detailed Description

Defines an association between Amazon Kinesis Data Firehose destinations and a web ACL resource, for logging from WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you can specify filters so that you log only a subset of the logging records.

See Also:

AWS API Reference

Definition at line 38 of file LoggingConfiguration.h.

Constructor & Destructor Documentation

◆ LoggingConfiguration() [1/2]

Aws::WAFV2::Model::LoggingConfiguration::LoggingConfiguration ( )

◆ LoggingConfiguration() [2/2]

Aws::WAFV2::Model::LoggingConfiguration::LoggingConfiguration ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddLogDestinationConfigs() [1/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::AddLogDestinationConfigs ( Aws::String &&  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 142 of file LoggingConfiguration.h.

◆ AddLogDestinationConfigs() [2/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::AddLogDestinationConfigs ( const Aws::String value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 136 of file LoggingConfiguration.h.

◆ AddLogDestinationConfigs() [3/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::AddLogDestinationConfigs ( const char *  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 148 of file LoggingConfiguration.h.

◆ AddRedactedFields() [1/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::AddRedactedFields ( const FieldToMatch value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 219 of file LoggingConfiguration.h.

◆ AddRedactedFields() [2/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::AddRedactedFields ( FieldToMatch &&  value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 229 of file LoggingConfiguration.h.

◆ GetLogDestinationConfigs()

const Aws::Vector<Aws::String>& Aws::WAFV2::Model::LoggingConfiguration::GetLogDestinationConfigs ( ) const
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 100 of file LoggingConfiguration.h.

◆ GetLoggingFilter()

const LoggingFilter& Aws::WAFV2::Model::LoggingConfiguration::GetLoggingFilter ( ) const
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 266 of file LoggingConfiguration.h.

◆ GetManagedByFirewallManager()

bool Aws::WAFV2::Model::LoggingConfiguration::GetManagedByFirewallManager ( ) const
inline

Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.

Definition at line 237 of file LoggingConfiguration.h.

◆ GetRedactedFields()

const Aws::Vector<FieldToMatch>& Aws::WAFV2::Model::LoggingConfiguration::GetRedactedFields ( ) const
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 159 of file LoggingConfiguration.h.

◆ GetResourceArn()

const Aws::String& Aws::WAFV2::Model::LoggingConfiguration::GetResourceArn ( ) const
inline

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

Definition at line 51 of file LoggingConfiguration.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::WAFV2::Model::LoggingConfiguration::Jsonize ( ) const

◆ LogDestinationConfigsHasBeenSet()

bool Aws::WAFV2::Model::LoggingConfiguration::LogDestinationConfigsHasBeenSet ( ) const
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 106 of file LoggingConfiguration.h.

◆ LoggingFilterHasBeenSet()

bool Aws::WAFV2::Model::LoggingConfiguration::LoggingFilterHasBeenSet ( ) const
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 273 of file LoggingConfiguration.h.

◆ ManagedByFirewallManagerHasBeenSet()

bool Aws::WAFV2::Model::LoggingConfiguration::ManagedByFirewallManagerHasBeenSet ( ) const
inline

Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.

Definition at line 244 of file LoggingConfiguration.h.

◆ operator=()

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RedactedFieldsHasBeenSet()

bool Aws::WAFV2::Model::LoggingConfiguration::RedactedFieldsHasBeenSet ( ) const
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 169 of file LoggingConfiguration.h.

◆ ResourceArnHasBeenSet()

bool Aws::WAFV2::Model::LoggingConfiguration::ResourceArnHasBeenSet ( ) const
inline

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

Definition at line 57 of file LoggingConfiguration.h.

◆ SetLogDestinationConfigs() [1/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetLogDestinationConfigs ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 118 of file LoggingConfiguration.h.

◆ SetLogDestinationConfigs() [2/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetLogDestinationConfigs ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 112 of file LoggingConfiguration.h.

◆ SetLoggingFilter() [1/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetLoggingFilter ( const LoggingFilter value)
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 280 of file LoggingConfiguration.h.

◆ SetLoggingFilter() [2/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetLoggingFilter ( LoggingFilter &&  value)
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 287 of file LoggingConfiguration.h.

◆ SetManagedByFirewallManager()

void Aws::WAFV2::Model::LoggingConfiguration::SetManagedByFirewallManager ( bool  value)
inline

Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.

Definition at line 251 of file LoggingConfiguration.h.

◆ SetRedactedFields() [1/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetRedactedFields ( Aws::Vector< FieldToMatch > &&  value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 189 of file LoggingConfiguration.h.

◆ SetRedactedFields() [2/2]

void Aws::WAFV2::Model::LoggingConfiguration::SetRedactedFields ( const Aws::Vector< FieldToMatch > &  value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 179 of file LoggingConfiguration.h.

◆ SetResourceArn() [1/3]

void Aws::WAFV2::Model::LoggingConfiguration::SetResourceArn ( Aws::String &&  value)
inline

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

Definition at line 69 of file LoggingConfiguration.h.

◆ SetResourceArn() [2/3]

void Aws::WAFV2::Model::LoggingConfiguration::SetResourceArn ( const Aws::String value)
inline

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

Definition at line 63 of file LoggingConfiguration.h.

◆ SetResourceArn() [3/3]

void Aws::WAFV2::Model::LoggingConfiguration::SetResourceArn ( const char *  value)
inline

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

Definition at line 75 of file LoggingConfiguration.h.

◆ WithLogDestinationConfigs() [1/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithLogDestinationConfigs ( Aws::Vector< Aws::String > &&  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 130 of file LoggingConfiguration.h.

◆ WithLogDestinationConfigs() [2/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithLogDestinationConfigs ( const Aws::Vector< Aws::String > &  value)
inline

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

Definition at line 124 of file LoggingConfiguration.h.

◆ WithLoggingFilter() [1/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithLoggingFilter ( const LoggingFilter value)
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 294 of file LoggingConfiguration.h.

◆ WithLoggingFilter() [2/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithLoggingFilter ( LoggingFilter &&  value)
inline

Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Definition at line 301 of file LoggingConfiguration.h.

◆ WithManagedByFirewallManager()

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithManagedByFirewallManager ( bool  value)
inline

Indicates whether the logging configuration was created by Firewall Manager, as part of an WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.

Definition at line 258 of file LoggingConfiguration.h.

◆ WithRedactedFields() [1/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithRedactedFields ( Aws::Vector< FieldToMatch > &&  value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 209 of file LoggingConfiguration.h.

◆ WithRedactedFields() [2/2]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithRedactedFields ( const Aws::Vector< FieldToMatch > &  value)
inline

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

Definition at line 199 of file LoggingConfiguration.h.

◆ WithResourceArn() [1/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithResourceArn ( Aws::String &&  value)
inline

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

Definition at line 87 of file LoggingConfiguration.h.

◆ WithResourceArn() [2/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithResourceArn ( const Aws::String value)
inline

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

Definition at line 81 of file LoggingConfiguration.h.

◆ WithResourceArn() [3/3]

LoggingConfiguration& Aws::WAFV2::Model::LoggingConfiguration::WithResourceArn ( const char *  value)
inline

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

Definition at line 93 of file LoggingConfiguration.h.


The documentation for this class was generated from the following file: