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