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

com.pulumi.awsnative.rds.kotlin.outputs.DbClusterDbClusterRole.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: 1.24.0.0
Show newest version
@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