profile:GetSimilarProfiles

List

profile:GetSimilarProfiles is a List access-level action in the profile service. Grants permission to get all the similar profiles in the domain

Resource types

ARNs that profile:GetSimilarProfiles can be scoped to in an IAM policy.

arn:${Partition}:profile:${Region}:${Account}:domains/${DomainName}
domains

Condition keys

Keys you can use in the Condition block of a policy that grants profile:GetSimilarProfiles.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowProfileGetSimilarProfiles",
      "Effect": "Allow",
      "Action": "profile:GetSimilarProfiles",
      "Resource": "*"
    }
  ]
}

Related actions in profile

View all profile actions →