{
  "typeName" : "AWS::SecretsManager::Secret",
  "description" : "Resource Type definition for AWS::SecretsManager::Secret",
  "additionalProperties" : false,
  "properties" : {
    "Description" : {
      "type" : "string"
    },
    "KmsKeyId" : {
      "type" : "string"
    },
    "SecretString" : {
      "type" : "string"
    },
    "GenerateSecretString" : {
      "$ref" : "#/definitions/GenerateSecretString"
    },
    "ReplicaRegions" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/ReplicaRegion"
      }
    },
    "Id" : {
      "type" : "string"
    },
    "Tags" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    },
    "Name" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "GenerateSecretString" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ExcludeUppercase" : {
          "type" : "boolean"
        },
        "RequireEachIncludedType" : {
          "type" : "boolean"
        },
        "IncludeSpace" : {
          "type" : "boolean"
        },
        "ExcludeCharacters" : {
          "type" : "string"
        },
        "GenerateStringKey" : {
          "type" : "string"
        },
        "PasswordLength" : {
          "type" : "integer"
        },
        "ExcludePunctuation" : {
          "type" : "boolean"
        },
        "ExcludeLowercase" : {
          "type" : "boolean"
        },
        "SecretStringTemplate" : {
          "type" : "string"
        },
        "ExcludeNumbers" : {
          "type" : "boolean"
        }
      }
    },
    "ReplicaRegion" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "KmsKeyId" : {
          "type" : "string"
        },
        "Region" : {
          "type" : "string"
        }
      },
      "required" : [ "Region" ]
    },
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Key" : {
          "type" : "string"
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "createOnlyProperties" : [ "/properties/Name" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}