UserPoolTriggers

class aws_cdk.aws_cognito.UserPoolTriggers(*, create_auth_challenge=None, custom_message=None, define_auth_challenge=None, post_authentication=None, post_confirmation=None, pre_authentication=None, pre_sign_up=None, pre_token_generation=None, user_migration=None, verify_auth_challenge_response=None)

Bases: object

(experimental) Triggers for a user pool.

Parameters
  • create_auth_challenge (Optional[IFunction]) – (experimental) Creates an authentication challenge. Default: - no trigger configured

  • custom_message (Optional[IFunction]) – (experimental) A custom Message AWS Lambda trigger. Default: - no trigger configured

  • define_auth_challenge (Optional[IFunction]) – (experimental) Defines the authentication challenge. Default: - no trigger configured

  • post_authentication (Optional[IFunction]) – (experimental) A post-authentication AWS Lambda trigger. Default: - no trigger configured

  • post_confirmation (Optional[IFunction]) – (experimental) A post-confirmation AWS Lambda trigger. Default: - no trigger configured

  • pre_authentication (Optional[IFunction]) – (experimental) A pre-authentication AWS Lambda trigger. Default: - no trigger configured

  • pre_sign_up (Optional[IFunction]) – (experimental) A pre-registration AWS Lambda trigger. Default: - no trigger configured

  • pre_token_generation (Optional[IFunction]) – (experimental) A pre-token-generation AWS Lambda trigger. Default: - no trigger configured

  • user_migration (Optional[IFunction]) – (experimental) A user-migration AWS Lambda trigger. Default: - no trigger configured

  • verify_auth_challenge_response (Optional[IFunction]) – (experimental) Verifies the authentication challenge response. Default: - no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html

Stability

experimental

Attributes

create_auth_challenge

(experimental) Creates an authentication challenge.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-create-auth-challenge.html

Stability

experimental

Return type

Optional[IFunction]

custom_message

(experimental) A custom Message AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-message.html

Stability

experimental

Return type

Optional[IFunction]

define_auth_challenge

(experimental) Defines the authentication challenge.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-define-auth-challenge.html

Stability

experimental

Return type

Optional[IFunction]

post_authentication

(experimental) A post-authentication AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-authentication.html

Stability

experimental

Return type

Optional[IFunction]

post_confirmation

(experimental) A post-confirmation AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-confirmation.html

Stability

experimental

Return type

Optional[IFunction]

pre_authentication

(experimental) A pre-authentication AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-authentication.html

Stability

experimental

Return type

Optional[IFunction]

pre_sign_up

(experimental) A pre-registration AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html

Stability

experimental

Return type

Optional[IFunction]

pre_token_generation

(experimental) A pre-token-generation AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html

Stability

experimental

Return type

Optional[IFunction]

user_migration

(experimental) A user-migration AWS Lambda trigger.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-migrate-user.html

Stability

experimental

Return type

Optional[IFunction]

verify_auth_challenge_response

(experimental) Verifies the authentication challenge response.

Default
  • no trigger configured

See

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-verify-auth-challenge-response.html

Stability

experimental

Return type

Optional[IFunction]