{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-vpc-lattice/json-schema/amazon-vpc-lattice-create-service-response-schema.json",
  "title": "CreateServiceResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-vpc-lattice-createservice-api-openapi.yml#/components/schemas/CreateServiceResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the service."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the service."
    },
    "name": {
      "type": "string",
      "description": "The name of the service."
    },
    "customDomainName": {
      "type": "string",
      "description": "The custom domain name of the service."
    },
    "certificateArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the certificate."
    },
    "status": {
      "type": "string",
      "description": "The status. If the status is CREATE_FAILED, you must delete and recreate the service."
    },
    "authType": {
      "type": "string",
      "description": "The type of IAM policy."
    },
    "idleTimeoutSeconds": {
      "type": "integer",
      "description": "The amount of time, in seconds, that a connection can remain idle before VPC Lattice closes it."
    },
    "dnsEntry": {
      "$ref": "#/$defs/DnsEntry"
    }
  },
  "$defs": {
    "DnsEntry": {
      "type": "object",
      "properties": {
        "domainName": {
          "type": "string",
          "description": "The domain name of the service."
        },
        "hostedZoneId": {
          "type": "string",
          "description": "The ID of the hosted zone."
        }
      }
    }
  }
}