
com.pulumi.awsnative.sagemaker.kotlin.outputs.DomainDockerSettings.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.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.DomainDockerSettingsEnableDockerAccess
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* 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 DomainDockerSettings(
public val enableDockerAccess: DomainDockerSettingsEnableDockerAccess? = null,
public val vpcOnlyTrustedAccounts: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.DomainDockerSettings): DomainDockerSettings = DomainDockerSettings(
enableDockerAccess = javaType.enableDockerAccess().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.DomainDockerSettingsEnableDockerAccess.Companion.toKotlin(args0)
})
}).orElse(null),
vpcOnlyTrustedAccounts = javaType.vpcOnlyTrustedAccounts().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy