ec2:DisassociateEnclaveCertificateIamRole

Write

ec2:DisassociateEnclaveCertificateIamRole is a Write access-level action in the ec2 service. Grants permission to disassociate an ACM certificate from a IAM role

Resource types

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

arn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId} required
certificate
arn:${Partition}:iam::${Account}:role/${RoleNameWithPath} required
role

Condition keys

Keys you can use in the Condition block of a policy that grants ec2:DisassociateEnclaveCertificateIamRole.

ec2:Region String

Filters access by the name of the AWS Region

Example IAM policy

A minimal policy that allows ec2:DisassociateEnclaveCertificateIamRole. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEc2DisassociateEnclaveCertificateIamRole",
      "Effect": "Allow",
      "Action": "ec2:DisassociateEnclaveCertificateIamRole",
      "Resource": "*"
    }
  ]
}

Related actions in ec2

View all ec2 actions →