com.pulumi.awsnative.eks.kotlin.outputs.AddonPodIdentityAssociation.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.eks.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A pod identity to associate with an add-on.
* @property roleArn The IAM role ARN that the pod identity association is created for.
* @property serviceAccount The Kubernetes service account that the pod identity association is created for.
*/
public data class AddonPodIdentityAssociation(
public val roleArn: String,
public val serviceAccount: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.eks.outputs.AddonPodIdentityAssociation): AddonPodIdentityAssociation = AddonPodIdentityAssociation(
roleArn = javaType.roleArn(),
serviceAccount = javaType.serviceAccount(),
)
}
}