lightsail:CreateDomainEntry is a Write access-level action in the lightsail service. Grants permission to create one or more DNS record entries for a domain resource: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT)
ARNs that lightsail:CreateDomainEntry can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants lightsail:CreateDomainEntry.
Filters access by a tag key and value pair of a resource
A minimal policy that allows lightsail:CreateDomainEntry. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLightsailCreateDomainEntry",
"Effect": "Allow",
"Action": "lightsail:CreateDomainEntry",
"Resource": "*"
}
]
}