macie2:CreateCustomDataIdentifier

Write

macie2:CreateCustomDataIdentifier is a Write access-level action in the macie2 service. Grants permission to create and define the settings for a custom data identifier

Resource types

ARNs that macie2:CreateCustomDataIdentifier 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:CreateCustomDataIdentifier.

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:CreateCustomDataIdentifier. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in macie2

View all macie2 actions →