{
 "$comment": "If you make any changes to this schema, be sure to also modify the regional schema template that generates schemas for contract tests: secret/templates/{region.region_name}_schema.json.erb",
 "$schema": "https://schema.cloudformation.us-east-1.amazonaws.com/provider.definition.schema.v1.json",
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "GenerateSecretString": {
   "additionalProperties": false,
   "properties": {
    "ExcludeCharacters": {
     "type": "string"
    },
    "ExcludeLowercase": {
     "type": "boolean"
    },
    "ExcludeNumbers": {
     "type": "boolean"
    },
    "ExcludePunctuation": {
     "type": "boolean"
    },
    "ExcludeUppercase": {
     "type": "boolean"
    },
    "GenerateStringKey": {
     "type": "string"
    },
    "IncludeSpace": {
     "type": "boolean"
    },
    "PasswordLength": {
     "type": "integer"
    },
    "RequireEachIncludedType": {
     "type": "boolean"
    },
    "SecretStringTemplate": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "ReplicaRegion": {
   "additionalProperties": false,
   "properties": {
    "KmsKeyId": {
     "type": "string"
    },
    "Region": {
     "type": "string"
    }
   },
   "required": [
    "Region"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Description": {
   "maxLength": 2048,
   "minLength": 0,
   "type": "string"
  },
  "GenerateSecretString": {
   "$ref": "#/definitions/GenerateSecretString"
  },
  "Id": {
   "type": "string"
  },
  "KmsKeyId": {
   "maxLength": 2048,
   "minLength": 0,
   "type": "string"
  },
  "Name": {
   "maxLength": 512,
   "minLength": 1,
   "type": "string"
  },
  "ReplicaRegions": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/ReplicaRegion"
   },
   "type": "array",
   "uniqueItems": false
  },
  "SecretString": {
   "maxLength": 65536,
   "minLength": 1,
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Type": {
   "maxLength": 256,
   "minLength": 0,
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-secretsmanager.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::SecretsManager::Secret",
 "writeOnlyProperties": [
  "/properties/SecretString",
  "/properties/GenerateSecretString"
 ]
}
