ec2:GetAssociatedEnclaveCertificateIamRoles is a Read access-level action in the ec2 service. Grants permission to get the list of roles associated with an ACM certificate
ARNs that ec2:GetAssociatedEnclaveCertificateIamRoles can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows ec2:GetAssociatedEnclaveCertificateIamRoles. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowEc2GetAssociatedEnclaveCertificateIamRoles",
"Effect": "Allow",
"Action": "ec2:GetAssociatedEnclaveCertificateIamRoles",
"Resource": "*"
}
]
}