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.109.0 (build c221850)", date="2025-03-14T03:25:06.277Z") @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

    • jsonata

      @Stability(Stable) @NotNull public static DynamoUpdateItem jsonata(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DynamoUpdateItemJsonataProps props)
      A StepFunctions task using JSONata to call DynamoUpdateItem.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
    • jsonPath

      @Stability(Stable) @NotNull public static DynamoUpdateItem jsonPath(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DynamoUpdateItemJsonPathProps props)
      A StepFunctions task using JSONPath to call DynamoUpdateItem.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
    • getTaskMetrics

      @Stability(Stable) @Nullable protected TaskMetricsConfig getTaskMetrics()
      Specified by:
      getTaskMetrics in class TaskStateBase
    • getTaskPolicies

      @Stability(Stable) @Nullable protected List<PolicyStatement> getTaskPolicies()
      Specified by:
      getTaskPolicies in class TaskStateBase