{
  "typeName" : "AWS::Cognito::UserPoolClient",
  "description" : "Resource Type definition for AWS::Cognito::UserPoolClient",
  "additionalProperties" : false,
  "properties" : {
    "AnalyticsConfiguration" : {
      "$ref" : "#/definitions/AnalyticsConfiguration"
    },
    "GenerateSecret" : {
      "type" : "boolean"
    },
    "CallbackURLs" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "IdTokenValidity" : {
      "type" : "integer"
    },
    "TokenValidityUnits" : {
      "$ref" : "#/definitions/TokenValidityUnits"
    },
    "ReadAttributes" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "AllowedOAuthFlowsUserPoolClient" : {
      "type" : "boolean"
    },
    "DefaultRedirectURI" : {
      "type" : "string"
    },
    "Name" : {
      "type" : "string"
    },
    "ClientName" : {
      "type" : "string"
    },
    "ExplicitAuthFlows" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "AccessTokenValidity" : {
      "type" : "integer"
    },
    "EnableTokenRevocation" : {
      "type" : "boolean"
    },
    "EnablePropagateAdditionalUserContextData" : {
      "type" : "boolean"
    },
    "AuthSessionValidity" : {
      "type" : "integer"
    },
    "AllowedOAuthScopes" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "SupportedIdentityProviders" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "UserPoolId" : {
      "type" : "string"
    },
    "AllowedOAuthFlows" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "ClientSecret" : {
      "type" : "string"
    },
    "LogoutURLs" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "RefreshTokenValidity" : {
      "type" : "integer"
    },
    "Id" : {
      "type" : "string"
    },
    "WriteAttributes" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "PreventUserExistenceErrors" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "AnalyticsConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ApplicationArn" : {
          "type" : "string"
        },
        "ApplicationId" : {
          "type" : "string"
        },
        "UserDataShared" : {
          "type" : "boolean"
        },
        "RoleArn" : {
          "type" : "string"
        },
        "ExternalId" : {
          "type" : "string"
        }
      }
    },
    "TokenValidityUnits" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "IdToken" : {
          "type" : "string"
        },
        "RefreshToken" : {
          "type" : "string"
        },
        "AccessToken" : {
          "type" : "string"
        }
      }
    }
  },
  "required" : [ "UserPoolId" ],
  "createOnlyProperties" : [ "/properties/UserPoolId", "/properties/GenerateSecret" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id", "/properties/Name", "/properties/ClientSecret" ]
}