
com.pulumi.awsnative.cognito.kotlin.outputs.GetUserPoolRiskConfigurationAttachmentResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin.outputs
import kotlin.Suppress
/**
*
* @property accountTakeoverRiskConfiguration The account takeover risk configuration object, including the `NotifyConfiguration` object and `Actions` to take if there is an account takeover.
* @property compromisedCredentialsRiskConfiguration The compromised credentials risk configuration object, including the `EventFilter` and the `EventAction` .
* @property riskExceptionConfiguration The configuration to override the risk decision.
*/
public data class GetUserPoolRiskConfigurationAttachmentResult(
public val accountTakeoverRiskConfiguration: UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationType? = null,
public val compromisedCredentialsRiskConfiguration: UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationType? = null,
public val riskExceptionConfiguration: UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.GetUserPoolRiskConfigurationAttachmentResult): GetUserPoolRiskConfigurationAttachmentResult = GetUserPoolRiskConfigurationAttachmentResult(
accountTakeoverRiskConfiguration = javaType.accountTakeoverRiskConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationType.Companion.toKotlin(args0)
})
}).orElse(null),
compromisedCredentialsRiskConfiguration = javaType.compromisedCredentialsRiskConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationType.Companion.toKotlin(args0)
})
}).orElse(null),
riskExceptionConfiguration = javaType.riskExceptionConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy