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

com.pulumi.awsnative.sagemaker.kotlin.outputs.OfflineStoreConfigProperties.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 com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupTableFormat
import kotlin.Boolean
import kotlin.Suppress

/**
 * The configuration of an `OfflineStore` .
 * @property dataCatalogConfig The meta data of the Glue table that is autogenerated when an `OfflineStore` is created.
 * @property disableGlueTableCreation Set to `True` to disable the automatic creation of an AWS Glue table when configuring an `OfflineStore` . If set to `False` , Feature Store will name the `OfflineStore` Glue table following [Athena's naming recommendations](https://docs.aws.amazon.com/athena/latest/ug/tables-databases-columns-names.html) .
 * The default value is `False` .
 * @property s3StorageConfig The Amazon Simple Storage (Amazon S3) location of `OfflineStore` .
 * @property tableFormat Format for the offline store table. Supported formats are Glue (Default) and [Apache Iceberg](https://docs.aws.amazon.com/https://iceberg.apache.org/) .
 */
public data class OfflineStoreConfigProperties(
    public val dataCatalogConfig: FeatureGroupDataCatalogConfig? = null,
    public val disableGlueTableCreation: Boolean? = null,
    public val s3StorageConfig: FeatureGroupS3StorageConfig,
    public val tableFormat: FeatureGroupTableFormat? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.OfflineStoreConfigProperties): OfflineStoreConfigProperties = OfflineStoreConfigProperties(
            dataCatalogConfig = javaType.dataCatalogConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupDataCatalogConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            disableGlueTableCreation = javaType.disableGlueTableCreation().map({ args0 -> args0 }).orElse(null),
            s3StorageConfig = javaType.s3StorageConfig().let({ args0 ->
                com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupS3StorageConfig.Companion.toKotlin(args0)
            }),
            tableFormat = javaType.tableFormat().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupTableFormat.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy