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

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

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

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

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

/**
 *
 * @property enableDockerAccess Indicates whether the domain can access Docker. Valid values are `ENABLED` and `DISABLED`.
 * @property vpcOnlyTrustedAccounts The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
 */
public data class DomainDomainSettingsDockerSettingsArgs(
    public val enableDockerAccess: Output? = null,
    public val vpcOnlyTrustedAccounts: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDomainSettingsDockerSettingsArgs =
        com.pulumi.aws.sagemaker.inputs.DomainDomainSettingsDockerSettingsArgs.builder()
            .enableDockerAccess(enableDockerAccess?.applyValue({ args0 -> args0 }))
            .vpcOnlyTrustedAccounts(
                vpcOnlyTrustedAccounts?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [DomainDomainSettingsDockerSettingsArgs].
 */
@PulumiTagMarker
public class DomainDomainSettingsDockerSettingsArgsBuilder internal constructor() {
    private var enableDockerAccess: Output? = null

    private var vpcOnlyTrustedAccounts: Output>? = null

    /**
     * @param value Indicates whether the domain can access Docker. Valid values are `ENABLED` and `DISABLED`.
     */
    @JvmName("trphtjqfcxedffyo")
    public suspend fun enableDockerAccess(`value`: Output) {
        this.enableDockerAccess = value
    }

    /**
     * @param value The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
     */
    @JvmName("kfoxqxnxpsyribcn")
    public suspend fun vpcOnlyTrustedAccounts(`value`: Output>) {
        this.vpcOnlyTrustedAccounts = value
    }

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

    /**
     * @param values The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
     */
    @JvmName("gihnydxijswaweoi")
    public suspend fun vpcOnlyTrustedAccounts(values: List>) {
        this.vpcOnlyTrustedAccounts = Output.all(values)
    }

    /**
     * @param value Indicates whether the domain can access Docker. Valid values are `ENABLED` and `DISABLED`.
     */
    @JvmName("wvwwqahhgqvyktjc")
    public suspend fun enableDockerAccess(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableDockerAccess = mapped
    }

    /**
     * @param value The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
     */
    @JvmName("gtvcipgkmungjchx")
    public suspend fun vpcOnlyTrustedAccounts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcOnlyTrustedAccounts = mapped
    }

    /**
     * @param values The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.
     */
    @JvmName("abwdtktydncjcecu")
    public suspend fun vpcOnlyTrustedAccounts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.vpcOnlyTrustedAccounts = mapped
    }

    internal fun build(): DomainDomainSettingsDockerSettingsArgs =
        DomainDomainSettingsDockerSettingsArgs(
            enableDockerAccess = enableDockerAccess,
            vpcOnlyTrustedAccounts = vpcOnlyTrustedAccounts,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy