com.pulumi.aws.sagemaker.kotlin.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property errorTopic Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
* @property includeInferenceResponseIns The Amazon SNS topics where you want the inference response to be included. Valid values are `SUCCESS_NOTIFICATION_TOPIC` and `ERROR_NOTIFICATION_TOPIC`.
* @property successTopic Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.
*/
public data class EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs(
public val errorTopic: Output? = null,
public val includeInferenceResponseIns: Output>? = null,
public val successTopic: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs =
com.pulumi.aws.sagemaker.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs.builder()
.errorTopic(errorTopic?.applyValue({ args0 -> args0 }))
.includeInferenceResponseIns(
includeInferenceResponseIns?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.successTopic(successTopic?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs].
*/
@PulumiTagMarker
public class EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgsBuilder
internal constructor() {
private var errorTopic: Output? = null
private var includeInferenceResponseIns: Output>? = null
private var successTopic: Output? = null
/**
* @param value Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.
*/
@JvmName("ghdmsfpojphmynrd")
public suspend fun errorTopic(`value`: Output) {
this.errorTopic = value
}
/**
* @param value The Amazon SNS topics where you want the inference response to be included. Valid values are `SUCCESS_NOTIFICATION_TOPIC` and `ERROR_NOTIFICATION_TOPIC`.
*/
@JvmName("yfqdvalpfwdysamc")
public suspend fun includeInferenceResponseIns(`value`: Output>) {
this.includeInferenceResponseIns = value
}
@JvmName("nuqyqiynfjrcyvdu")
public suspend fun includeInferenceResponseIns(vararg values: Output) {
this.includeInferenceResponseIns = Output.all(values.asList())
}
/**
* @param values The Amazon SNS topics where you want the inference response to be included. Valid values are `SUCCESS_NOTIFICATION_TOPIC` and `ERROR_NOTIFICATION_TOPIC`.
*/
@JvmName("fepnqqxtfiwcjsno")
public suspend fun includeInferenceResponseIns(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy