security-ir:CancelMembership

Write

security-ir:CancelMembership is a Write access-level action in the security-ir service. Grants permission to cancel a membership

Resource types

ARNs that security-ir:CancelMembership can be scoped to in an IAM policy.

arn:${Partition}:security-ir:${Region}:${Account}:membership/${MembershipId}
membership

Condition keys

Keys you can use in the Condition block of a policy that grants security-ir:CancelMembership.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows security-ir:CancelMembership. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecurityirCancelMembership",
      "Effect": "Allow",
      "Action": "security-ir:CancelMembership",
      "Resource": "*"
    }
  ]
}

Related actions in security-ir

View all security-ir actions →