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

com.pulumi.awsnative.sagemaker.kotlin.inputs.FeatureGroupS3StorageConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.FeatureGroupS3StorageConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property kmsKeyId The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location.
 * The IAM `roleARN` that is passed as a parameter to `CreateFeatureGroup` must have below permissions to the `KmsKeyId` :
 * - `"kms:GenerateDataKey"`
 * @property s3Uri The S3 URI, or location in Amazon S3, of `OfflineStore` .
 * S3 URIs have a format similar to the following: `s3://example-bucket/prefix/` .
 */
public data class FeatureGroupS3StorageConfigArgs(
    public val kmsKeyId: Output? = null,
    public val s3Uri: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.FeatureGroupS3StorageConfigArgs =
        com.pulumi.awsnative.sagemaker.inputs.FeatureGroupS3StorageConfigArgs.builder()
            .kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
            .s3Uri(s3Uri.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FeatureGroupS3StorageConfigArgs].
 */
@PulumiTagMarker
public class FeatureGroupS3StorageConfigArgsBuilder internal constructor() {
    private var kmsKeyId: Output? = null

    private var s3Uri: Output? = null

    /**
     * @param value The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location.
     * The IAM `roleARN` that is passed as a parameter to `CreateFeatureGroup` must have below permissions to the `KmsKeyId` :
     * - `"kms:GenerateDataKey"`
     */
    @JvmName("guysdmynmpuwwort")
    public suspend fun kmsKeyId(`value`: Output) {
        this.kmsKeyId = value
    }

    /**
     * @param value The S3 URI, or location in Amazon S3, of `OfflineStore` .
     * S3 URIs have a format similar to the following: `s3://example-bucket/prefix/` .
     */
    @JvmName("kyilxmygllrchudn")
    public suspend fun s3Uri(`value`: Output) {
        this.s3Uri = value
    }

    /**
     * @param value The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location.
     * The IAM `roleARN` that is passed as a parameter to `CreateFeatureGroup` must have below permissions to the `KmsKeyId` :
     * - `"kms:GenerateDataKey"`
     */
    @JvmName("qbsbwinjonpogpca")
    public suspend fun kmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyId = mapped
    }

    /**
     * @param value The S3 URI, or location in Amazon S3, of `OfflineStore` .
     * S3 URIs have a format similar to the following: `s3://example-bucket/prefix/` .
     */
    @JvmName("mggtqxxhmrvpukkj")
    public suspend fun s3Uri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3Uri = mapped
    }

    internal fun build(): FeatureGroupS3StorageConfigArgs = FeatureGroupS3StorageConfigArgs(
        kmsKeyId = kmsKeyId,
        s3Uri = s3Uri ?: throw PulumiNullFieldException("s3Uri"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy