Class: AWSCDK::Scheduler::CfnSchedule::KinesisParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
scheduler/cfn_schedule.rb

Overview

The templated target type for the Amazon Kinesis PutRecord API operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partition_key:) ⇒ KinesisParametersProperty

Returns a new instance of KinesisParametersProperty.

Parameters:

  • partition_key (String)

    Specifies the shard to which EventBridge Scheduler sends the event.



1077
1078
1079
1080
# File 'scheduler/cfn_schedule.rb', line 1077

def initialize(partition_key:)
  @partition_key = partition_key
  Jsii::Type.check_type(@partition_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "partitionKey")
end

Instance Attribute Details

#partition_keyString (readonly)

Specifies the shard to which EventBridge Scheduler sends the event.

For more information, see Amazon Kinesis Data Streams terminology and concepts in the Amazon Kinesis Streams Developer Guide .



1088
1089
1090
# File 'scheduler/cfn_schedule.rb', line 1088

def partition_key
  @partition_key
end

Class Method Details

.jsii_propertiesObject



1090
1091
1092
1093
1094
# File 'scheduler/cfn_schedule.rb', line 1090

def self.jsii_properties
  {
    :partition_key => "partitionKey",
  }
end

Instance Method Details

#to_jsiiObject



1096
1097
1098
1099
1100
1101
1102
# File 'scheduler/cfn_schedule.rb', line 1096

def to_jsii
  result = {}
  result.merge!({
    "partitionKey" => @partition_key,
  })
  result.compact
end