apprunner:AssociateCustomDomain

Write

apprunner:AssociateCustomDomain is a Write access-level action in the apprunner service. Grants permission to associate your own domain name with the AWS App Runner subdomain URL of your App Runner service

Resource types

ARNs that apprunner:AssociateCustomDomain can be scoped to in an IAM policy.

arn:${Partition}:apprunner:${Region}:${Account}:service/${ServiceName}/${ServiceId}
service

Condition keys

Keys you can use in the Condition block of a policy that grants apprunner:AssociateCustomDomain.

aws:ResourceTag/${TagKey} String

Filters access by actions based on tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows apprunner:AssociateCustomDomain. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowApprunnerAssociateCustomDomain",
      "Effect": "Allow",
      "Action": "apprunner:AssociateCustomDomain",
      "Resource": "*"
    }
  ]
}

Related actions in apprunner

View all apprunner actions →