LambdaConfigType
¶
Used by
Source code in docs_src/capo_cognito_identity_provider/types/lambda_config_type.py
create_auth_challenge
instance-attribute
¶
create_auth_challenge: NotRequired[ArnType]
The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
custom_email_sender
instance-attribute
¶
custom_email_sender: NotRequired[CustomEmailLambdaVersionConfigType]
The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
custom_message
instance-attribute
¶
custom_message: NotRequired[ArnType]
A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
custom_sms_sender
instance-attribute
¶
custom_sms_sender: NotRequired[CustomSMSLambdaVersionConfigType]
The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
define_auth_challenge
instance-attribute
¶
define_auth_challenge: NotRequired[ArnType]
The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
inbound_federation
instance-attribute
¶
inbound_federation: NotRequired[InboundFederationLambdaType]
The configuration of an inbound federation Lambda trigger. This trigger can transform federated user attributes during the authentication with external identity providers.
kms_key_id
instance-attribute
¶
kms_key_id: NotRequired[ArnType]
The ARN of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
post_authentication
instance-attribute
¶
post_authentication: NotRequired[ArnType]
The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
post_confirmation
instance-attribute
¶
post_confirmation: NotRequired[ArnType]
The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
pre_authentication
instance-attribute
¶
pre_authentication: NotRequired[ArnType]
The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
pre_sign_up
instance-attribute
¶
pre_sign_up: NotRequired[ArnType]
The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile, or block sign-up requests.
pre_token_generation
instance-attribute
¶
pre_token_generation: NotRequired[ArnType]
The legacy configuration of a pre token generation Lambda trigger in a user pool.
Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig, its value must be identical to PreTokenGeneration. For new instances of pre token generation triggers, set the LambdaArn of PreTokenGenerationConfig.
pre_token_generation_config
instance-attribute
¶
pre_token_generation_config: NotRequired[PreTokenGenerationVersionConfigType]
The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in PreTokenGeneration, its value must be identical to PreTokenGenerationConfig.
user_migration
instance-attribute
¶
user_migration: NotRequired[ArnType]
The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
verify_auth_challenge_response
instance-attribute
¶
verify_auth_challenge_response: NotRequired[ArnType]
The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.