#[non_exhaustive]pub struct PreTokenGenerationVersionConfigType {
pub lambda_version: PreTokenGenerationLambdaVersionType,
pub lambda_arn: String,
}Expand description
The properties of a pre token generation Lambda trigger.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lambda_version: PreTokenGenerationLambdaVersionTypeThe user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
lambda_arn: StringThe Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.
Implementations§
source§impl PreTokenGenerationVersionConfigType
impl PreTokenGenerationVersionConfigType
sourcepub fn lambda_version(&self) -> &PreTokenGenerationLambdaVersionType
pub fn lambda_version(&self) -> &PreTokenGenerationLambdaVersionType
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
sourcepub fn lambda_arn(&self) -> &str
pub fn lambda_arn(&self) -> &str
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.
source§impl PreTokenGenerationVersionConfigType
impl PreTokenGenerationVersionConfigType
sourcepub fn builder() -> PreTokenGenerationVersionConfigTypeBuilder
pub fn builder() -> PreTokenGenerationVersionConfigTypeBuilder
Creates a new builder-style object to manufacture PreTokenGenerationVersionConfigType.
Trait Implementations§
source§impl Clone for PreTokenGenerationVersionConfigType
impl Clone for PreTokenGenerationVersionConfigType
source§fn clone(&self) -> PreTokenGenerationVersionConfigType
fn clone(&self) -> PreTokenGenerationVersionConfigType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PreTokenGenerationVersionConfigType
impl PartialEq for PreTokenGenerationVersionConfigType
source§fn eq(&self, other: &PreTokenGenerationVersionConfigType) -> bool
fn eq(&self, other: &PreTokenGenerationVersionConfigType) -> bool
self and other values to be equal, and is used
by ==.