
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentStartupParameters.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 kotlin.Int
import kotlin.Suppress
/**
*
* @property containerStartupHealthCheckTimeoutInSeconds The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see [How Your Container Should Respond to Health Check (Ping) Requests](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-algo-ping-requests) .
* @property modelDataDownloadTimeoutInSeconds The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.
*/
public data class InferenceComponentStartupParameters(
public val containerStartupHealthCheckTimeoutInSeconds: Int? = null,
public val modelDataDownloadTimeoutInSeconds: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceComponentStartupParameters): InferenceComponentStartupParameters = InferenceComponentStartupParameters(
containerStartupHealthCheckTimeoutInSeconds = javaType.containerStartupHealthCheckTimeoutInSeconds().map({ args0 ->
args0
}).orElse(null),
modelDataDownloadTimeoutInSeconds = javaType.modelDataDownloadTimeoutInSeconds().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy