shield:AssociateHealthCheck

Write

shield:AssociateHealthCheck is a Write access-level action in the shield service. Grants permission to add health-based detection to the Shield Advanced protection for a resource

Resource types

ARNs that shield:AssociateHealthCheck can be scoped to in an IAM policy.

arn:${Partition}:shield::${Account}:protection/${Id}
protection

Condition keys

Keys you can use in the Condition block of a policy that grants shield:AssociateHealthCheck.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Dependent actions

To use shield:AssociateHealthCheck you may also need to grant:

Example IAM policy

A minimal policy that allows shield:AssociateHealthCheck. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowShieldAssociateHealthCheck",
      "Effect": "Allow",
      "Action": "shield:AssociateHealthCheck",
      "Resource": "*"
    }
  ]
}

Related actions in shield

View all shield actions →