ssm:DeregisterManagedInstance is a Write access-level action in the ssm service. Grants permission to deregister a specified on-premises server or virtual machine (VM) from Systems Manager
ARNs that ssm:DeregisterManagedInstance can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ssm:DeregisterManagedInstance.
Filters access by based on a tag key-value pair assigned to the AWS resource
Filters access by based on a tag key-value pair assigned to the Systems Manager resource
A minimal policy that allows ssm:DeregisterManagedInstance. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSsmDeregisterManagedInstance",
"Effect": "Allow",
"Action": "ssm:DeregisterManagedInstance",
"Resource": "*"
}
]
}