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: StringThe 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 ==.impl StructuralPartialEq for LoggingConfiguration
Auto Trait Implementations§
impl Freeze for LoggingConfiguration
impl RefUnwindSafe for LoggingConfiguration
impl Send for LoggingConfiguration
impl Sync for LoggingConfiguration
impl Unpin for LoggingConfiguration
impl UnwindSafe for LoggingConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more