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

com.pulumi.aws.sagemaker.kotlin.inputs.DomainDomainSettingsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.sagemaker.kotlin.inputs

import com.pulumi.aws.sagemaker.inputs.DomainDomainSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dockerSettings A collection of settings that configure the domain’s Docker interaction. see `docker_settings` Block below.
 * @property executionRoleIdentityConfig The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key [AWS Docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). Valid values are `USER_PROFILE_NAME` and `DISABLED`.
 * @property rStudioServerProDomainSettings A collection of settings that configure the RStudioServerPro Domain-level app. see `r_studio_server_pro_domain_settings` Block below.
 * @property securityGroupIds The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
 */
public data class DomainDomainSettingsArgs(
    public val dockerSettings: Output? = null,
    public val executionRoleIdentityConfig: Output? = null,
    public val rStudioServerProDomainSettings: Output? = null,
    public val securityGroupIds: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDomainSettingsArgs =
        com.pulumi.aws.sagemaker.inputs.DomainDomainSettingsArgs.builder()
            .dockerSettings(dockerSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .executionRoleIdentityConfig(executionRoleIdentityConfig?.applyValue({ args0 -> args0 }))
            .rStudioServerProDomainSettings(
                rStudioServerProDomainSettings?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [DomainDomainSettingsArgs].
 */
@PulumiTagMarker
public class DomainDomainSettingsArgsBuilder internal constructor() {
    private var dockerSettings: Output? = null

    private var executionRoleIdentityConfig: Output? = null

    private var rStudioServerProDomainSettings:
        Output? = null

    private var securityGroupIds: Output>? = null

    /**
     * @param value A collection of settings that configure the domain’s Docker interaction. see `docker_settings` Block below.
     */
    @JvmName("pvwokvrsoecgqeiv")
    public suspend fun dockerSettings(`value`: Output) {
        this.dockerSettings = value
    }

    /**
     * @param value The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key [AWS Docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). Valid values are `USER_PROFILE_NAME` and `DISABLED`.
     */
    @JvmName("wkccxfjjwuuoqqjx")
    public suspend fun executionRoleIdentityConfig(`value`: Output) {
        this.executionRoleIdentityConfig = value
    }

    /**
     * @param value A collection of settings that configure the RStudioServerPro Domain-level app. see `r_studio_server_pro_domain_settings` Block below.
     */
    @JvmName("ckumkdgaylawvnoi")
    public suspend fun rStudioServerProDomainSettings(`value`: Output) {
        this.rStudioServerProDomainSettings = value
    }

    /**
     * @param value The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
     */
    @JvmName("thewmdupcnfxktdk")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

    @JvmName("rrhpyhseiibqsevu")
    public suspend fun securityGroupIds(vararg values: Output) {
        this.securityGroupIds = Output.all(values.asList())
    }

    /**
     * @param values The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
     */
    @JvmName("ndkeukqigrnmbede")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value A collection of settings that configure the domain’s Docker interaction. see `docker_settings` Block below.
     */
    @JvmName("ytelnrmsnclhhbur")
    public suspend fun dockerSettings(`value`: DomainDomainSettingsDockerSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dockerSettings = mapped
    }

    /**
     * @param argument A collection of settings that configure the domain’s Docker interaction. see `docker_settings` Block below.
     */
    @JvmName("epxiupayeldytdfa")
    public suspend fun dockerSettings(argument: suspend DomainDomainSettingsDockerSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = DomainDomainSettingsDockerSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.dockerSettings = mapped
    }

    /**
     * @param value The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key [AWS Docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). Valid values are `USER_PROFILE_NAME` and `DISABLED`.
     */
    @JvmName("dmljwqdkpjocqdfq")
    public suspend fun executionRoleIdentityConfig(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.executionRoleIdentityConfig = mapped
    }

    /**
     * @param value A collection of settings that configure the RStudioServerPro Domain-level app. see `r_studio_server_pro_domain_settings` Block below.
     */
    @JvmName("jhrlihulraamcpqs")
    public suspend fun rStudioServerProDomainSettings(`value`: DomainDomainSettingsRStudioServerProDomainSettingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rStudioServerProDomainSettings = mapped
    }

    /**
     * @param argument A collection of settings that configure the RStudioServerPro Domain-level app. see `r_studio_server_pro_domain_settings` Block below.
     */
    @JvmName("lbwesjfkeydvycul")
    public suspend fun rStudioServerProDomainSettings(argument: suspend DomainDomainSettingsRStudioServerProDomainSettingsArgsBuilder.() -> Unit) {
        val toBeMapped = DomainDomainSettingsRStudioServerProDomainSettingsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.rStudioServerProDomainSettings = mapped
    }

    /**
     * @param value The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
     */
    @JvmName("elyeevolevxluoni")
    public suspend fun securityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
     */
    @JvmName("saihiudwtmovushw")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    internal fun build(): DomainDomainSettingsArgs = DomainDomainSettingsArgs(
        dockerSettings = dockerSettings,
        executionRoleIdentityConfig = executionRoleIdentityConfig,
        rStudioServerProDomainSettings = rStudioServerProDomainSettings,
        securityGroupIds = securityGroupIds,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy