{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iot-certificate.json",
  "title": "AWSIoTCertificateProperties",
  "description": "Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iot-certificate.json",
    "sourceSha256": "297b84300bb599280cfbe9cc6cc28f4214a6fedb5e356038a34f569095269ae4"
  },
  "type": "object",
  "properties": {
    "CACertificatePem": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 65536
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "CertificatePem": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 65536
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "CertificateSigningRequest": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "CertificateMode": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "DEFAULT",
            "SNI_ONLY"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Status": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "REVOKED",
            "PENDING_TRANSFER",
            "PENDING_ACTIVATION"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::IoT::Certificate",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/Id"
  ],
  "$defs": {},
  "required": [
    "Status"
  ],
  "createOnlyProperties": [
    "/properties/CertificateSigningRequest",
    "/properties/CACertificatePem",
    "/properties/CertificatePem",
    "/properties/CertificateMode"
  ],
  "writeOnlyProperties": [
    "/properties/CertificateSigningRequest",
    "/properties/CACertificatePem"
  ]
}
