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

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

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

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

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * Configuration for the cluster used to run model monitoring jobs.
 * @property instanceCount The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
 * @property instanceType The ML compute instance type for the processing job.
 * @property volumeKmsKeyId The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.
 * @property volumeSizeInGb The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.
 */
public data class ModelExplainabilityJobDefinitionClusterConfig(
    public val instanceCount: Int,
    public val instanceType: String,
    public val volumeKmsKeyId: String? = null,
    public val volumeSizeInGb: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelExplainabilityJobDefinitionClusterConfig): ModelExplainabilityJobDefinitionClusterConfig =
            ModelExplainabilityJobDefinitionClusterConfig(
                instanceCount = javaType.instanceCount(),
                instanceType = javaType.instanceType(),
                volumeKmsKeyId = javaType.volumeKmsKeyId().map({ args0 -> args0 }).orElse(null),
                volumeSizeInGb = javaType.volumeSizeInGb(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy