![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.ModelPackageGroupArgs.kt Maven / Gradle / Ivy
@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.ModelPackageGroupArgs.builder
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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::SageMaker::ModelPackageGroup
* @property modelPackageGroupDescription The description for the model group.
* @property modelPackageGroupName The name of the model group.
* @property modelPackageGroupPolicy A resouce policy to control access to a model group. For information about resoure policies, see [Identity-based policies and resource-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the *AWS Identity and Access Management User Guide.* .
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SageMaker::ModelPackageGroup` for more information about the expected schema for this property.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class ModelPackageGroupArgs(
public val modelPackageGroupDescription: Output? = null,
public val modelPackageGroupName: Output? = null,
public val modelPackageGroupPolicy: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.ModelPackageGroupArgs =
com.pulumi.awsnative.sagemaker.ModelPackageGroupArgs.builder()
.modelPackageGroupDescription(modelPackageGroupDescription?.applyValue({ args0 -> args0 }))
.modelPackageGroupName(modelPackageGroupName?.applyValue({ args0 -> args0 }))
.modelPackageGroupPolicy(modelPackageGroupPolicy?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ModelPackageGroupArgs].
*/
@PulumiTagMarker
public class ModelPackageGroupArgsBuilder internal constructor() {
private var modelPackageGroupDescription: Output? = null
private var modelPackageGroupName: Output? = null
private var modelPackageGroupPolicy: Output? = null
private var tags: Output>? = null
/**
* @param value The description for the model group.
*/
@JvmName("eiwwtrphrdgrhbwl")
public suspend fun modelPackageGroupDescription(`value`: Output) {
this.modelPackageGroupDescription = value
}
/**
* @param value The name of the model group.
*/
@JvmName("wduneowpuefdvcsd")
public suspend fun modelPackageGroupName(`value`: Output) {
this.modelPackageGroupName = value
}
/**
* @param value A resouce policy to control access to a model group. For information about resoure policies, see [Identity-based policies and resource-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the *AWS Identity and Access Management User Guide.* .
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SageMaker::ModelPackageGroup` for more information about the expected schema for this property.
*/
@JvmName("vicrsjuoycvquhyk")
public suspend fun modelPackageGroupPolicy(`value`: Output) {
this.modelPackageGroupPolicy = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("gnciodfjulmwhgxn")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("oqobqfbubxrikcuo")
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("vhpuiagnkxpiboam")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy