Class DynamoUpdateItem

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.947Z") @Stability(Stable) public class DynamoUpdateItem extends TaskStateBase
A StepFunctions task to call DynamoUpdateItem.

Example:

 Table myTable;
 DynamoUpdateItem.Builder.create(this, "UpdateItem")
         .key(Map.of(
                 "MessageId", DynamoAttributeValue.fromString("message-007")))
         .table(myTable)
         .expressionAttributeValues(Map.of(
                 ":val", DynamoAttributeValue.numberFromString(JsonPath.stringAt("$.Item.TotalCount.N")),
                 ":rand", DynamoAttributeValue.fromNumber(20)))
         .updateExpression("SET TotalCount = :val + :rand")
         .build();
 
  • Constructor Details

    • DynamoUpdateItem

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

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

      @Stability(Stable) public DynamoUpdateItem(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DynamoUpdateItemProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details