{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-app-runner/json-schema/aws-app-runner-associate-custom-domain-request-schema.json",
  "title": "AssociateCustomDomainRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-app-runner-custom-domains-api-openapi.yml#/components/schemas/AssociateCustomDomainRequest",
  "type": "object",
  "properties": {
    "ServiceArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with."
    },
    "DomainName": {
      "type": "string",
      "description": "A custom domain endpoint to associate. Specify a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com)."
    },
    "EnableWWWSubdomain": {
      "type": "boolean",
      "description": "Set to true to associate the subdomain www.DomainName with the App Runner service in addition to the base domain. Default: true"
    }
  },
  "required": [
    "ServiceArn",
    "DomainName"
  ]
}