ssm:DeleteAssociation

Write

ssm:DeleteAssociation is a Write access-level action in the ssm service. Grants permission to disassociate a specified SSM document from a specified instance

Resource types

ARNs that ssm:DeleteAssociation can be scoped to in an IAM policy.

arn:${Partition}:ssm:${Region}:${Account}:association/${AssociationId} required
association

Condition keys

Keys you can use in the Condition block of a policy that grants ssm:DeleteAssociation.

aws:ResourceTag/${TagKey} String

Filters access by based on a tag key-value pair assigned to the AWS resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSsmDeleteAssociation",
      "Effect": "Allow",
      "Action": "ssm:DeleteAssociation",
      "Resource": "*"
    }
  ]
}

Related actions in ssm

View all ssm actions →