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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * A collection of settings that update the current configuration for the RStudioServerPro Domain-level app.
 * @property defaultResourceSpec A collection that defines the default `InstanceType` , `SageMakerImageArn` , and `SageMakerImageVersionArn` for the Domain.
 * @property domainExecutionRoleArn The ARN of the execution role for the RStudioServerPro Domain-level app.
 * @property rStudioConnectUrl A URL pointing to an RStudio Connect server.
 * @property rStudioPackageManagerUrl A URL pointing to an RStudio Package Manager server.
 */
public data class DomainRStudioServerProDomainSettings(
    public val defaultResourceSpec: DomainResourceSpec? = null,
    public val domainExecutionRoleArn: String,
    public val rStudioConnectUrl: String? = null,
    public val rStudioPackageManagerUrl: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.DomainRStudioServerProDomainSettings): DomainRStudioServerProDomainSettings = DomainRStudioServerProDomainSettings(
            defaultResourceSpec = javaType.defaultResourceSpec().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainResourceSpec.Companion.toKotlin(args0)
                })
            }).orElse(null),
            domainExecutionRoleArn = javaType.domainExecutionRoleArn(),
            rStudioConnectUrl = javaType.rStudioConnectUrl().map({ args0 -> args0 }).orElse(null),
            rStudioPackageManagerUrl = javaType.rStudioPackageManagerUrl().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy