drs:SendAgentLogsForDrs is a Write access-level action in the drs service. Grants permission to send agent logs
ARNs that drs:SendAgentLogsForDrs can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants drs:SendAgentLogsForDrs.
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:SendAgentLogsForDrs. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDrsSendAgentLogsForDrs",
"Effect": "Allow",
"Action": "drs:SendAgentLogsForDrs",
"Resource": "*"
}
]
}