Class: AWSCDK::IoT::CfnTopicRule::PutItemInputProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_name:) ⇒ PutItemInputProperty

Returns a new instance of PutItemInputProperty.

Parameters:

  • table_name (String)

    The table where the message data will be written.



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_nameString (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_propertiesObject



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_jsiiObject



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