{
 "additionalProperties": false,
 "definitions": {},
 "primaryIdentifier": [
  "/properties/AccountId"
 ],
 "properties": {
  "AccountId": {
   "type": "string"
  },
  "ConfigurationDetails": {
   "additionalProperties": false,
   "properties": {
    "ConfigurationStatus": {
     "enum": [
      "HEALTHY",
      "UNHEALTHY"
     ],
     "type": "string"
    },
    "ErrorCode": {
     "type": "string"
    },
    "ErrorMessage": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "EncryptionType": {
   "enum": [
    "CUSTOMER_MANAGED_KMS_KEY",
    "AWS_OWNED_KMS_KEY"
   ],
   "type": "string"
  },
  "KmsAccessRoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "maxLength": 2048,
   "minLength": 20,
   "type": "string"
  },
  "KmsKeyArn": {
   "format": "AWS::KMS::Key.Arn",
   "maxLength": 2048,
   "minLength": 20,
   "type": "string"
  },
  "LastModifiedDate": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/AccountId",
  "/properties/ConfigurationDetails",
  "/properties/LastModifiedDate"
 ],
 "required": [
  "EncryptionType"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::IoT::EncryptionConfiguration"
}
