toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'createAuthChallenge': createAuthChallenge,
    'customEmailSenders': pulumi.Input.mapInputValue<List<GetUserPoolLambdaConfigCustomEmailSender>, List<Map<String, dynamic>>>(customEmailSenders, (value) => pulumi.Input.encodeList<GetUserPoolLambdaConfigCustomEmailSender, Map<String, dynamic>>(value, (value) => value.toMap())),
    'customMessage': customMessage,
    'customSmsSenders': pulumi.Input.mapInputValue<List<GetUserPoolLambdaConfigCustomSmsSender>, List<Map<String, dynamic>>>(customSmsSenders, (value) => pulumi.Input.encodeList<GetUserPoolLambdaConfigCustomSmsSender, Map<String, dynamic>>(value, (value) => value.toMap())),
    'defineAuthChallenge': defineAuthChallenge,
    'kmsKeyId': kmsKeyId,
    'postAuthentication': postAuthentication,
    'postConfirmation': postConfirmation,
    'preAuthentication': preAuthentication,
    'preSignUp': preSignUp,
    'preTokenGeneration': preTokenGeneration,
    'preTokenGenerationConfigs': pulumi.Input.mapInputValue<List<GetUserPoolLambdaConfigPreTokenGenerationConfig>, List<Map<String, dynamic>>>(preTokenGenerationConfigs, (value) => pulumi.Input.encodeList<GetUserPoolLambdaConfigPreTokenGenerationConfig, Map<String, dynamic>>(value, (value) => value.toMap())),
    'userMigration': userMigration,
    'verifyAuthChallengeResponse': verifyAuthChallengeResponse,
  };
}