Class DynamoUpdateItem

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

@Generated(value="jsii-pacmak/1.95.0 (build f1ff514)", date="2024-03-26T18:09:30.738Z") @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 - Descriptive identifier for this chainable. This parameter is required.
      props - This parameter is required.
  • Method Details