![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.rds.kotlin.inputs.DbClusterDbClusterRoleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rds.kotlin.inputs
import com.pulumi.awsnative.rds.inputs.DbClusterDbClusterRoleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.
* @property featureName The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*.
* @property roleArn The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
*/
public data class DbClusterDbClusterRoleArgs(
public val featureName: Output? = null,
public val roleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rds.inputs.DbClusterDbClusterRoleArgs =
com.pulumi.awsnative.rds.inputs.DbClusterDbClusterRoleArgs.builder()
.featureName(featureName?.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DbClusterDbClusterRoleArgs].
*/
@PulumiTagMarker
public class DbClusterDbClusterRoleArgsBuilder internal constructor() {
private var featureName: Output? = null
private var roleArn: Output? = null
/**
* @param value The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*.
*/
@JvmName("mehxvhkymcqatnpd")
public suspend fun featureName(`value`: Output) {
this.featureName = value
}
/**
* @param value The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
*/
@JvmName("emestbjxajygwdct")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*.
*/
@JvmName("jcdgveelhrcsyvtw")
public suspend fun featureName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.featureName = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
*/
@JvmName("lxsfopwllgjiauiq")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): DbClusterDbClusterRoleArgs = DbClusterDbClusterRoleArgs(
featureName = featureName,
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy