Class: AWSCDK::Scheduler::CfnSchedule::KinesisParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Scheduler::CfnSchedule::KinesisParametersProperty
- Defined in:
- scheduler/cfn_schedule.rb
Overview
The templated target type for the Amazon Kinesis PutRecord API operation.
Instance Attribute Summary collapse
-
#partition_key ⇒ String
readonly
Specifies the shard to which EventBridge Scheduler sends the event.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(partition_key:) ⇒ KinesisParametersProperty
constructor
A new instance of KinesisParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(partition_key:) ⇒ KinesisParametersProperty
Returns a new instance of KinesisParametersProperty.
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_key ⇒ String (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_properties ⇒ Object
1090 1091 1092 1093 1094 |
# File 'scheduler/cfn_schedule.rb', line 1090 def self.jsii_properties { :partition_key => "partitionKey", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |