ssm:DeregisterTargetFromMaintenanceWindow

Write

ssm:DeregisterTargetFromMaintenanceWindow is a Write access-level action in the ssm service. Grants permission to deregister a specified target from a maintenance window

Resource types

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

arn:${Partition}:ssm:${Region}:${Account}:maintenancewindow/${ResourceId}
maintenancewindow
arn:${Partition}:ssm:${Region}:${Account}:windowtarget/${WindowTargetId}
windowtarget

Condition keys

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

aws:ResourceTag/${TagKey} String

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

ssm:resourceTag/tag-key String

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

Example IAM policy

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

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

Related actions in ssm

View all ssm actions →