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

com.pulumi.awsnative.sagemaker.kotlin.MlflowTrackingServerArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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.MlflowTrackingServerArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.MlflowTrackingServerTrackingServerSize
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Resource Type definition for AWS::SageMaker::MlflowTrackingServer
 * @property artifactStoreUri The Amazon S3 URI for MLFlow Tracking Server artifacts.
 * @property automaticModelRegistration A flag to enable Automatic SageMaker Model Registration.
 * @property mlflowVersion The MLFlow Version used on the MLFlow Tracking Server.
 * @property roleArn The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property trackingServerName The name of the MLFlow Tracking Server.
 * @property trackingServerSize The size of the MLFlow Tracking Server.
 * @property weeklyMaintenanceWindowStart The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.
 */
public data class MlflowTrackingServerArgs(
    public val artifactStoreUri: Output? = null,
    public val automaticModelRegistration: Output? = null,
    public val mlflowVersion: Output? = null,
    public val roleArn: Output? = null,
    public val tags: Output>? = null,
    public val trackingServerName: Output? = null,
    public val trackingServerSize: Output? = null,
    public val weeklyMaintenanceWindowStart: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.MlflowTrackingServerArgs =
        com.pulumi.awsnative.sagemaker.MlflowTrackingServerArgs.builder()
            .artifactStoreUri(artifactStoreUri?.applyValue({ args0 -> args0 }))
            .automaticModelRegistration(automaticModelRegistration?.applyValue({ args0 -> args0 }))
            .mlflowVersion(mlflowVersion?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .trackingServerName(trackingServerName?.applyValue({ args0 -> args0 }))
            .trackingServerSize(
                trackingServerSize?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .weeklyMaintenanceWindowStart(weeklyMaintenanceWindowStart?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MlflowTrackingServerArgs].
 */
@PulumiTagMarker
public class MlflowTrackingServerArgsBuilder internal constructor() {
    private var artifactStoreUri: Output? = null

    private var automaticModelRegistration: Output? = null

    private var mlflowVersion: Output? = null

    private var roleArn: Output? = null

    private var tags: Output>? = null

    private var trackingServerName: Output? = null

    private var trackingServerSize: Output? = null

    private var weeklyMaintenanceWindowStart: Output? = null

    /**
     * @param value The Amazon S3 URI for MLFlow Tracking Server artifacts.
     */
    @JvmName("qqbleuhfoqwnoinm")
    public suspend fun artifactStoreUri(`value`: Output) {
        this.artifactStoreUri = value
    }

    /**
     * @param value A flag to enable Automatic SageMaker Model Registration.
     */
    @JvmName("xblctywgvvoftsbr")
    public suspend fun automaticModelRegistration(`value`: Output) {
        this.automaticModelRegistration = value
    }

    /**
     * @param value The MLFlow Version used on the MLFlow Tracking Server.
     */
    @JvmName("fniklnxjkpfnkvuw")
    public suspend fun mlflowVersion(`value`: Output) {
        this.mlflowVersion = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
     */
    @JvmName("tnvmelprucqktbxx")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("nfvopkubnonbhccs")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("vrkoysmqgcnwqpgk")
    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("nvnufhkkklpqriol")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The name of the MLFlow Tracking Server.
     */
    @JvmName("cuhiadeosykmxdun")
    public suspend fun trackingServerName(`value`: Output) {
        this.trackingServerName = value
    }

    /**
     * @param value The size of the MLFlow Tracking Server.
     */
    @JvmName("musfaoosvmnyvnbk")
    public suspend fun trackingServerSize(`value`: Output) {
        this.trackingServerSize = value
    }

    /**
     * @param value The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.
     */
    @JvmName("eqrxscfqbirdhjad")
    public suspend fun weeklyMaintenanceWindowStart(`value`: Output) {
        this.weeklyMaintenanceWindowStart = value
    }

    /**
     * @param value The Amazon S3 URI for MLFlow Tracking Server artifacts.
     */
    @JvmName("yytablqlruxkagxh")
    public suspend fun artifactStoreUri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.artifactStoreUri = mapped
    }

    /**
     * @param value A flag to enable Automatic SageMaker Model Registration.
     */
    @JvmName("rfxtprpeptvvsski")
    public suspend fun automaticModelRegistration(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.automaticModelRegistration = mapped
    }

    /**
     * @param value The MLFlow Version used on the MLFlow Tracking Server.
     */
    @JvmName("kfldkxubjvjhgscr")
    public suspend fun mlflowVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mlflowVersion = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
     */
    @JvmName("laflixyimsdvnudj")
    public suspend fun roleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("jluwcqouyktapuxm")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("slrnqdexkwcprucc")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("bufxvpawvcoqrcnl")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("dgqvpwwrbdliouyv")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("tjkgnbfkgcdyvtcf")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value The name of the MLFlow Tracking Server.
     */
    @JvmName("agqnjxdbovqewnov")
    public suspend fun trackingServerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trackingServerName = mapped
    }

    /**
     * @param value The size of the MLFlow Tracking Server.
     */
    @JvmName("hpjbxafbjmfisgpc")
    public suspend fun trackingServerSize(`value`: MlflowTrackingServerTrackingServerSize?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trackingServerSize = mapped
    }

    /**
     * @param value The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.
     */
    @JvmName("eonqvxtkfndbblxt")
    public suspend fun weeklyMaintenanceWindowStart(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.weeklyMaintenanceWindowStart = mapped
    }

    internal fun build(): MlflowTrackingServerArgs = MlflowTrackingServerArgs(
        artifactStoreUri = artifactStoreUri,
        automaticModelRegistration = automaticModelRegistration,
        mlflowVersion = mlflowVersion,
        roleArn = roleArn,
        tags = tags,
        trackingServerName = trackingServerName,
        trackingServerSize = trackingServerSize,
        weeklyMaintenanceWindowStart = weeklyMaintenanceWindowStart,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy