Struct aws_sdk_waf::types::LoggingConfiguration
source · #[non_exhaustive]pub struct LoggingConfiguration {
pub resource_arn: String,
pub log_destination_configs: Vec<String>,
pub redacted_fields: Option<Vec<FieldToMatch>>,
}
Expand description
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).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_arn: String
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs
.
log_destination_configs: Vec<String>
An array of Amazon Kinesis Data Firehose ARNs.
redacted_fields: Option<Vec<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
.
Implementations§
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs
.
sourcepub fn log_destination_configs(&self) -> &[String]
pub fn log_destination_configs(&self) -> &[String]
An array of Amazon Kinesis Data Firehose ARNs.
sourcepub fn redacted_fields(&self) -> &[FieldToMatch]
pub fn redacted_fields(&self) -> &[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
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .redacted_fields.is_none()
.
source§impl LoggingConfiguration
impl LoggingConfiguration
sourcepub fn builder() -> LoggingConfigurationBuilder
pub fn builder() -> LoggingConfigurationBuilder
Creates a new builder-style object to manufacture LoggingConfiguration
.
Trait Implementations§
source§impl Clone for LoggingConfiguration
impl Clone for LoggingConfiguration
source§fn clone(&self) -> LoggingConfiguration
fn clone(&self) -> LoggingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingConfiguration
impl Debug for LoggingConfiguration
source§impl PartialEq for LoggingConfiguration
impl PartialEq for LoggingConfiguration
source§fn eq(&self, other: &LoggingConfiguration) -> bool
fn eq(&self, other: &LoggingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.