Photo - Identity Store

Photo

Contains information about a user's photo. Users can have up to 3 photos, with one designated as primary. Supports common image formats, including jpg, jpeg, png, and gif.

Contents

Value

The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r   ]+

Required: Yes

Display

A human-readable description of the photo for display purposes. This optional field provides context about the photo.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r   ]+

Required: No

Primary

Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.

Type: Boolean

Required: No

Type

The type of photo. This field is optional and can be used to categorize different types of photos.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r   ]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: