
com.pulumi.aws.pipes.kotlin.outputs.PipeTargetParametersKinesisStreamParameters.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.pipes.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property partitionKey Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.
*/
public data class PipeTargetParametersKinesisStreamParameters(
public val partitionKey: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.pipes.outputs.PipeTargetParametersKinesisStreamParameters): PipeTargetParametersKinesisStreamParameters = PipeTargetParametersKinesisStreamParameters(
partitionKey = javaType.partitionKey(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy