com.pulumi.aws.bedrock.kotlin.inputs.GuardrailSensitiveInformationPolicyConfigArgs.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.inputs
import com.pulumi.aws.bedrock.inputs.GuardrailSensitiveInformationPolicyConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 GuardrailSensitiveInformationPolicyConfigArgs(
public val piiEntitiesConfigs: Output>? = null,
public val regexesConfigs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.bedrock.inputs.GuardrailSensitiveInformationPolicyConfigArgs = com.pulumi.aws.bedrock.inputs.GuardrailSensitiveInformationPolicyConfigArgs.builder()
.piiEntitiesConfigs(
piiEntitiesConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.regexesConfigs(
regexesConfigs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GuardrailSensitiveInformationPolicyConfigArgs].
*/
@PulumiTagMarker
public class GuardrailSensitiveInformationPolicyConfigArgsBuilder internal constructor() {
private var piiEntitiesConfigs:
Output>? = null
private var regexesConfigs:
Output>? = null
/**
* @param value List of entities. See PII Entities Config for more information.
*/
@JvmName("eccmxiysujbqvwgy")
public suspend fun piiEntitiesConfigs(`value`: Output>) {
this.piiEntitiesConfigs = value
}
@JvmName("aifrhmvfoqlmmini")
public suspend fun piiEntitiesConfigs(vararg values: Output) {
this.piiEntitiesConfigs = Output.all(values.asList())
}
/**
* @param values List of entities. See PII Entities Config for more information.
*/
@JvmName("cpehpfsfxbtycvyv")
public suspend fun piiEntitiesConfigs(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy