SignInAliases

class aws_cdk.aws_cognito.SignInAliases(*, email=None, phone=None, preferred_username=None, username=None)

Bases: object

(experimental) The different ways in which users of this pool can sign up or sign in.

Parameters
  • email (Optional[bool]) – (experimental) Whether a user is allowed to sign up or sign in with an email address. Default: false

  • phone (Optional[bool]) – (experimental) Whether a user is allowed to sign up or sign in with a phone number. Default: false

  • preferred_username (Optional[bool]) – (experimental) Whether a user is allowed to ign in with a secondary username, that can be set and modified after sign up. Can only be used in conjunction with USERNAME. Default: false

  • username (Optional[bool]) – (experimental) Whether user is allowed to sign up or sign in with a username. Default: true

Stability

experimental

Attributes

email

(experimental) Whether a user is allowed to sign up or sign in with an email address.

Default

false

Stability

experimental

Return type

Optional[bool]

phone

(experimental) Whether a user is allowed to sign up or sign in with a phone number.

Default

false

Stability

experimental

Return type

Optional[bool]

preferred_username

(experimental) Whether a user is allowed to ign in with a secondary username, that can be set and modified after sign up.

Can only be used in conjunction with USERNAME.

Default

false

Stability

experimental

Return type

Optional[bool]

username

(experimental) Whether user is allowed to sign up or sign in with a username.

Default

true

Stability

experimental

Return type

Optional[bool]