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

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

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

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

import kotlin.Boolean
import kotlin.Suppress

/**
 * Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.
 * @property enableInterContainerTrafficEncryption Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.
 * @property enableNetworkIsolation Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
 * @property vpcConfig Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC.
 */
public data class ModelBiasJobDefinitionNetworkConfig(
    public val enableInterContainerTrafficEncryption: Boolean? = null,
    public val enableNetworkIsolation: Boolean? = null,
    public val vpcConfig: ModelBiasJobDefinitionVpcConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelBiasJobDefinitionNetworkConfig): ModelBiasJobDefinitionNetworkConfig = ModelBiasJobDefinitionNetworkConfig(
            enableInterContainerTrafficEncryption = javaType.enableInterContainerTrafficEncryption().map({ args0 ->
                args0
            }).orElse(null),
            enableNetworkIsolation = javaType.enableNetworkIsolation().map({ args0 -> args0 }).orElse(null),
            vpcConfig = javaType.vpcConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelBiasJobDefinitionVpcConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy