dynamodb get-table-item
get dynamodb table item
Description
Get dynamodb table item
Synopsis
dynamodb get-table-item
[--site <site>]
[--region <region>]
--partition_key <partition_key>
[--sort_key <sort_key>]
--partition_key_value <partition_key_value>
[--sort_key_value <sort_key_value>]
<name>
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
region
- (string)
AWS region for the service
Example: --region "region-1"
Default: _None_
Attributes: optional
partition_key
- (string)
The partition key of the item
Example: --partition_key "partition_key-1"
Default: _None_
Attributes: required
sort_key
- (string)
The sort key of the item
Example: --sort_key "sort_key-1"
Default: _None_
Attributes: optional
partition_key_value
- (string)
The partition key value of the item
Example: --partition_key_value "partition_key_value-1"
Default: _None_
Attributes: required
sort_key_value
- (string)
The sort key value of the item
Example: --sort_key_value "sort_key_value-1"
Default: _None_
Attributes: optional
name
- (string)
The name of the table
Example: "name-1"
Default: _None_
Attributes: required
Examples
Input:
x=! dynamodb get-table-item --table "testtable1" --partition_key "testpk1" --sort_key "testsk1" --partition_key_value "testpkval1" --sort_key_value "testskval1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "read" |
Service Type | "dynamodb" |
Service Instance | |
Namespace | |
Object Type | "item" |
Object ID | partition_key |
Please see Access Control for details.