Struct aws_sdk_shield::operation::enable_application_layer_automatic_response::EnableApplicationLayerAutomaticResponseInput
source · #[non_exhaustive]pub struct EnableApplicationLayerAutomaticResponseInput {
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 protected 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 EnableApplicationLayerAutomaticResponseInput
impl EnableApplicationLayerAutomaticResponseInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) of the protected 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 EnableApplicationLayerAutomaticResponseInput
impl EnableApplicationLayerAutomaticResponseInput
sourcepub fn builder() -> EnableApplicationLayerAutomaticResponseInputBuilder
pub fn builder() -> EnableApplicationLayerAutomaticResponseInputBuilder
Creates a new builder-style object to manufacture EnableApplicationLayerAutomaticResponseInput
.
Trait Implementations§
source§impl Clone for EnableApplicationLayerAutomaticResponseInput
impl Clone for EnableApplicationLayerAutomaticResponseInput
source§fn clone(&self) -> EnableApplicationLayerAutomaticResponseInput
fn clone(&self) -> EnableApplicationLayerAutomaticResponseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for EnableApplicationLayerAutomaticResponseInput
impl PartialEq for EnableApplicationLayerAutomaticResponseInput
source§fn eq(&self, other: &EnableApplicationLayerAutomaticResponseInput) -> bool
fn eq(&self, other: &EnableApplicationLayerAutomaticResponseInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EnableApplicationLayerAutomaticResponseInput
Auto Trait Implementations§
impl Freeze for EnableApplicationLayerAutomaticResponseInput
impl RefUnwindSafe for EnableApplicationLayerAutomaticResponseInput
impl Send for EnableApplicationLayerAutomaticResponseInput
impl Sync for EnableApplicationLayerAutomaticResponseInput
impl Unpin for EnableApplicationLayerAutomaticResponseInput
impl UnwindSafe for EnableApplicationLayerAutomaticResponseInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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