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

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

package com.pulumi.aws.cloudfront.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property eventType Specific event to trigger this function. Valid values: `viewer-request` or `viewer-response`.
 * @property functionArn ARN of the CloudFront function.
 */
public data class DistributionOrderedCacheBehaviorFunctionAssociation(
    public val eventType: String,
    public val functionArn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.cloudfront.outputs.DistributionOrderedCacheBehaviorFunctionAssociation): DistributionOrderedCacheBehaviorFunctionAssociation =
            DistributionOrderedCacheBehaviorFunctionAssociation(
                eventType = javaType.eventType(),
                functionArn = javaType.functionArn(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy