Amazon Cognito · JSON Structure

Cognito Idp Password Policy Type Structure

The password policy type.

Type: object Properties: 6
AuthenticationAuthorizationIdentityIdentity ProviderOIDC

PasswordPolicyType is a JSON Structure definition published by Amazon Cognito, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

MinimumLength RequireUppercase RequireLowercase RequireNumbers RequireSymbols TemporaryPasswordValidityDays

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "MinimumLength": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PasswordPolicyMinLengthType"
        },
        {
          "description": "The minimum length of the password in the policy that you have set. This value can't be less than 6."
        }
      ]
    },
    "RequireUppercase": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BooleanType"
        },
        {
          "description": "In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password."
        }
      ]
    },
    "RequireLowercase": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BooleanType"
        },
        {
          "description": "In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password."
        }
      ]
    },
    "RequireNumbers": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BooleanType"
        },
        {
          "description": "In the password policy that you have set, refers to whether you have required users to use at least one number in their password."
        }
      ]
    },
    "RequireSymbols": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BooleanType"
        },
        {
          "description": "In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password."
        }
      ]
    },
    "TemporaryPasswordValidityDays": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TemporaryPasswordValidityDaysType"
        },
        {
          "description": "<p>The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.</p> <note> <p>When you set <code>TemporaryPasswordValidityDays</code> for a user pool, you can no longer set a value for the legacy <code>UnusedAccountValidityDays</code> parameter in that user pool.</p> </note>"
        }
      ]
    }
  },
  "description": "The password policy type.",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-structure/cognito-idp-password-policy-type-structure.json",
  "name": "PasswordPolicyType"
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/cognito-idp-password-policy-type-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.