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

com.pulumi.aws.bedrock.kotlin.outputs.GuardrailWordPolicyConfig.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: 6.57.0.0
Show newest version
@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