
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageInferenceSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Details about inference jobs that can be run with models based on this model package.
* @property containers The Amazon ECR registry path of the Docker image that contains the inference code.
* @property supportedContentTypes The supported MIME types for the input data.
* @property supportedRealtimeInferenceInstanceTypes A list of the instance types that are used to generate inferences in real-time
* @property supportedResponseMimeTypes The supported MIME types for the output data.
* @property supportedTransformInstanceTypes A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
*/
public data class ModelPackageInferenceSpecification(
public val containers: List,
public val supportedContentTypes: List,
public val supportedRealtimeInferenceInstanceTypes: List? = null,
public val supportedResponseMimeTypes: List,
public val supportedTransformInstanceTypes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelPackageInferenceSpecification): ModelPackageInferenceSpecification = ModelPackageInferenceSpecification(
containers = javaType.containers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageContainerDefinition.Companion.toKotlin(args0)
})
}),
supportedContentTypes = javaType.supportedContentTypes().map({ args0 -> args0 }),
supportedRealtimeInferenceInstanceTypes = javaType.supportedRealtimeInferenceInstanceTypes().map({ args0 ->
args0
}),
supportedResponseMimeTypes = javaType.supportedResponseMimeTypes().map({ args0 -> args0 }),
supportedTransformInstanceTypes = javaType.supportedTransformInstanceTypes().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy