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

com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceExperimentDataStorageConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The Amazon S3 location and configuration for storing inference request and response data.
 * @property contentType Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
 * @property destination The Amazon S3 bucket where the inference request and response data is stored.
 * @property kmsKey The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.
 */
public data class InferenceExperimentDataStorageConfig(
    public val contentType: InferenceExperimentCaptureContentTypeHeader? = null,
    public val destination: String,
    public val kmsKey: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceExperimentDataStorageConfig): InferenceExperimentDataStorageConfig = InferenceExperimentDataStorageConfig(
            contentType = javaType.contentType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceExperimentCaptureContentTypeHeader.Companion.toKotlin(args0)
                })
            }).orElse(null),
            destination = javaType.destination(),
            kmsKey = javaType.kmsKey().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy