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

com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainRStudioServerProAppSettings.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.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.DomainRStudioServerProAppSettingsAccessStatus
import com.pulumi.awsnative.sagemaker.kotlin.enums.DomainRStudioServerProAppSettingsUserGroup
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 DomainRStudioServerProAppSettings(
    public val accessStatus: DomainRStudioServerProAppSettingsAccessStatus? = null,
    public val userGroup: DomainRStudioServerProAppSettingsUserGroup? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.DomainRStudioServerProAppSettings): DomainRStudioServerProAppSettings = DomainRStudioServerProAppSettings(
            accessStatus = javaType.accessStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.DomainRStudioServerProAppSettingsAccessStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            userGroup = javaType.userGroup().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.DomainRStudioServerProAppSettingsUserGroup.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy