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

com.pulumi.awsnative.amplify.kotlin.outputs.AppCacheConfig.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.amplify.kotlin.outputs

import com.pulumi.awsnative.amplify.kotlin.enums.AppCacheConfigType
import kotlin.Suppress

/**
 *
 * @property type The type of cache configuration to use for an Amplify app.
 * The `AMPLIFY_MANAGED` cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting.
 * The `AMPLIFY_MANAGED_NO_COOKIES` cache configuration type is the same as `AMPLIFY_MANAGED` , except that it excludes all cookies from the cache key.
 */
public data class AppCacheConfig(
    public val type: AppCacheConfigType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.amplify.outputs.AppCacheConfig): AppCacheConfig = AppCacheConfig(
            type = javaType.type().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.amplify.kotlin.enums.AppCacheConfigType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy