com.pulumi.aws.bedrock.kotlin.outputs.GuardrailWordPolicyConfig.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.bedrock.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property managedWordListsConfigs A config for the list of managed words. See Managed Word Lists Config for more information.
* @property wordsConfigs List of custom word configs. See Words Config for more information.
*/
public data class GuardrailWordPolicyConfig(
public val managedWordListsConfigs: List? = null,
public val wordsConfigs: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.GuardrailWordPolicyConfig): GuardrailWordPolicyConfig = GuardrailWordPolicyConfig(
managedWordListsConfigs = javaType.managedWordListsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.bedrock.kotlin.outputs.GuardrailWordPolicyConfigManagedWordListsConfig.Companion.toKotlin(args0)
})
}),
wordsConfigs = javaType.wordsConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.bedrock.kotlin.outputs.GuardrailWordPolicyConfigWordsConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy