Interface DynamoPutItemProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TaskStateBaseProps
- All Known Implementing Classes:
DynamoPutItemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.945Z")
@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-id")))
.table(myTable)
.resultPath("$.Item")
.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.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, 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.
-
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
-
getExpressionAttributeNames
One or more substitution tokens for attribute names in an expression.Default: - No expression attribute names
-
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
-
getReturnConsumedCapacity
Determines the level of detail about provisioned throughput consumption that is returned in the response.Default: DynamoConsumedCapacity.NONE
-
getReturnItemCollectionMetrics
The item collection metrics to returned in the response.Default: DynamoItemCollectionMetrics.NONE
-
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
-
builder
- Returns:
- a
DynamoPutItemProps.BuilderofDynamoPutItemProps
-