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

com.pulumi.alicloud.resourcemanager.kotlin.outputs.GetRolesRole.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.resourcemanager.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property arn The Alibaba Cloud Resource Name (ARN) of the RAM role.
 * @property assumeRolePolicyDocument (Available in v1.114.0+) The assume role policy document.
 * @property description The description of the RAM role.
 * @property id The ID of the role.
 * @property maxSessionDuration The maximum session duration of the RAM role.
 * @property roleId The ID of the role.
 * @property roleName The name of the role.
 * @property updateDate The time when the RAM role was updated.
 */
public data class GetRolesRole(
    public val arn: String,
    public val assumeRolePolicyDocument: String,
    public val description: String,
    public val id: String,
    public val maxSessionDuration: Int,
    public val roleId: String,
    public val roleName: String,
    public val updateDate: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.alicloud.resourcemanager.outputs.GetRolesRole): GetRolesRole = GetRolesRole(
            arn = javaType.arn(),
            assumeRolePolicyDocument = javaType.assumeRolePolicyDocument(),
            description = javaType.description(),
            id = javaType.id(),
            maxSessionDuration = javaType.maxSessionDuration(),
            roleId = javaType.roleId(),
            roleName = javaType.roleName(),
            updateDate = javaType.updateDate(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy