PasskeyUserVerification

class aws_cdk.aws_cognito.PasskeyUserVerification(*values)

Bases: Enum

The user-pool treatment for MFA with a passkey.

See:

https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow-methods.html#amazon-cognito-user-pools-authentication-flow-methods-passkey

ExampleMetadata:

infused

Example:

cognito.UserPool(self, "myuserpool",
    sign_in_policy=cognito.SignInPolicy(
        allowed_first_auth_factors=cognito.AllowedFirstAuthFactors(password=True, passkey=True)
    ),
    passkey_relying_party_id="auth.example.com",
    passkey_user_verification=cognito.PasskeyUserVerification.REQUIRED
)

Attributes

PREFERRED

Passkey MFA is preferred.

REQUIRED

Passkey MFA is required.