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

com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs.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.FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs.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 FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs(
    public val enabled: Output? = null,
    public val roleArn: Output? = null,
    public val secretArn: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs =
        com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs.builder()
            .enabled(enabled?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn?.applyValue({ args0 -> args0 }))
            .secretArn(secretArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgs].
 */
@PulumiTagMarker
public class FirehoseDeliveryStreamSplunkConfigurationSecretsManagerConfigurationArgsBuilder
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("oxyomixdvhodgmbn")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value The ARN of the role the stream assumes.
     */
    @JvmName("uvdkmbxgejspnhtm")
    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("kekcypqormhhsutc")
    public suspend fun secretArn(`value`: Output) {
        this.secretArn = value
    }

    /**
     * @param value Enables or disables the Secrets Manager configuration.
     */
    @JvmName("vdvwrtyajomcqbxu")
    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("eaqmcouonciqlgbr")
    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("cnqrhyjcelqssjlt")
    public suspend fun secretArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.secretArn = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy