@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:50.201Z") public interface DynamoGetItemProps extends TaskStateBaseProps
Example:
Table myTable; DynamoGetItem.Builder.create(this, "Get Item") .key(Map.of("messageId", DynamoAttributeValue.fromString("message-007"))) .table(myTable) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
DynamoGetItemProps.Builder
A builder for
DynamoGetItemProps |
static class |
DynamoGetItemProps.Jsii$Proxy
An implementation for
DynamoGetItemProps |
Modifier and Type | Method and Description |
---|---|
static DynamoGetItemProps.Builder |
builder() |
default java.lang.Boolean |
getConsistentRead()
Determines the read consistency model: If set to true, then the operation uses strongly consistent reads;
|
default java.util.Map<java.lang.String,java.lang.String> |
getExpressionAttributeNames()
One or more substitution tokens for attribute names in an expression.
|
java.util.Map<java.lang.String,DynamoAttributeValue> |
getKey()
Primary key of the item to retrieve.
|
default java.util.List<DynamoProjectionExpression> |
getProjectionExpression()
An array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table.
|
default DynamoConsumedCapacity |
getReturnConsumedCapacity()
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
ITable |
getTable()
The name of the table containing the requested item.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
java.util.Map<java.lang.String,DynamoAttributeValue> getKey()
For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
ITable getTable()
default java.lang.Boolean getConsistentRead()
otherwise, the operation uses eventually consistent reads.
Default: false
default java.util.Map<java.lang.String,java.lang.String> getExpressionAttributeNames()
Default: - No expression attributes
default java.util.List<DynamoProjectionExpression> getProjectionExpression()
These attributes can include scalars, sets, or elements of a JSON document.
Default: - No projection expression
default DynamoConsumedCapacity getReturnConsumedCapacity()
Default: DynamoConsumedCapacity.NONE
static DynamoGetItemProps.Builder builder()
builder
in interface TaskStateBaseProps
DynamoGetItemProps.Builder
of DynamoGetItemProps