profile:GetSegmentMembership

Read

profile:GetSegmentMembership is a Read access-level action in the profile service. Grants permission to determine if the given profiles are part of a segment in the domain

Resource types

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

arn:${Partition}:profile:${Region}:${Account}:domains/${DomainName}
domains
arn:${Partition}:profile:${Region}:${Account}:domains/${DomainName}/segment-definitions/${SegmentDefinitionName}
segment-definitions

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

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

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

Related actions in profile

View all profile actions →