GetUserPoolLambdaConfig.fromMap constructor

GetUserPoolLambdaConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetUserPoolLambdaConfig.fromMap(Map<String, dynamic> map) {
  return GetUserPoolLambdaConfig(
    createAuthChallenge: pulumi.Input.fromValue(map['createAuthChallenge'] as String),
    customEmailSenders: pulumi.Input.fromValue(pulumi.Input.decodeList<GetUserPoolLambdaConfigCustomEmailSender>(map['customEmailSenders']!, (value) => GetUserPoolLambdaConfigCustomEmailSender.fromMap((value as Map).cast<String, dynamic>()))),
    customMessage: pulumi.Input.fromValue(map['customMessage'] as String),
    customSmsSenders: pulumi.Input.fromValue(pulumi.Input.decodeList<GetUserPoolLambdaConfigCustomSmsSender>(map['customSmsSenders']!, (value) => GetUserPoolLambdaConfigCustomSmsSender.fromMap((value as Map).cast<String, dynamic>()))),
    defineAuthChallenge: pulumi.Input.fromValue(map['defineAuthChallenge'] as String),
    kmsKeyId: pulumi.Input.fromValue(map['kmsKeyId'] as String),
    postAuthentication: pulumi.Input.fromValue(map['postAuthentication'] as String),
    postConfirmation: pulumi.Input.fromValue(map['postConfirmation'] as String),
    preAuthentication: pulumi.Input.fromValue(map['preAuthentication'] as String),
    preSignUp: pulumi.Input.fromValue(map['preSignUp'] as String),
    preTokenGeneration: pulumi.Input.fromValue(map['preTokenGeneration'] as String),
    preTokenGenerationConfigs: pulumi.Input.fromValue(pulumi.Input.decodeList<GetUserPoolLambdaConfigPreTokenGenerationConfig>(map['preTokenGenerationConfigs']!, (value) => GetUserPoolLambdaConfigPreTokenGenerationConfig.fromMap((value as Map).cast<String, dynamic>()))),
    userMigration: pulumi.Input.fromValue(map['userMigration'] as String),
    verifyAuthChallengeResponse: pulumi.Input.fromValue(map['verifyAuthChallengeResponse'] as String),
  );
}