Struct aws_sdk_shield::model::AttackProperty
source · [−]#[non_exhaustive]pub struct AttackProperty { /* private fields */ }
Expand description
Details of a Shield event. This is provided as part of an AttackDetail
.
Implementations
sourceimpl AttackProperty
impl AttackProperty
sourcepub fn attack_layer(&self) -> Option<&AttackLayer>
pub fn attack_layer(&self) -> Option<&AttackLayer>
The type of Shield event that was observed. NETWORK
indicates layer 3 and layer 4 events and APPLICATION
indicates layer 7 events.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
sourcepub fn attack_property_identifier(&self) -> Option<&AttackPropertyIdentifier>
pub fn attack_property_identifier(&self) -> Option<&AttackPropertyIdentifier>
Defines the Shield event property information that is provided. The WORDPRESS_PINGBACK_REFLECTOR
and WORDPRESS_PINGBACK_SOURCE
values are valid only for WordPress reflective pingback events.
sourcepub fn top_contributors(&self) -> Option<&[Contributor]>
pub fn top_contributors(&self) -> Option<&[Contributor]>
Contributor objects for the top five contributors to a Shield event. A contributor is a source of traffic that Shield Advanced identifies as responsible for some or all of an event.
sourceimpl AttackProperty
impl AttackProperty
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttackProperty
.
Trait Implementations
sourceimpl Clone for AttackProperty
impl Clone for AttackProperty
sourcefn clone(&self) -> AttackProperty
fn clone(&self) -> AttackProperty
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more