@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.458Z") @Stability(value=Stable) public interface DynamoPutItemProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamoPutItemProps.Builder
A builder for
DynamoPutItemProps |
static class |
DynamoPutItemProps.Jsii$Proxy
An implementation for
DynamoPutItemProps |
| Modifier and Type | Method and Description |
|---|---|
static DynamoPutItemProps.Builder |
builder() |
default String |
getConditionExpression()
A condition that must be satisfied in order for a conditional PutItem operation to succeed.
|
default Map<String,String> |
getExpressionAttributeNames()
One or more substitution tokens for attribute names in an expression.
|
default Map<String,DynamoAttributeValue> |
getExpressionAttributeValues()
One or more values that can be substituted in an expression.
|
Map<String,DynamoAttributeValue> |
getItem()
A map of attribute name/value pairs, one for each attribute.
|
default DynamoConsumedCapacity |
getReturnConsumedCapacity()
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
default DynamoItemCollectionMetrics |
getReturnItemCollectionMetrics()
The item collection metrics to returned in the response.
|
default DynamoReturnValues |
getReturnValues()
Use ReturnValues if you want to get the item attributes as they appeared before they were updated with the PutItem request.
|
ITable |
getTable()
The name of the table where the item should be written .
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Stable) @NotNull Map<String,DynamoAttributeValue> getItem()
Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
@Stability(value=Stable) @NotNull ITable getTable()
@Stability(value=Stable) @Nullable default String getConditionExpression()
Default: - No condition expression
@Stability(value=Stable) @Nullable default Map<String,String> getExpressionAttributeNames()
Default: - No expression attribute names
@Stability(value=Stable) @Nullable default Map<String,DynamoAttributeValue> getExpressionAttributeValues()
Default: - No expression attribute values
@Stability(value=Stable) @Nullable default DynamoConsumedCapacity getReturnConsumedCapacity()
Default: DynamoConsumedCapacity.NONE
@Stability(value=Stable) @Nullable default DynamoItemCollectionMetrics getReturnItemCollectionMetrics()
Default: DynamoItemCollectionMetrics.NONE
@Stability(value=Stable) @Nullable default DynamoReturnValues getReturnValues()
Default: DynamoReturnValues.NONE
@Stability(value=Stable) static DynamoPutItemProps.Builder builder()
builder in interface TaskStateBasePropsDynamoPutItemProps.Builder of DynamoPutItemPropsCopyright © 2022. All rights reserved.