lightsail:CreateDomain is a Write access-level action in the lightsail service. Grants permission to create a domain resource for the specified domain name
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
To use lightsail:CreateDomain you may also need to grant:
A minimal policy that allows lightsail:CreateDomain. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLightsailCreateDomain",
"Effect": "Allow",
"Action": "lightsail:CreateDomain",
"Resource": "*"
}
]
}