com.pulumi.aws.bedrock.kotlin.outputs.GuardrailSensitiveInformationPolicyConfig.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 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