com.pulumi.aws.cloudwatch.kotlin.inputs.EventTargetKinesisTargetArgs.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.cloudwatch.kotlin.inputs
import com.pulumi.aws.cloudwatch.inputs.EventTargetKinesisTargetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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.
*/
public data class EventTargetKinesisTargetArgs(
public val partitionKeyPath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cloudwatch.inputs.EventTargetKinesisTargetArgs =
com.pulumi.aws.cloudwatch.inputs.EventTargetKinesisTargetArgs.builder()
.partitionKeyPath(partitionKeyPath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventTargetKinesisTargetArgs].
*/
@PulumiTagMarker
public class EventTargetKinesisTargetArgsBuilder internal constructor() {
private var partitionKeyPath: Output? = null
/**
* @param value The JSON path to be extracted from the event and used as the partition key.
*/
@JvmName("uokhcdeqbabeffew")
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.
*/
@JvmName("rundkodotwmchfgs")
public suspend fun partitionKeyPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.partitionKeyPath = mapped
}
internal fun build(): EventTargetKinesisTargetArgs = EventTargetKinesisTargetArgs(
partitionKeyPath = partitionKeyPath,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy