macie2:GetInvitationsCount

Read

macie2:GetInvitationsCount is a Read access-level action in the macie2 service. Grants permission to retrieve the count of Amazon Macie membership invitations that were received by an account

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMacie2GetInvitationsCount",
      "Effect": "Allow",
      "Action": "macie2:GetInvitationsCount",
      "Resource": "*"
    }
  ]
}

Related actions in macie2

View all macie2 actions →