Skip to content

Protection

Source code in docs_src/capo_shield/types/protection.py
class Protection(TypedDict, closed=True):
    id: NotRequired["capo_shield.types.protection_id.ProtectionId"]
    """<p>The unique identifier (ID) of the protection.</p>"""
    name: NotRequired["capo_shield.types.protection_name.ProtectionName"]
    """<p>The name of the protection. For example, <code>My CloudFront distributions</code>.</p>"""
    resource_arn: NotRequired["capo_shield.types.resource_arn.ResourceArn"]
    """<p>The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.</p>"""
    health_check_ids: NotRequired["capo_shield.types.health_check_ids.HealthCheckIds"]
    """<p>The unique identifier (ID) for the Route 53 health check that's associated with the protection. </p>"""
    protection_arn: NotRequired["capo_shield.types.resource_arn.ResourceArn"]
    """<p>The ARN (Amazon Resource Name) of the protection.</p>"""
    application_layer_automatic_response_configuration: NotRequired[
        "capo_shield.types.application_layer_automatic_response_configuration.ApplicationLayerAutomaticResponseConfiguration"
    ]
    """<p>The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks. </p>"""

application_layer_automatic_response_configuration instance-attribute

application_layer_automatic_response_configuration: NotRequired[
    ApplicationLayerAutomaticResponseConfiguration
]

The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.

health_check_ids instance-attribute

health_check_ids: NotRequired[HealthCheckIds]

The unique identifier (ID) for the Route 53 health check that's associated with the protection.

id instance-attribute

id: NotRequired[ProtectionId]

The unique identifier (ID) of the protection.

name instance-attribute

name: NotRequired[ProtectionName]

The name of the protection. For example, My CloudFront distributions.

protection_arn instance-attribute

protection_arn: NotRequired[ResourceArn]

The ARN (Amazon Resource Name) of the protection.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.