
com.pulumi.awsnative.rds.kotlin.outputs.DbClusterDbClusterRole.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.rds.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* 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 DbClusterDbClusterRole(
public val featureName: String? = null,
public val roleArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.DbClusterDbClusterRole): DbClusterDbClusterRole = DbClusterDbClusterRole(
featureName = javaType.featureName().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy