![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.outputs.GetRoleAliasResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property credentialDurationSeconds The number of seconds for which the credential is valid.
* @property roleAliasArn The role alias ARN.
* @property roleArn The role ARN.
* @property tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
public data class GetRoleAliasResult(
public val credentialDurationSeconds: Int? = null,
public val roleAliasArn: String? = null,
public val roleArn: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetRoleAliasResult): GetRoleAliasResult = GetRoleAliasResult(
credentialDurationSeconds = javaType.credentialDurationSeconds().map({ args0 ->
args0
}).orElse(null),
roleAliasArn = javaType.roleAliasArn().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy