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

com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs.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.kinesis.kotlin.inputs

import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enabled Enables or disables the Secrets Manager configuration.
 * @property roleArn The ARN of the role the stream assumes.
 * @property secretArn The ARN of the Secrets Manager secret. This value is required if `enabled` is true.
 */
public data class FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs(
    public val enabled: Output? = null,
    public val roleArn: Output? = null,
    public val secretArn: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs =
        com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs.builder()
            .enabled(enabled?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn?.applyValue({ args0 -> args0 }))
            .secretArn(secretArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs].
 */
@PulumiTagMarker
public class FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgsBuilder
internal constructor() {
    private var enabled: Output? = null

    private var roleArn: Output? = null

    private var secretArn: Output? = null

    /**
     * @param value Enables or disables the Secrets Manager configuration.
     */
    @JvmName("ydmfyakeugvaqwwg")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value The ARN of the role the stream assumes.
     */
    @JvmName("plbwordwnhqsfinx")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value The ARN of the Secrets Manager secret. This value is required if `enabled` is true.
     */
    @JvmName("sxmnxoktexlavhfk")
    public suspend fun secretArn(`value`: Output) {
        this.secretArn = value
    }

    /**
     * @param value Enables or disables the Secrets Manager configuration.
     */
    @JvmName("omssqwgxmscwgyeh")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    /**
     * @param value The ARN of the role the stream assumes.
     */
    @JvmName("qeeqfmlbwwfheqvv")
    public suspend fun roleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value The ARN of the Secrets Manager secret. This value is required if `enabled` is true.
     */
    @JvmName("unglcfwsosdjklrt")
    public suspend fun secretArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secretArn = mapped
    }

    internal fun build(): FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs = FirehoseDeliveryStreamSnowflakeConfigurationSecretsManagerConfigurationArgs(
        enabled = enabled,
        roleArn = roleArn,
        secretArn = secretArn,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy