attribute Data Type
Parameters
value
The data format of the values for your attribute. When you choose an AttributeDataType
, Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example "custom:isMember" : "true"
or "custom:YearsAsMember" : "12"
.