detective:DisassociateMembership is a Write access-level action in the detective service. Grants permission to remove the association of this account with a behavior graph
ARNs that detective:DisassociateMembership can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants detective:DisassociateMembership.
Filters access by specifying the tags associated with the resource
A minimal policy that allows detective:DisassociateMembership. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDetectiveDisassociateMembership",
"Effect": "Allow",
"Action": "detective:DisassociateMembership",
"Resource": "*"
}
]
}