Interface DynamoPutItemProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateBaseProps
- All Known Implementing Classes:
DynamoPutItemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.107Z")
@Stability(Stable)
public interface DynamoPutItemProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for DynamoPutItem Task.
Example:
Table myTable;
DynamoPutItem.Builder.create(this, "PutItem")
.item(Map.of(
"MessageId", DynamoAttributeValue.fromString("message-007"),
"Text", DynamoAttributeValue.fromString(JsonPath.stringAt("$.bar")),
"TotalCount", DynamoAttributeValue.fromNumber(10)))
.table(myTable)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDynamoPutItemPropsstatic final classAn implementation forDynamoPutItemProps -
Method Summary
Modifier and TypeMethodDescriptionstatic DynamoPutItemProps.Builderbuilder()default StringA condition that must be satisfied in order for a conditional PutItem operation to succeed.One or more substitution tokens for attribute names in an expression.default Map<String, DynamoAttributeValue> One or more values that can be substituted in an expression.getItem()A map of attribute name/value pairs, one for each attribute.default DynamoConsumedCapacityDetermines the level of detail about provisioned throughput consumption that is returned in the response.default DynamoItemCollectionMetricsThe item collection metrics to returned in the response.default DynamoReturnValuesUse ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request.getTable()The name of the table where the item should be written .Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getResultPath, getResultSelector
-
Method Details
-
getItem
A map of attribute name/value pairs, one for each attribute.Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
- See Also:
-
getTable
The name of the table where the item should be written . -
getConditionExpression
A condition that must be satisfied in order for a conditional PutItem operation to succeed.Default: - No condition expression
- See Also:
-
getExpressionAttributeNames
One or more substitution tokens for attribute names in an expression.Default: - No expression attribute names
- See Also:
-
getExpressionAttributeValues
@Stability(Stable) @Nullable default Map<String,DynamoAttributeValue> getExpressionAttributeValues()One or more values that can be substituted in an expression.Default: - No expression attribute values
- See Also:
-
getReturnConsumedCapacity
Determines the level of detail about provisioned throughput consumption that is returned in the response.Default: DynamoConsumedCapacity.NONE
- See Also:
-
getReturnItemCollectionMetrics
The item collection metrics to returned in the response.Default: DynamoItemCollectionMetrics.NONE
- See Also:
-
getReturnValues
Use ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request.Default: DynamoReturnValues.NONE
- See Also:
-
builder
- Returns:
- a
DynamoPutItemProps.BuilderofDynamoPutItemProps
-