Class DynamoDBv2PutItemAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.actions.alpha.DynamoDBv2PutItemAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:35.763Z") @Stability(Experimental) public class DynamoDBv2PutItemAction extends software.amazon.jsii.JsiiObject implements IAction
(experimental) The action to put the record from an MQTT message to the DynamoDB table.

Example:

 import software.amazon.awscdk.services.dynamodb.*;
 Table table;
 TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
         .sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
         .actions(List.of(
             new DynamoDBv2PutItemAction(table)))
         .build();
 
  • Constructor Details

    • DynamoDBv2PutItemAction

      protected DynamoDBv2PutItemAction(software.amazon.jsii.JsiiObjectRef objRef)
    • DynamoDBv2PutItemAction

      protected DynamoDBv2PutItemAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • DynamoDBv2PutItemAction

      @Stability(Experimental) public DynamoDBv2PutItemAction(@NotNull ITable table, @Nullable DynamoDBv2PutItemActionProps props)
      Parameters:
      table - the DynamoDB table in which to put the items. This parameter is required.
      props - Optional properties to not use default.
    • DynamoDBv2PutItemAction

      @Stability(Experimental) public DynamoDBv2PutItemAction(@NotNull ITable table)
      Parameters:
      table - the DynamoDB table in which to put the items. This parameter is required.