Interface DynamoPutItemProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
DynamoPutItemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:10.290Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDynamoPutItemProps
static final class
An implementation forDynamoPutItemProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DynamoPutItemProps.Builder
builder()
default String
A 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 DynamoConsumedCapacity
Determines the level of detail about provisioned throughput consumption that is returned in the response.default DynamoItemCollectionMetrics
The item collection metrics to returned in the response.default DynamoReturnValues
Use 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.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
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.Builder
ofDynamoPutItemProps
-