
com.pulumi.awsnative.cloudfront.kotlin.outputs.DistributionOriginCustomHeader.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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