
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceExperimentModelInfrastructureConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.InferenceExperimentModelInfrastructureConfigInfrastructureType
import kotlin.Suppress
/**
* The configuration for the infrastructure that the model will be deployed to.
* @property infrastructureType The type of the inference experiment that you want to run.
* @property realTimeInferenceConfig The infrastructure configuration for deploying the model to real-time inference.
*/
public data class InferenceExperimentModelInfrastructureConfig(
public val infrastructureType: InferenceExperimentModelInfrastructureConfigInfrastructureType,
public val realTimeInferenceConfig: InferenceExperimentRealTimeInferenceConfig,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceExperimentModelInfrastructureConfig): InferenceExperimentModelInfrastructureConfig = InferenceExperimentModelInfrastructureConfig(
infrastructureType = javaType.infrastructureType().let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.InferenceExperimentModelInfrastructureConfigInfrastructureType.Companion.toKotlin(args0)
}),
realTimeInferenceConfig = javaType.realTimeInferenceConfig().let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceExperimentRealTimeInferenceConfig.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy