drs:CancelRecoveryPlanExecution

Write

drs:CancelRecoveryPlanExecution is a Write access-level action in the drs service. Grants permission to cancel a recovery plan execution

Resource types

ARNs that drs:CancelRecoveryPlanExecution can be scoped to in an IAM policy.

arn:${Partition}:drs:${Region}:${Account}:recovery-plan-execution/${RecoveryPlanExecutionID} required
RecoveryPlanExecutionResource

Condition keys

Keys you can use in the Condition block of a policy that grants drs:CancelRecoveryPlanExecution.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDrsCancelRecoveryPlanExecution",
      "Effect": "Allow",
      "Action": "drs:CancelRecoveryPlanExecution",
      "Resource": "*"
    }
  ]
}

Related actions in drs

View all drs actions →