Class: Aws::CloudWatchEvents::Types::KinesisParameters

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb

Overview

Note:

When making an API call, you may pass KinesisParameters data as a hash:

{
  partition_key_path: "TargetPartitionKeyPath", # required
}

This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis data stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the eventId as the partition key.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#partition_key_pathString

The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.

Returns:

  • (String)


1030
1031
1032
1033
1034
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1030

class KinesisParameters < Struct.new(
  :partition_key_path)
  SENSITIVE = []
  include Aws::Structure
end