Skip to content

AttackProperty

Source code in docs_src/capo_shield/types/attack_property.py
class AttackProperty(TypedDict, closed=True):
    attack_layer: NotRequired["capo_shield.types.attack_layer.AttackLayer"]
    """<p>The type of Shield event that was observed. <code>NETWORK</code> indicates layer 3 and layer 4 events and <code>APPLICATION</code> indicates layer 7 events.</p> <p>For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#set-ddos-alarms">Shield metrics and alarms</a> in the <i>WAF Developer Guide</i>. </p>"""
    attack_property_identifier: NotRequired[
        "capo_shield.types.attack_property_identifier.AttackPropertyIdentifier"
    ]
    """<p>Defines the Shield event property information that is provided. The <code>WORDPRESS_PINGBACK_REFLECTOR</code> and <code>WORDPRESS_PINGBACK_SOURCE</code> values are valid only for WordPress reflective pingback events.</p>"""
    top_contributors: NotRequired["capo_shield.types.top_contributors.TopContributors"]
    """<p>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.</p>"""
    unit: NotRequired["capo_shield.types.unit.Unit"]
    """<p>The unit used for the <code>Contributor</code> <code>Value</code> property. </p>"""
    total: "capo_shield.types.long.Long"
    """<p>The total contributions made to this Shield event by all contributors.</p>"""

attack_layer instance-attribute

attack_layer: NotRequired[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.

attack_property_identifier instance-attribute

attack_property_identifier: NotRequired[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.

top_contributors instance-attribute

top_contributors: NotRequired[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.

total instance-attribute

total: Long

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

unit instance-attribute

unit: NotRequired[Unit]

The unit used for the Contributor Value property.