profile:CreateSegmentDefinition

Write

profile:CreateSegmentDefinition is a Write access-level action in the profile service. Grants permission to create a segment definition in the domain

Resource types

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

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

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by a key that is present in the request the user makes to the customer profile service

aws:TagKeys ArrayOfString

Filters access by the list of all the tag key names present in the request the user makes to the customer profile service

Example IAM policy

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

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

Related actions in profile

View all profile actions →