com.pulumi.awsnative.cloudfront.kotlin.outputs.ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties.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
/**
* This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.
* @property header
* @property value
*/
public data class ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties(
public val `header`: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties): ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties =
ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigProperties(
`header` = javaType.`header`(),
`value` = javaType.`value`(),
)
}
}