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

com.pulumi.awsnative.cloudfront.kotlin.outputs.GetPublicKeyResult.kt Maven / Gradle / Ivy

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property createdTime The date and time when the public key was uploaded.
 * @property id The identifier of the public key.
 * @property publicKeyConfig Configuration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) , or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html) .
 */
public data class GetPublicKeyResult(
    public val createdTime: String? = null,
    public val id: String? = null,
    public val publicKeyConfig: PublicKeyConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.GetPublicKeyResult): GetPublicKeyResult = GetPublicKeyResult(
            createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            publicKeyConfig = javaType.publicKeyConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudfront.kotlin.outputs.PublicKeyConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy