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

com.pulumi.aws.bedrock.kotlin.outputs.GuardrailSensitiveInformationPolicyConfig.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 piiEntitiesConfigs List of entities. See PII Entities Config for more information.
 * @property regexesConfigs List of regex. See Regexes Config for more information.
 */
public data class GuardrailSensitiveInformationPolicyConfig(
    public val piiEntitiesConfigs: List? =
        null,
    public val regexesConfigs: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bedrock.outputs.GuardrailSensitiveInformationPolicyConfig): GuardrailSensitiveInformationPolicyConfig = GuardrailSensitiveInformationPolicyConfig(
            piiEntitiesConfigs = javaType.piiEntitiesConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.bedrock.kotlin.outputs.GuardrailSensitiveInformationPolicyConfigPiiEntitiesConfig.Companion.toKotlin(args0)
                })
            }),
            regexesConfigs = javaType.regexesConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.bedrock.kotlin.outputs.GuardrailSensitiveInformationPolicyConfigRegexesConfig.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy