com.pulumi.aws.cloudfront.kotlin.outputs.DistributionOrderedCacheBehaviorLambdaFunctionAssociation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cloudfront.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property eventType Specific event to trigger this function. Valid values: `viewer-request`, `origin-request`, `viewer-response`, `origin-response`.
* @property includeBody When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.
* @property lambdaArn ARN of the Lambda function.
*/
public data class DistributionOrderedCacheBehaviorLambdaFunctionAssociation(
public val eventType: String,
public val includeBody: Boolean? = null,
public val lambdaArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.cloudfront.outputs.DistributionOrderedCacheBehaviorLambdaFunctionAssociation): DistributionOrderedCacheBehaviorLambdaFunctionAssociation =
DistributionOrderedCacheBehaviorLambdaFunctionAssociation(
eventType = javaType.eventType(),
includeBody = javaType.includeBody().map({ args0 -> args0 }).orElse(null),
lambdaArn = javaType.lambdaArn(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy