Struct aws_sdk_shield::operation::update_application_layer_automatic_response::UpdateApplicationLayerAutomaticResponseInput
source · #[non_exhaustive]pub struct UpdateApplicationLayerAutomaticResponseInput {
pub resource_arn: Option<String>,
pub action: Option<ResponseAction>,
}
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: Option<String>
The ARN (Amazon Resource Name) of the resource.
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 UpdateApplicationLayerAutomaticResponseInput
impl UpdateApplicationLayerAutomaticResponseInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) of the resource.
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 UpdateApplicationLayerAutomaticResponseInput
impl UpdateApplicationLayerAutomaticResponseInput
sourcepub fn builder() -> UpdateApplicationLayerAutomaticResponseInputBuilder
pub fn builder() -> UpdateApplicationLayerAutomaticResponseInputBuilder
Creates a new builder-style object to manufacture UpdateApplicationLayerAutomaticResponseInput
.
Trait Implementations§
source§impl Clone for UpdateApplicationLayerAutomaticResponseInput
impl Clone for UpdateApplicationLayerAutomaticResponseInput
source§fn clone(&self) -> UpdateApplicationLayerAutomaticResponseInput
fn clone(&self) -> UpdateApplicationLayerAutomaticResponseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateApplicationLayerAutomaticResponseInput
impl PartialEq for UpdateApplicationLayerAutomaticResponseInput
source§fn eq(&self, other: &UpdateApplicationLayerAutomaticResponseInput) -> bool
fn eq(&self, other: &UpdateApplicationLayerAutomaticResponseInput) -> bool
self
and other
values to be equal, and is used
by ==
.