ds:CreateAlias is a Write access-level action in the ds service. Grants permission to create an alias for a directory and assigns the alias to the directory
ARNs that ds:CreateAlias can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ds:CreateAlias.
Filters access by the AWS DS Resource being acted upon
A minimal policy that allows ds:CreateAlias. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDsCreateAlias",
"Effect": "Allow",
"Action": "ds:CreateAlias",
"Resource": "*"
}
]
}