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

com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentContainerSpecification.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.Map

/**
 *
 * @property artifactUrl The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
 * @property deployedImage
 * @property environment The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.
 * @property image The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
 */
public data class InferenceComponentContainerSpecification(
    public val artifactUrl: String? = null,
    public val deployedImage: InferenceComponentDeployedImage? = null,
    public val environment: Map? = null,
    public val image: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceComponentContainerSpecification): InferenceComponentContainerSpecification = InferenceComponentContainerSpecification(
            artifactUrl = javaType.artifactUrl().map({ args0 -> args0 }).orElse(null),
            deployedImage = javaType.deployedImage().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentDeployedImage.Companion.toKotlin(args0)
                })
            }).orElse(null),
            environment = javaType.environment().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            image = javaType.image().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy