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

com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration.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.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration(
    public val enabled: Boolean? = null,
    public val roleArn: String? = null,
    public val secretArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration): FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration =
            FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration(
                enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
                roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
                secretArn = javaType.secretArn().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy