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
ARNs that mobiletargeting:CreateSegment can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants mobiletargeting:CreateSegment.
Filters access by a tag key and value pair
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": "*"
}
]
}