ec2:GetAssociatedEnclaveCertificateIamRoles

Read

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

Resource types

ARNs that ec2:GetAssociatedEnclaveCertificateIamRoles can be scoped to in an IAM policy.

arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}
certificate

Condition keys

No condition keys are documented for this action.

Example IAM policy

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": "*"
    }
  ]
}

Related actions in ec2

View all ec2 actions →