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

com.pulumi.awsnative.sagemaker.kotlin.outputs.UserProfileRStudioServerProAppSettings.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsAccessStatus
import com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsUserGroup
import kotlin.Suppress

/**
 * A collection of settings that configure user interaction with the RStudioServerPro app.
 * @property accessStatus Indicates whether the current user has access to the RStudioServerPro app.
 * @property userGroup The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.
 */
public data class UserProfileRStudioServerProAppSettings(
    public val accessStatus: UserProfileRStudioServerProAppSettingsAccessStatus? = null,
    public val userGroup: UserProfileRStudioServerProAppSettingsUserGroup? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.UserProfileRStudioServerProAppSettings): UserProfileRStudioServerProAppSettings = UserProfileRStudioServerProAppSettings(
            accessStatus = javaType.accessStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsAccessStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            userGroup = javaType.userGroup().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.UserProfileRStudioServerProAppSettingsUserGroup.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy