Class: AWSCDK::IoT::CfnTopicRule::PutItemInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnTopicRule::PutItemInputProperty
- Defined in:
- io_t/cfn_topic_rule.rb
Overview
The input for the DynamoActionVS action that specifies the DynamoDB table to which the message data will be written.
Instance Attribute Summary collapse
-
#table_name ⇒ String
readonly
The table where the message data will be written.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_name:) ⇒ PutItemInputProperty
constructor
A new instance of PutItemInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(table_name:) ⇒ PutItemInputProperty
Returns a new instance of PutItemInputProperty.
2359 2360 2361 2362 |
# File 'io_t/cfn_topic_rule.rb', line 2359 def initialize(table_name:) @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") end |
Instance Attribute Details
#table_name ⇒ String (readonly)
The table where the message data will be written.
2368 2369 2370 |
# File 'io_t/cfn_topic_rule.rb', line 2368 def table_name @table_name end |
Class Method Details
.jsii_properties ⇒ Object
2370 2371 2372 2373 2374 |
# File 'io_t/cfn_topic_rule.rb', line 2370 def self.jsii_properties { :table_name => "tableName", } end |
Instance Method Details
#to_jsii ⇒ Object
2376 2377 2378 2379 2380 2381 2382 |
# File 'io_t/cfn_topic_rule.rb', line 2376 def to_jsii result = {} result.merge!({ "tableName" => @table_name, }) result.compact end |