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

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

package com.pulumi.awsnative.events.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property headerParameters The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
 * @property pathParameterValues The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*").
 * @property queryStringParameters The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
 */
public data class RuleHttpParameters(
    public val headerParameters: Map? = null,
    public val pathParameterValues: List? = null,
    public val queryStringParameters: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.events.outputs.RuleHttpParameters): RuleHttpParameters = RuleHttpParameters(
            headerParameters = javaType.headerParameters().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            pathParameterValues = javaType.pathParameterValues().map({ args0 -> args0 }),
            queryStringParameters = javaType.queryStringParameters().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy