![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudfront.kotlin.outputs.GetResponseHeadersPolicyResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudfront.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property id The unique identifier for the response headers policy. For example: `57f99797-3b20-4e1b-a728-27972a74082a` .
* @property lastModifiedTime The date and time when the response headers policy was last modified.
* @property responseHeadersPolicyConfig A response headers policy configuration.
*/
public data class GetResponseHeadersPolicyResult(
public val id: String? = null,
public val lastModifiedTime: String? = null,
public val responseHeadersPolicyConfig: ResponseHeadersPolicyConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.GetResponseHeadersPolicyResult): GetResponseHeadersPolicyResult = GetResponseHeadersPolicyResult(
id = javaType.id().map({ args0 -> args0 }).orElse(null),
lastModifiedTime = javaType.lastModifiedTime().map({ args0 -> args0 }).orElse(null),
responseHeadersPolicyConfig = javaType.responseHeadersPolicyConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cloudfront.kotlin.outputs.ResponseHeadersPolicyConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy