@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:50.204Z") public interface DynamoPutItemProps extends TaskStateBaseProps
Example:
Table myTable; DynamoPutItem.Builder.create(this, "PutItem") .item(Map.of( "MessageId", DynamoAttributeValue.fromString("message-id"))) .table(myTable) .resultPath("$.Item") .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 java.lang.String |
getConditionExpression()
A condition that must be satisfied in order for a conditional PutItem operation to succeed.
|
default java.util.Map<java.lang.String,java.lang.String> |
getExpressionAttributeNames()
One or more substitution tokens for attribute names in an expression.
|
default java.util.Map<java.lang.String,DynamoAttributeValue> |
getExpressionAttributeValues()
One or more values that can be substituted in an expression.
|
java.util.Map<java.lang.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
java.util.Map<java.lang.String,DynamoAttributeValue> getItem()
Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
ITable getTable()
default java.lang.String getConditionExpression()
Default: - No condition expression
default java.util.Map<java.lang.String,java.lang.String> getExpressionAttributeNames()
Default: - No expression attribute names
default java.util.Map<java.lang.String,DynamoAttributeValue> getExpressionAttributeValues()
Default: - No expression attribute values
default DynamoConsumedCapacity getReturnConsumedCapacity()
Default: DynamoConsumedCapacity.NONE
default DynamoItemCollectionMetrics getReturnItemCollectionMetrics()
Default: DynamoItemCollectionMetrics.NONE
default DynamoReturnValues getReturnValues()
Default: DynamoReturnValues.NONE
static DynamoPutItemProps.Builder builder()
builder
in interface TaskStateBaseProps
DynamoPutItemProps.Builder
of DynamoPutItemProps