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

com.pulumi.awsnative.bedrock.kotlin.inputs.AgentGuardrailConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.bedrock.kotlin.inputs

import com.pulumi.awsnative.bedrock.inputs.AgentGuardrailConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Configuration for a guardrail.
 * @property guardrailIdentifier Identifier for the guardrail, could be the id or the arn
 * @property guardrailVersion Version of the guardrail
 */
public data class AgentGuardrailConfigurationArgs(
    public val guardrailIdentifier: Output? = null,
    public val guardrailVersion: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.bedrock.inputs.AgentGuardrailConfigurationArgs =
        com.pulumi.awsnative.bedrock.inputs.AgentGuardrailConfigurationArgs.builder()
            .guardrailIdentifier(guardrailIdentifier?.applyValue({ args0 -> args0 }))
            .guardrailVersion(guardrailVersion?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AgentGuardrailConfigurationArgs].
 */
@PulumiTagMarker
public class AgentGuardrailConfigurationArgsBuilder internal constructor() {
    private var guardrailIdentifier: Output? = null

    private var guardrailVersion: Output? = null

    /**
     * @param value Identifier for the guardrail, could be the id or the arn
     */
    @JvmName("twkschqjqnxfeamw")
    public suspend fun guardrailIdentifier(`value`: Output) {
        this.guardrailIdentifier = value
    }

    /**
     * @param value Version of the guardrail
     */
    @JvmName("urrdixsstvdfnejp")
    public suspend fun guardrailVersion(`value`: Output) {
        this.guardrailVersion = value
    }

    /**
     * @param value Identifier for the guardrail, could be the id or the arn
     */
    @JvmName("jghglwgfndltovly")
    public suspend fun guardrailIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.guardrailIdentifier = mapped
    }

    /**
     * @param value Version of the guardrail
     */
    @JvmName("fgipmvygbbhluobl")
    public suspend fun guardrailVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.guardrailVersion = mapped
    }

    internal fun build(): AgentGuardrailConfigurationArgs = AgentGuardrailConfigurationArgs(
        guardrailIdentifier = guardrailIdentifier,
        guardrailVersion = guardrailVersion,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy