logo
pub struct LambdaConfigType {
Show 13 fields pub create_auth_challenge: Option<String>, pub custom_email_sender: Option<CustomEmailLambdaVersionConfigType>, pub custom_message: Option<String>, pub custom_sms_sender: Option<CustomSMSLambdaVersionConfigType>, pub define_auth_challenge: Option<String>, pub kms_key_id: Option<String>, pub post_authentication: Option<String>, pub post_confirmation: Option<String>, pub pre_authentication: Option<String>, pub pre_sign_up: Option<String>, pub pre_token_generation: Option<String>, pub user_migration: Option<String>, pub verify_auth_challenge_response: Option<String>,
}
Expand description

Specifies the configuration for AWS Lambda triggers.

Fields

create_auth_challenge: Option<String>

Creates an authentication challenge.

custom_email_sender: Option<CustomEmailLambdaVersionConfigType>

A custom email sender AWS Lambda trigger.

custom_message: Option<String>

A custom Message AWS Lambda trigger.

custom_sms_sender: Option<CustomSMSLambdaVersionConfigType>

A custom SMS sender AWS Lambda trigger.

define_auth_challenge: Option<String>

Defines the authentication challenge.

kms_key_id: Option<String>

The Amazon Resource Name of Key Management Service Customer master keys . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender.

post_authentication: Option<String>

A post-authentication AWS Lambda trigger.

post_confirmation: Option<String>

A post-confirmation AWS Lambda trigger.

pre_authentication: Option<String>

A pre-authentication AWS Lambda trigger.

pre_sign_up: Option<String>

A pre-registration AWS Lambda trigger.

pre_token_generation: Option<String>

A Lambda trigger that is invoked before token generation.

user_migration: Option<String>

The user migration Lambda config type.

verify_auth_challenge_response: Option<String>

Verifies the authentication challenge response.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more