All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolStringAttributeConstraints.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cognito.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property maxLength The maximum length of a string attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer.
 * @property minLength The minimum length.
 */
public data class UserPoolStringAttributeConstraints(
    public val maxLength: String? = null,
    public val minLength: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.UserPoolStringAttributeConstraints): UserPoolStringAttributeConstraints = UserPoolStringAttributeConstraints(
            maxLength = javaType.maxLength().map({ args0 -> args0 }).orElse(null),
            minLength = javaType.minLength().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy