
com.pulumi.awsnative.events.kotlin.inputs.RuleKinesisParametersArgs.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.inputs
import com.pulumi.awsnative.events.inputs.RuleKinesisParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property partitionKeyPath The JSON path to be extracted from the event and used as the partition key. For more information, see [Amazon Kinesis Streams Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key) in the *Amazon Kinesis Streams Developer Guide* .
*/
public data class RuleKinesisParametersArgs(
public val partitionKeyPath: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.events.inputs.RuleKinesisParametersArgs =
com.pulumi.awsnative.events.inputs.RuleKinesisParametersArgs.builder()
.partitionKeyPath(partitionKeyPath.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuleKinesisParametersArgs].
*/
@PulumiTagMarker
public class RuleKinesisParametersArgsBuilder internal constructor() {
private var partitionKeyPath: Output? = null
/**
* @param value The JSON path to be extracted from the event and used as the partition key. For more information, see [Amazon Kinesis Streams Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key) in the *Amazon Kinesis Streams Developer Guide* .
*/
@JvmName("alhedhxvicgvdvbw")
public suspend fun partitionKeyPath(`value`: Output) {
this.partitionKeyPath = value
}
/**
* @param value The JSON path to be extracted from the event and used as the partition key. For more information, see [Amazon Kinesis Streams Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key) in the *Amazon Kinesis Streams Developer Guide* .
*/
@JvmName("fksqtjepfdmjvewk")
public suspend fun partitionKeyPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.partitionKeyPath = mapped
}
internal fun build(): RuleKinesisParametersArgs = RuleKinesisParametersArgs(
partitionKeyPath = partitionKeyPath ?: throw PulumiNullFieldException("partitionKeyPath"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy