Amazon Cognito · JSON Structure

Cognito Idp Add Custom Attributes Request Structure

Represents the request to add custom attributes.

Type: object Properties: 2 Required: 2
AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC

AddCustomAttributesRequest is a JSON Structure definition published by Amazon Cognito, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

UserPoolId CustomAttributes

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

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "UserPoolId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserPoolIdType"
        },
        {
          "description": "The user pool ID for the user pool where you want to add custom attributes."
        }
      ]
    },
    "CustomAttributes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomAttributesListType"
        },
        {
          "description": "An array of custom attributes, such as Mutable and Name."
        }
      ]
    }
  },
  "required": [
    "UserPoolId",
    "CustomAttributes"
  ],
  "description": "Represents the request to add custom attributes.",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-structure/cognito-idp-add-custom-attributes-request-structure.json",
  "name": "AddCustomAttributesRequest"
}