cognito-idp:CreateUserPoolDomain is a Write access-level action in the cognito-idp service. Grants permission to add user pool domains
ARNs that cognito-idp:CreateUserPoolDomain can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cognito-idp:CreateUserPoolDomain.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows cognito-idp:CreateUserPoolDomain. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCognitoidpCreateUserPoolDomain",
"Effect": "Allow",
"Action": "cognito-idp:CreateUserPoolDomain",
"Resource": "*"
}
]
}