
com.pulumi.awsnative.sagemaker.kotlin.inputs.DomainSharingSettingsArgs.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.inputs
import com.pulumi.awsnative.sagemaker.inputs.DomainSharingSettingsArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.DomainSharingSettingsNotebookOutputOption
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.jvm.JvmName
/**
* Specifies options when sharing an Amazon SageMaker Studio notebook. These settings are specified as part of DefaultUserSettings when the CreateDomain API is called, and as part of UserSettings when the CreateUserProfile API is called.
* @property notebookOutputOption Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
* @property s3KmsKeyId When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
* @property s3OutputPath When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots.
*/
public data class DomainSharingSettingsArgs(
public val notebookOutputOption: Output? = null,
public val s3KmsKeyId: Output? = null,
public val s3OutputPath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.DomainSharingSettingsArgs =
com.pulumi.awsnative.sagemaker.inputs.DomainSharingSettingsArgs.builder()
.notebookOutputOption(
notebookOutputOption?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.s3KmsKeyId(s3KmsKeyId?.applyValue({ args0 -> args0 }))
.s3OutputPath(s3OutputPath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainSharingSettingsArgs].
*/
@PulumiTagMarker
public class DomainSharingSettingsArgsBuilder internal constructor() {
private var notebookOutputOption: Output? = null
private var s3KmsKeyId: Output? = null
private var s3OutputPath: Output? = null
/**
* @param value Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
*/
@JvmName("whykibtbyvlslfux")
public suspend fun notebookOutputOption(`value`: Output) {
this.notebookOutputOption = value
}
/**
* @param value When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
*/
@JvmName("qomqvmwgqssjsiqm")
public suspend fun s3KmsKeyId(`value`: Output) {
this.s3KmsKeyId = value
}
/**
* @param value When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots.
*/
@JvmName("tdyrwfmylcwtrbmx")
public suspend fun s3OutputPath(`value`: Output) {
this.s3OutputPath = value
}
/**
* @param value Whether to include the notebook cell output when sharing the notebook. The default is Disabled.
*/
@JvmName("aasaxwhrspwhkqxv")
public suspend fun notebookOutputOption(`value`: DomainSharingSettingsNotebookOutputOption?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.notebookOutputOption = mapped
}
/**
* @param value When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.
*/
@JvmName("xlayrpuvlsxclpig")
public suspend fun s3KmsKeyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3KmsKeyId = mapped
}
/**
* @param value When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots.
*/
@JvmName("rvtbbbgfkfsbisrg")
public suspend fun s3OutputPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3OutputPath = mapped
}
internal fun build(): DomainSharingSettingsArgs = DomainSharingSettingsArgs(
notebookOutputOption = notebookOutputOption,
s3KmsKeyId = s3KmsKeyId,
s3OutputPath = s3OutputPath,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy