drs:NotifyAgentDisconnectedForDrs is a Write access-level action in the drs service. Grants permission to notify agent is disconnected
ARNs that drs:NotifyAgentDisconnectedForDrs can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants drs:NotifyAgentDisconnectedForDrs.
Filters access by tag key-value pairs attached to the resource
Filters access by the EC2 instance the request originated from
A minimal policy that allows drs:NotifyAgentDisconnectedForDrs. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDrsNotifyAgentDisconnectedForDrs",
"Effect": "Allow",
"Action": "drs:NotifyAgentDisconnectedForDrs",
"Resource": "*"
}
]
}