com.pulumi.awsnative.sagemaker.kotlin.ModelCardArgs.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.ModelCardArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardStatus
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardContentArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardContentArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardSecurityConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardSecurityConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardUserContextArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelCardUserContextArgsBuilder
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::ModelCard.
* @property content The content of the model card. Content uses the [model card JSON schema](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema) .
* @property createdBy Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
* @property lastModifiedBy Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
* @property modelCardName The unique name of the model card.
* @property modelCardStatus The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
* @property securityConfig The security configuration used to protect model card data.
* @property tags Key-value pairs used to manage metadata for model cards.
*/
public data class ModelCardArgs(
public val content: Output? = null,
public val createdBy: Output? = null,
public val lastModifiedBy: Output? = null,
public val modelCardName: Output? = null,
public val modelCardStatus: Output? = null,
public val securityConfig: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.ModelCardArgs =
com.pulumi.awsnative.sagemaker.ModelCardArgs.builder()
.content(content?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.createdBy(createdBy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.lastModifiedBy(lastModifiedBy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.modelCardName(modelCardName?.applyValue({ args0 -> args0 }))
.modelCardStatus(modelCardStatus?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityConfig(securityConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ModelCardArgs].
*/
@PulumiTagMarker
public class ModelCardArgsBuilder internal constructor() {
private var content: Output? = null
private var createdBy: Output? = null
private var lastModifiedBy: Output? = null
private var modelCardName: Output? = null
private var modelCardStatus: Output? = null
private var securityConfig: Output? = null
private var tags: Output>? = null
/**
* @param value The content of the model card. Content uses the [model card JSON schema](https://docs.aws.amazon.com/sagemaker/latest/dg/model-cards.html#model-cards-json-schema) .
*/
@JvmName("kdiernqdqkukpuvx")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
*/
@JvmName("vuxcxdysjnulburn")
public suspend fun createdBy(`value`: Output) {
this.createdBy = value
}
/**
* @param value Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
*/
@JvmName("qjevmkbguseikdse")
public suspend fun lastModifiedBy(`value`: Output) {
this.lastModifiedBy = value
}
/**
* @param value The unique name of the model card.
*/
@JvmName("tvehpdrvfhsabbte")
public suspend fun modelCardName(`value`: Output) {
this.modelCardName = value
}
/**
* @param value The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.
*/
@JvmName("fcqotmuxktotqodr")
public suspend fun modelCardStatus(`value`: Output) {
this.modelCardStatus = value
}
/**
* @param value The security configuration used to protect model card data.
*/
@JvmName("kxmoobmwvsexwrdk")
public suspend fun securityConfig(`value`: Output) {
this.securityConfig = value
}
/**
* @param value Key-value pairs used to manage metadata for model cards.
*/
@JvmName("rldgomkilpojhrpu")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("dscgwvodwdqtemjo")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Key-value pairs used to manage metadata for model cards.
*/
@JvmName("vhfkpxndyvavjbgo")
public suspend fun tags(values: List