macie2:GetCustomDataIdentifier

Read

macie2:GetCustomDataIdentifier is a Read access-level action in the macie2 service. Grants permission to retrieve information about the settings for a custom data identifier

Resource types

ARNs that macie2:GetCustomDataIdentifier can be scoped to in an IAM policy.

arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId}
CustomDataIdentifier

Condition keys

Keys you can use in the Condition block of a policy that grants macie2:GetCustomDataIdentifier.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in macie2

View all macie2 actions →