com.pulumi.aws.cognito.kotlin.inputs.UserPoolUserAttributeUpdateSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cognito.kotlin.inputs
import com.pulumi.aws.cognito.inputs.UserPoolUserAttributeUpdateSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property attributesRequireVerificationBeforeUpdates A list of attributes requiring verification before update. If set, the provided value(s) must also be set in `auto_verified_attributes`. Valid values: `email`, `phone_number`.
*/
public data class UserPoolUserAttributeUpdateSettingsArgs(
public val attributesRequireVerificationBeforeUpdates: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cognito.inputs.UserPoolUserAttributeUpdateSettingsArgs =
com.pulumi.aws.cognito.inputs.UserPoolUserAttributeUpdateSettingsArgs.builder()
.attributesRequireVerificationBeforeUpdates(
attributesRequireVerificationBeforeUpdates.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
).build()
}
/**
* Builder for [UserPoolUserAttributeUpdateSettingsArgs].
*/
@PulumiTagMarker
public class UserPoolUserAttributeUpdateSettingsArgsBuilder internal constructor() {
private var attributesRequireVerificationBeforeUpdates: Output>? = null
/**
* @param value A list of attributes requiring verification before update. If set, the provided value(s) must also be set in `auto_verified_attributes`. Valid values: `email`, `phone_number`.
*/
@JvmName("cpaxexlknhpwvgwt")
public suspend fun attributesRequireVerificationBeforeUpdates(`value`: Output>) {
this.attributesRequireVerificationBeforeUpdates = value
}
@JvmName("cikoepahcjnlnmmo")
public suspend fun attributesRequireVerificationBeforeUpdates(vararg values: Output) {
this.attributesRequireVerificationBeforeUpdates = Output.all(values.asList())
}
/**
* @param values A list of attributes requiring verification before update. If set, the provided value(s) must also be set in `auto_verified_attributes`. Valid values: `email`, `phone_number`.
*/
@JvmName("krmxlkrbpujxtqxu")
public suspend fun attributesRequireVerificationBeforeUpdates(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy