
com.pulumi.awsnative.sagemaker.kotlin.inputs.DomainDockerSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.DomainDockerSettingsArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.DomainDockerSettingsEnableDockerAccess
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
/**
* A collection of settings that are required to start docker-proxy server.
* @property enableDockerAccess The flag to enable/disable docker-proxy server
* @property vpcOnlyTrustedAccounts A list of account id's that would be used to pull images from in VpcOnly mode
*/
public data class DomainDockerSettingsArgs(
public val enableDockerAccess: Output? = null,
public val vpcOnlyTrustedAccounts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.DomainDockerSettingsArgs =
com.pulumi.awsnative.sagemaker.inputs.DomainDockerSettingsArgs.builder()
.enableDockerAccess(
enableDockerAccess?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.vpcOnlyTrustedAccounts(
vpcOnlyTrustedAccounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [DomainDockerSettingsArgs].
*/
@PulumiTagMarker
public class DomainDockerSettingsArgsBuilder internal constructor() {
private var enableDockerAccess: Output? = null
private var vpcOnlyTrustedAccounts: Output>? = null
/**
* @param value The flag to enable/disable docker-proxy server
*/
@JvmName("ycynswhojhfwbymy")
public suspend fun enableDockerAccess(`value`: Output) {
this.enableDockerAccess = value
}
/**
* @param value A list of account id's that would be used to pull images from in VpcOnly mode
*/
@JvmName("bgnxntrustwixlhp")
public suspend fun vpcOnlyTrustedAccounts(`value`: Output>) {
this.vpcOnlyTrustedAccounts = value
}
@JvmName("iwwfocvvilfngvry")
public suspend fun vpcOnlyTrustedAccounts(vararg values: Output) {
this.vpcOnlyTrustedAccounts = Output.all(values.asList())
}
/**
* @param values A list of account id's that would be used to pull images from in VpcOnly mode
*/
@JvmName("bokxhxjgvxydbtvo")
public suspend fun vpcOnlyTrustedAccounts(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy