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

com.pulumi.awsnative.cloudfront.kotlin.inputs.CloudFrontOriginAccessIdentityConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cloudfront.kotlin.inputs

import com.pulumi.awsnative.cloudfront.inputs.CloudFrontOriginAccessIdentityConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property comment A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
 */
public data class CloudFrontOriginAccessIdentityConfigArgs(
    public val comment: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cloudfront.inputs.CloudFrontOriginAccessIdentityConfigArgs =
        com.pulumi.awsnative.cloudfront.inputs.CloudFrontOriginAccessIdentityConfigArgs.builder()
            .comment(comment.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CloudFrontOriginAccessIdentityConfigArgs].
 */
@PulumiTagMarker
public class CloudFrontOriginAccessIdentityConfigArgsBuilder internal constructor() {
    private var comment: Output? = null

    /**
     * @param value A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
     */
    @JvmName("chjxjnkghfcjislr")
    public suspend fun comment(`value`: Output) {
        this.comment = value
    }

    /**
     * @param value A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
     */
    @JvmName("cnfqrjcqmkkoeeur")
    public suspend fun comment(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.comment = mapped
    }

    internal fun build(): CloudFrontOriginAccessIdentityConfigArgs =
        CloudFrontOriginAccessIdentityConfigArgs(
            comment = comment ?: throw PulumiNullFieldException("comment"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy