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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property callerReference A string included in the request to help make sure that the request can't be replayed.
 * @property comment A comment to describe the public key. The comment cannot be longer than 128 characters.
 * @property encodedKey The 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) .
 * @property name A name to help identify the public key.
 */
public data class PublicKeyConfig(
    public val callerReference: String,
    public val comment: String? = null,
    public val encodedKey: String,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.PublicKeyConfig): PublicKeyConfig = PublicKeyConfig(
            callerReference = javaType.callerReference(),
            comment = javaType.comment().map({ args0 -> args0 }).orElse(null),
            encodedKey = javaType.encodedKey(),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy