#[non_exhaustive]pub struct ApplicationLayerAutomaticResponseConfiguration {
pub status: ApplicationLayerAutomaticResponseStatus,
pub action: Option<ResponseAction>,
}
Expand description
The automatic application layer DDoS mitigation settings for a Protection
. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.
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.status: ApplicationLayerAutomaticResponseStatus
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
action: Option<ResponseAction>
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
Implementations§
source§impl ApplicationLayerAutomaticResponseConfiguration
impl ApplicationLayerAutomaticResponseConfiguration
sourcepub fn status(&self) -> &ApplicationLayerAutomaticResponseStatus
pub fn status(&self) -> &ApplicationLayerAutomaticResponseStatus
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
sourcepub fn action(&self) -> Option<&ResponseAction>
pub fn action(&self) -> Option<&ResponseAction>
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
source§impl ApplicationLayerAutomaticResponseConfiguration
impl ApplicationLayerAutomaticResponseConfiguration
sourcepub fn builder() -> ApplicationLayerAutomaticResponseConfigurationBuilder
pub fn builder() -> ApplicationLayerAutomaticResponseConfigurationBuilder
Creates a new builder-style object to manufacture ApplicationLayerAutomaticResponseConfiguration
.
Trait Implementations§
source§impl Clone for ApplicationLayerAutomaticResponseConfiguration
impl Clone for ApplicationLayerAutomaticResponseConfiguration
source§fn clone(&self) -> ApplicationLayerAutomaticResponseConfiguration
fn clone(&self) -> ApplicationLayerAutomaticResponseConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ApplicationLayerAutomaticResponseConfiguration
impl PartialEq for ApplicationLayerAutomaticResponseConfiguration
source§fn eq(&self, other: &ApplicationLayerAutomaticResponseConfiguration) -> bool
fn eq(&self, other: &ApplicationLayerAutomaticResponseConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.