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

com.pulumi.aws.sagemaker.kotlin.outputs.ModelPrimaryContainerModelDataSourceS3DataSource.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.sagemaker.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property compressionType How the model data is prepared. Allowed values are: `None` and `Gzip`.
 * @property modelAccessConfig Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the [`model_access_config` configuration block]. see Model Access Config.
 * @property s3DataType The type of model data to deploy. Allowed values are: `S3Object` and `S3Prefix`.
 * @property s3Uri The S3 path of model data to deploy.
 */
public data class ModelPrimaryContainerModelDataSourceS3DataSource(
    public val compressionType: String,
    public val modelAccessConfig: ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig? =
        null,
    public val s3DataType: String,
    public val s3Uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.sagemaker.outputs.ModelPrimaryContainerModelDataSourceS3DataSource): ModelPrimaryContainerModelDataSourceS3DataSource =
            ModelPrimaryContainerModelDataSourceS3DataSource(
                compressionType = javaType.compressionType(),
                modelAccessConfig = javaType.modelAccessConfig().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.aws.sagemaker.kotlin.outputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                s3DataType = javaType.s3DataType(),
                s3Uri = javaType.s3Uri(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy