com.pulumi.awsnative.sagemaker.kotlin.ModelQualityJobDefinitionArgs.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
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.sagemaker.ModelQualityJobDefinitionArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityAppSpecificationArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityAppSpecificationArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityBaselineConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityBaselineConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityJobInputArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionModelQualityJobInputArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionMonitoringOutputConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionMonitoringOutputConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionMonitoringResourcesArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionMonitoringResourcesArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionNetworkConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionNetworkConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionStoppingConditionArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelQualityJobDefinitionStoppingConditionArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::SageMaker::ModelQualityJobDefinition
* @property endpointName
* @property jobDefinitionName The name of the monitoring job definition.
* @property jobResources Identifies the resources to deploy for a monitoring job.
* @property modelQualityAppSpecification Container image configuration object for the monitoring job.
* @property modelQualityBaselineConfig Specifies the constraints and baselines for the monitoring job.
* @property modelQualityJobInput A list of the inputs that are monitored. Currently endpoints are supported.
* @property modelQualityJobOutputConfig The output configuration for monitoring jobs.
* @property networkConfig Specifies the network configuration for the monitoring job.
* @property roleArn The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
* @property stoppingCondition A time limit for how long the monitoring job is allowed to run before stopping.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ModelQualityJobDefinitionArgs(
public val endpointName: Output? = null,
public val jobDefinitionName: Output? = null,
public val jobResources: Output? = null,
public val modelQualityAppSpecification: Output? = null,
public val modelQualityBaselineConfig: Output? = null,
public val modelQualityJobInput: Output? =
null,
public val modelQualityJobOutputConfig: Output? = null,
public val networkConfig: Output? = null,
public val roleArn: Output? = null,
public val stoppingCondition: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.ModelQualityJobDefinitionArgs =
com.pulumi.awsnative.sagemaker.ModelQualityJobDefinitionArgs.builder()
.endpointName(endpointName?.applyValue({ args0 -> args0 }))
.jobDefinitionName(jobDefinitionName?.applyValue({ args0 -> args0 }))
.jobResources(jobResources?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.modelQualityAppSpecification(
modelQualityAppSpecification?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.modelQualityBaselineConfig(
modelQualityBaselineConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.modelQualityJobInput(
modelQualityJobInput?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.modelQualityJobOutputConfig(
modelQualityJobOutputConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.networkConfig(networkConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.stoppingCondition(stoppingCondition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ModelQualityJobDefinitionArgs].
*/
@PulumiTagMarker
public class ModelQualityJobDefinitionArgsBuilder internal constructor() {
private var endpointName: Output? = null
private var jobDefinitionName: Output? = null
private var jobResources: Output? = null
private var modelQualityAppSpecification:
Output? = null
private var modelQualityBaselineConfig:
Output? = null
private var modelQualityJobInput: Output? =
null
private var modelQualityJobOutputConfig:
Output? = null
private var networkConfig: Output? = null
private var roleArn: Output? = null
private var stoppingCondition: Output? = null
private var tags: Output>? = null
/**
* @param value
*/
@JvmName("yldnefwmximutjsa")
public suspend fun endpointName(`value`: Output) {
this.endpointName = value
}
/**
* @param value The name of the monitoring job definition.
*/
@JvmName("drnngflwatgjrfpc")
public suspend fun jobDefinitionName(`value`: Output) {
this.jobDefinitionName = value
}
/**
* @param value Identifies the resources to deploy for a monitoring job.
*/
@JvmName("shcvrvdgsynpsqhj")
public suspend fun jobResources(`value`: Output) {
this.jobResources = value
}
/**
* @param value Container image configuration object for the monitoring job.
*/
@JvmName("vdxegmidknjttydr")
public suspend fun modelQualityAppSpecification(`value`: Output) {
this.modelQualityAppSpecification = value
}
/**
* @param value Specifies the constraints and baselines for the monitoring job.
*/
@JvmName("rmjpuccaqoorvyuh")
public suspend fun modelQualityBaselineConfig(`value`: Output) {
this.modelQualityBaselineConfig = value
}
/**
* @param value A list of the inputs that are monitored. Currently endpoints are supported.
*/
@JvmName("pklijbvmfrfwemjf")
public suspend fun modelQualityJobInput(`value`: Output) {
this.modelQualityJobInput = value
}
/**
* @param value The output configuration for monitoring jobs.
*/
@JvmName("vpbbkuugpvdtnolu")
public suspend fun modelQualityJobOutputConfig(`value`: Output) {
this.modelQualityJobOutputConfig = value
}
/**
* @param value Specifies the network configuration for the monitoring job.
*/
@JvmName("pbglrqktcumcjgxw")
public suspend fun networkConfig(`value`: Output) {
this.networkConfig = value
}
/**
* @param value The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
*/
@JvmName("lmnjtvurdddiwhra")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value A time limit for how long the monitoring job is allowed to run before stopping.
*/
@JvmName("lbhlxppjfclnudaq")
public suspend fun stoppingCondition(`value`: Output) {
this.stoppingCondition = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("rhqvdmeuicydyqmm")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("mfetgolcrbqyasdf")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("otstaojeptgkulej")
public suspend fun tags(values: List