
com.pulumi.awsnative.sagemaker.kotlin.outputs.OnlineStoreConfigProperties.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.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupStorageType
import kotlin.Boolean
import kotlin.Suppress
/**
* The configuration of an `OnlineStore` .
* @property enableOnlineStore Turn `OnlineStore` off by specifying `False` for the `EnableOnlineStore` flag. Turn `OnlineStore` on by specifying `True` for the `EnableOnlineStore` flag.
* The default value is `False` .
* @property securityConfig Use to specify KMS Key ID ( `KMSKeyId` ) for at-rest encryption of your `OnlineStore` .
* @property storageType Option for different tiers of low latency storage for real-time data retrieval.
* - `Standard` : A managed low latency data store for feature groups.
* - `InMemory` : A managed data store for feature groups that supports very low latency retrieval.
* @property ttlDuration Time to live duration, where the record is hard deleted after the expiration time is reached; `ExpiresAt` = `EventTime` + `TtlDuration` . For information on HardDelete, see the [DeleteRecord](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html) API in the Amazon SageMaker API Reference guide.
*/
public data class OnlineStoreConfigProperties(
public val enableOnlineStore: Boolean? = null,
public val securityConfig: FeatureGroupOnlineStoreSecurityConfig? = null,
public val storageType: FeatureGroupStorageType? = null,
public val ttlDuration: FeatureGroupTtlDuration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.OnlineStoreConfigProperties): OnlineStoreConfigProperties = OnlineStoreConfigProperties(
enableOnlineStore = javaType.enableOnlineStore().map({ args0 -> args0 }).orElse(null),
securityConfig = javaType.securityConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupOnlineStoreSecurityConfig.Companion.toKotlin(args0)
})
}).orElse(null),
storageType = javaType.storageType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.FeatureGroupStorageType.Companion.toKotlin(args0)
})
}).orElse(null),
ttlDuration = javaType.ttlDuration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.FeatureGroupTtlDuration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy