mobiletargeting:CreateSegment

Write

mobiletargeting:CreateSegment is a Write access-level action in the mobiletargeting service. Grants permission to create a segment that is based on endpoint data reported to Pinpoint by your app. To allow a user to create a segment by importing endpoint data from outside of Pinpoint, allow the mobiletargeting:CreateImportJob action

Resource types

ARNs that mobiletargeting:CreateSegment can be scoped to in an IAM policy.

arn:${Partition}:mobiletargeting:${Region}:${Account}:apps/${AppId}
app

Condition keys

Keys you can use in the Condition block of a policy that grants mobiletargeting:CreateSegment.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMobiletargetingCreateSegment",
      "Effect": "Allow",
      "Action": "mobiletargeting:CreateSegment",
      "Resource": "*"
    }
  ]
}

Related actions in mobiletargeting

View all mobiletargeting actions →