---
title: "AwsPrivateHostedZoneResponse"
url: "https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b/schemas/AwsPrivateHostedZoneResponse"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-cloud-gateways-2/versions/b826cacf-03b8-4340-bb4e-daa3648a655b.md

# AwsPrivateHostedZoneResponse

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Cloud Gateways
  version: 2.0.0
servers:
  - url: https://global.api.konghq.com/v2
    description: Base URL for the global region
components:
  schemas:
    PrivateDnsId:
      type: string
      format: uuid
      example: 1850820b-c69f-4a2a-b9be-bbcdbc5cd618
      readOnly: true
    PrivateDnsState:
      description: >
        The current state of the Private DNS attachment. Possible values:

        - `created` - The attachment has been created but is not attached to
        Private DNS.

        - `initializing` - The attachment is in the process of being initialized
        and is setting up necessary resources.

        - `pending-association` The attachment request is awaiting association
        to the cloud provider infrastructure in order for provisioning to
        proceed.

        - `ready` - The attachment is fully operational and can route traffic as
        configured.

        - `error` - The attachment is in an error state, and is not operational.

        - `terminating` - The attachment is in the process of being deleted.

        - `terminated` - The attachment has been fully deleted and is no longer
        available.
      type: string
      enum:
        - created
        - initializing
        - pending-association
        - ready
        - error
        - terminating
        - terminated
      title: Private DNS State
    PrivateDnsName:
      description: Human-readable name of the Private DNS.
      type: string
      example: us-east-2 private dns
      title: Private DNS Name
    AwsPrivateHostedZoneAttachmentConfig:
      type: object
      properties:
        kind:
          enum:
            - aws-private-hosted-zone-attachment
          title: AWS Private Hosted Zone Type
        hosted_zone_id:
          description: AWS Hosted Zone to create attachment to.
          type: string
          title: Hosted Zone Id
      additionalProperties: false
      required:
        - kind
        - hosted_zone_id
      title: AWS Private Hosted Zone Attachment Config
    AwsPrivateHostedZoneResponse:
      type: object
      properties:
        id:
          $ref: "#/components/schemas/PrivateDnsId"
        state:
          $ref: "#/components/schemas/PrivateDnsState"
        state_metadata:
          description: >
            Metadata describing the backing state of the Private Dns and why it
            may be in an erroneous state.
          type: object
          additionalProperties: false
          properties:
            reported_status:
              description: Reported status of the Private Dns from backing infrastructure.
              type: string
              example: ERROR
            reason:
              description: >
                Reason why the Private Dns may be in an erroneous state,
                reported from backing infrastructure.
              type: string
              example: >
                Failed to create Private Dns due to invalid Cloud Provider
                configuration.
          title: PrivateDnsStateMetadata
        entity_version:
          description: >
            Monotonically-increasing version count of the Private DNS, to
            indicate the order of updates to the

            Private DNS.
          type: integer
          example: 1
          readOnly: true
        created_at:
          description: An RFC-3339 timestamp representation of Private DNS creation date.
          type: string
          format: date-time
          example: 2022-11-04T20:10:06.927Z
          readOnly: true
        updated_at:
          description: An RFC-3339 timestamp representation of Private DNS update date.
          type: string
          format: date-time
          example: 2022-11-04T20:10:06.927Z
          readOnly: true
        name:
          $ref: "#/components/schemas/PrivateDnsName"
        private_dns_attachment_config:
          $ref: "#/components/schemas/AwsPrivateHostedZoneAttachmentConfig"
      required:
        - id
        - state
        - state_metadata
        - entity_version
        - created_at
        - updated_at
        - name
        - private_dns_attachment_config
```
