mpa:CancelSession

Write

mpa:CancelSession is a Write access-level action in the mpa service. Grants permission to cancel an approval session

Resource types

ARNs that mpa:CancelSession can be scoped to in an IAM policy.

arn:${Partition}:mpa:${Region}:${Account}:session/${SessionId}
session

Condition keys

Keys you can use in the Condition block of a policy that grants mpa:CancelSession.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMpaCancelSession",
      "Effect": "Allow",
      "Action": "mpa:CancelSession",
      "Resource": "*"
    }
  ]
}

Related actions in mpa

View all mpa actions →