toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'createAuthChallenge': ?createAuthChallenge,
    'customEmailSender': ?pulumi.Input.mapOptionalInputValue<UserPoolLambdaConfigCustomEmailSender, Map<String, dynamic>>(customEmailSender, (value) => value.toMap()),
    'customMessage': ?customMessage,
    'customSmsSender': ?pulumi.Input.mapOptionalInputValue<UserPoolLambdaConfigCustomSmsSender, Map<String, dynamic>>(customSmsSender, (value) => value.toMap()),
    'defineAuthChallenge': ?defineAuthChallenge,
    'kmsKeyId': ?kmsKeyId,
    'postAuthentication': ?postAuthentication,
    'postConfirmation': ?postConfirmation,
    'preAuthentication': ?preAuthentication,
    'preSignUp': ?preSignUp,
    'preTokenGeneration': ?preTokenGeneration,
    'preTokenGenerationConfig': ?pulumi.Input.mapOptionalInputValue<UserPoolLambdaConfigPreTokenGenerationConfig, Map<String, dynamic>>(preTokenGenerationConfig, (value) => value.toMap()),
    'userMigration': ?userMigration,
    'verifyAuthChallengeResponse': ?verifyAuthChallengeResponse,
  };
}