com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs.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.kinesis.kotlin.inputs
import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs.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 FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs(
public val enabled: Output? = null,
public val roleArn: Output? = null,
public val secretArn: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs =
com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.secretArn(secretArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs].
*/
@PulumiTagMarker
public class FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgsBuilder
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("lncdtdjkynwwdcba")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The ARN of the role the stream assumes.
*/
@JvmName("asqlwmxbykpkogpx")
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("xiwprmaosmqvfrqk")
public suspend fun secretArn(`value`: Output) {
this.secretArn = value
}
/**
* @param value Enables or disables the Secrets Manager configuration.
*/
@JvmName("rwptkbklcaydcait")
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("jsgyogctsusvaqvk")
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("iwhtfhsebondbywp")
public suspend fun secretArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretArn = mapped
}
internal fun build(): FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs =
FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfigurationArgs(
enabled = enabled,
roleArn = roleArn,
secretArn = secretArn,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy