amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Shield.Types.AttackProperty

Description

 
Synopsis

Documentation

data AttackProperty Source #

Details of a Shield event. This is provided as part of an AttackDetail.

See: newAttackProperty smart constructor.

Constructors

AttackProperty' 

Fields

  • attackLayer :: Maybe 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.

  • attackPropertyIdentifier :: Maybe 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.

  • topContributors :: Maybe [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.

  • total :: Maybe Integer

    The total contributions made to this Shield event by all contributors.

  • unit :: Maybe Unit

    The unit used for the Contributor Value property.

Instances

Instances details
FromJSON AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

Generic AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

Associated Types

type Rep AttackProperty :: Type -> Type #

Read AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

Show AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

NFData AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

Methods

rnf :: AttackProperty -> () #

Eq AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

Hashable AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

type Rep AttackProperty Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackProperty

type Rep AttackProperty = D1 ('MetaData "AttackProperty" "Amazonka.Shield.Types.AttackProperty" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "AttackProperty'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attackLayer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackLayer)) :*: S1 ('MetaSel ('Just "attackPropertyIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackPropertyIdentifier))) :*: (S1 ('MetaSel ('Just "topContributors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Contributor])) :*: (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Unit))))))

newAttackProperty :: AttackProperty Source #

Create a value of AttackProperty with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attackLayer:AttackProperty', attackProperty_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.

$sel:attackPropertyIdentifier:AttackProperty', attackProperty_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.

$sel:topContributors:AttackProperty', attackProperty_topContributors - 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.

$sel:total:AttackProperty', attackProperty_total - The total contributions made to this Shield event by all contributors.

$sel:unit:AttackProperty', attackProperty_unit - The unit used for the Contributor Value property.

attackProperty_attackLayer :: Lens' AttackProperty (Maybe AttackLayer) Source #

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.

attackProperty_attackPropertyIdentifier :: Lens' AttackProperty (Maybe AttackPropertyIdentifier) Source #

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.

attackProperty_topContributors :: Lens' AttackProperty (Maybe [Contributor]) Source #

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.

attackProperty_total :: Lens' AttackProperty (Maybe Integer) Source #

The total contributions made to this Shield event by all contributors.

attackProperty_unit :: Lens' AttackProperty (Maybe Unit) Source #

The unit used for the Contributor Value property.