
com.pulumi.awsnative.bedrock.kotlin.outputs.GuardrailSensitiveInformationPolicyConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.bedrock.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* Sensitive information policy config for a guardrail.
* @property piiEntitiesConfig List of entities.
* @property regexesConfig List of regex.
*/
public data class GuardrailSensitiveInformationPolicyConfig(
public val piiEntitiesConfig: List? = null,
public val regexesConfig: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.bedrock.outputs.GuardrailSensitiveInformationPolicyConfig): GuardrailSensitiveInformationPolicyConfig = GuardrailSensitiveInformationPolicyConfig(
piiEntitiesConfig = javaType.piiEntitiesConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.GuardrailPiiEntityConfig.Companion.toKotlin(args0)
})
}),
regexesConfig = javaType.regexesConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.bedrock.kotlin.outputs.GuardrailRegexConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy