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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * A complex type that contains ``HeaderName`` and ``HeaderValue`` elements, if any, for this distribution.
 * @property headerName The name of a header that you want CloudFront to send to your origin. For more information, see [Adding Custom Headers to Origin Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html) in the *Amazon CloudFront Developer Guide*.
 * @property headerValue The value for the header that you specified in the ``HeaderName`` field.
 */
public data class DistributionOriginCustomHeader(
    public val headerName: String,
    public val headerValue: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.DistributionOriginCustomHeader): DistributionOriginCustomHeader = DistributionOriginCustomHeader(
            headerName = javaType.headerName(),
            headerValue = javaType.headerValue(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy