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

com.pulumi.awsnative.cloudfront.kotlin.outputs.GetCachePolicyResult.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.cloudfront.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cachePolicyConfig The cache policy configuration.
 * @property id The unique identifier for the cache policy. For example: `2766f7b2-75c5-41c6-8f06-bf4303a2f2f5` .
 * @property lastModifiedTime The date and time when the cache policy was last modified.
 */
public data class GetCachePolicyResult(
    public val cachePolicyConfig: CachePolicyConfig? = null,
    public val id: String? = null,
    public val lastModifiedTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.GetCachePolicyResult): GetCachePolicyResult = GetCachePolicyResult(
            cachePolicyConfig = javaType.cachePolicyConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudfront.kotlin.outputs.CachePolicyConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            lastModifiedTime = javaType.lastModifiedTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy