Class CfnPipe.PipeTargetKinesisStreamParametersProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetKinesisStreamParametersProperty.Jsii$Proxy
All Implemented Interfaces:
CfnPipe.PipeTargetKinesisStreamParametersProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnPipe.PipeTargetKinesisStreamParametersProperty

@Stability(Stable) @Internal public static final class CfnPipe.PipeTargetKinesisStreamParametersProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnPipe.PipeTargetKinesisStreamParametersProperty
  • Constructor Details

  • Method Details

    • getPartitionKey

      public final String getPartitionKey()
      Description copied from interface: CfnPipe.PipeTargetKinesisStreamParametersProperty
      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.

      Specified by:
      getPartitionKey in interface CfnPipe.PipeTargetKinesisStreamParametersProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object