com.pulumi.awsnative.events.kotlin.outputs.RuleHttpParameters.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.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(),
)
}
}