Interface DynamoGetItemProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable,- TaskStateBaseProps
- All Known Implementing Classes:
- DynamoGetItemProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:47.941Z")
@Stability(Stable)
public interface DynamoGetItemProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for DynamoGetItem Task.
 
Example:
 Table myTable;
 DynamoGetItem.Builder.create(this, "Get Item")
         .key(Map.of("messageId", DynamoAttributeValue.fromString("message-007")))
         .table(myTable)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDynamoGetItemPropsstatic final classAn implementation forDynamoGetItemProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic DynamoGetItemProps.Builderbuilder()default BooleanDetermines the read consistency model: If set to true, then the operation uses strongly consistent reads;One or more substitution tokens for attribute names in an expression.getKey()Primary key of the item to retrieve.default List<DynamoProjectionExpression>An array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table.default DynamoConsumedCapacityDetermines the level of detail about provisioned throughput consumption that is returned in the response.getTable()The name of the table containing the requested item.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBasePropsgetComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
- 
Method Details- 
getKeyPrimary key of the item to retrieve.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. 
- 
getTableThe name of the table containing the requested item.
- 
getConsistentReadDetermines the read consistency model: If set to true, then the operation uses strongly consistent reads;otherwise, the operation uses eventually consistent reads. Default: false 
- 
getExpressionAttributeNamesOne or more substitution tokens for attribute names in an expression.Default: - No expression attributes 
- 
getProjectionExpressionAn array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table.These attributes can include scalars, sets, or elements of a JSON document. Default: - No projection expression 
- 
getReturnConsumedCapacityDetermines the level of detail about provisioned throughput consumption that is returned in the response.Default: DynamoConsumedCapacity.NONE 
- 
builder- Returns:
- a DynamoGetItemProps.BuilderofDynamoGetItemProps
 
 
-