{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-get-managed-certificate-details-result-schema.json",
  "title": "GetManagedCertificateDetailsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-managed-certificate-api-openapi.yml#/components/schemas/GetManagedCertificateDetailsResult",
  "type": "object",
  "properties": {
    "ManagedCertificateDetails": {
      "$ref": "#/$defs/ManagedCertificateDetails"
    }
  },
  "$defs": {
    "ManagedCertificateDetails": {
      "type": "object",
      "properties": {
        "CertificateArn": {
          "type": "string",
          "description": "The ARN of the CloudFront managed ACM certificate."
        },
        "CertificateStatus": {
          "type": "string",
          "enum": [
            "pending-validation",
            "issued",
            "inactive",
            "expired",
            "validation-timed-out",
            "revoked",
            "failed"
          ],
          "description": "The status of the CloudFront managed ACM certificate. Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag."
        },
        "ValidationTokenHost": {
          "type": "string",
          "enum": [
            "cloudfront",
            "self-hosted"
          ],
          "description": "Contains details about the validation token host of the specified CloudFront managed ACM certificate. For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your"
        },
        "ValidationTokenDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ValidationTokenDetail"
          },
          "description": "Contains details about the validation token of the specified CloudFront managed ACM certificate."
        }
      }
    },
    "ValidationTokenDetail": {
      "type": "object",
      "properties": {
        "Domain": {
          "type": "string",
          "description": "The domain name."
        },
        "RedirectTo": {
          "type": "string",
          "description": "The domain to redirect to."
        },
        "RedirectFrom": {
          "type": "string",
          "description": "The domain to redirect from."
        }
      },
      "required": [
        "Domain"
      ]
    }
  }
}