
com.pulumi.awsnative.sagemaker.kotlin.MonitoringScheduleArgs.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.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.sagemaker.MonitoringScheduleArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.MonitoringScheduleStatus
import com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleMonitoringExecutionSummaryArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.MonitoringScheduleMonitoringExecutionSummaryArgsBuilder
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::MonitoringSchedule
* @property endpointName The name of the endpoint using the monitoring schedule.
* @property failureReason Contains the reason a monitoring job failed, if it failed.
* @property lastMonitoringExecutionSummary Describes metadata on the last execution to run, if there was one.
* @property monitoringScheduleConfig The configuration object that specifies the monitoring schedule and defines the monitoring job.
* @property monitoringScheduleName The name of the monitoring schedule.
* @property monitoringScheduleStatus The status of a schedule job.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class MonitoringScheduleArgs(
public val endpointName: Output? = null,
public val failureReason: Output? = null,
public val lastMonitoringExecutionSummary: Output? = null,
public val monitoringScheduleConfig: Output? = null,
public val monitoringScheduleName: Output? = null,
public val monitoringScheduleStatus: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.MonitoringScheduleArgs =
com.pulumi.awsnative.sagemaker.MonitoringScheduleArgs.builder()
.endpointName(endpointName?.applyValue({ args0 -> args0 }))
.failureReason(failureReason?.applyValue({ args0 -> args0 }))
.lastMonitoringExecutionSummary(
lastMonitoringExecutionSummary?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.monitoringScheduleConfig(
monitoringScheduleConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.monitoringScheduleName(monitoringScheduleName?.applyValue({ args0 -> args0 }))
.monitoringScheduleStatus(
monitoringScheduleStatus?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MonitoringScheduleArgs].
*/
@PulumiTagMarker
public class MonitoringScheduleArgsBuilder internal constructor() {
private var endpointName: Output? = null
private var failureReason: Output? = null
private var lastMonitoringExecutionSummary:
Output? = null
private var monitoringScheduleConfig: Output? = null
private var monitoringScheduleName: Output? = null
private var monitoringScheduleStatus: Output? = null
private var tags: Output>? = null
/**
* @param value The name of the endpoint using the monitoring schedule.
*/
@JvmName("kdlibehtgvrkcwjf")
public suspend fun endpointName(`value`: Output) {
this.endpointName = value
}
/**
* @param value Contains the reason a monitoring job failed, if it failed.
*/
@JvmName("eyacjrpetekvwnjx")
public suspend fun failureReason(`value`: Output) {
this.failureReason = value
}
/**
* @param value Describes metadata on the last execution to run, if there was one.
*/
@JvmName("wkxsfsxycxqyxxhk")
public suspend fun lastMonitoringExecutionSummary(`value`: Output) {
this.lastMonitoringExecutionSummary = value
}
/**
* @param value The configuration object that specifies the monitoring schedule and defines the monitoring job.
*/
@JvmName("tyjhdetsfedhyfao")
public suspend fun monitoringScheduleConfig(`value`: Output) {
this.monitoringScheduleConfig = value
}
/**
* @param value The name of the monitoring schedule.
*/
@JvmName("fxmdfwmwbeceunkw")
public suspend fun monitoringScheduleName(`value`: Output) {
this.monitoringScheduleName = value
}
/**
* @param value The status of a schedule job.
*/
@JvmName("fgoihpcpegeuemxs")
public suspend fun monitoringScheduleStatus(`value`: Output) {
this.monitoringScheduleStatus = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("wgcvtergyelwqgon")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xegfuvlabrawtllj")
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("rotiogpdxpjccxin")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy