![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cleanroomsml.kotlin.TrainingDatasetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cleanroomsml.kotlin
import com.pulumi.awsnative.cleanroomsml.TrainingDatasetArgs.builder
import com.pulumi.awsnative.cleanroomsml.kotlin.inputs.TrainingDatasetDatasetArgs
import com.pulumi.awsnative.cleanroomsml.kotlin.inputs.TrainingDatasetDatasetArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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
/**
* Definition of AWS::CleanRoomsML::TrainingDataset Resource Type
* @property description The description of the training dataset.
* @property name The name of the training dataset.
* @property roleArn The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the `dataSource` field of each dataset.
* Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an `AccessDeniedException` error.
* @property tags An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
* @property trainingData An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
*/
public data class TrainingDatasetArgs(
public val description: Output? = null,
public val name: Output? = null,
public val roleArn: Output? = null,
public val tags: Output>? = null,
public val trainingData: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanroomsml.TrainingDatasetArgs =
com.pulumi.awsnative.cleanroomsml.TrainingDatasetArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.trainingData(
trainingData?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TrainingDatasetArgs].
*/
@PulumiTagMarker
public class TrainingDatasetArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var roleArn: Output? = null
private var tags: Output>? = null
private var trainingData: Output>? = null
/**
* @param value The description of the training dataset.
*/
@JvmName("tocikeqmuwydqxcn")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the training dataset.
*/
@JvmName("dfitpusnmewotsfg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the `dataSource` field of each dataset.
* Passing a role across accounts is not allowed. If you pass a role that isn't in your account, you get an `AccessDeniedException` error.
*/
@JvmName("bxsfntqwvectcwke")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
*/
@JvmName("ijxwcrghxqpjecat")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("kirbulahkjatfeon")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset.
*/
@JvmName("xmbvqypkwwretuxi")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy