artifact:GetAgreement is a Read access-level action in the artifact service. Grants permission to get an AWS agreement that has not yet been accepted by the customer account
ARNs that artifact:GetAgreement can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows artifact:GetAgreement. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowArtifactGetAgreement",
"Effect": "Allow",
"Action": "artifact:GetAgreement",
"Resource": "*"
}
]
}