Skip to content

Can you query a GSI with IoT Core SQL function 'get_dynamodb()'?

0

The documentation makes no reference to index names, but our requirements are to be able to query attributes on a GSI.

https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-functions.html#iot-sql-function-get-dynamodb

asked 4 years ago596 views

1 Answer
0
Accepted Answer

get_dynamodb() function cannot query GSIs, but you can use aws_lambda() to invoke a lambda function that queries the Dynamo DB table GSI.

AWS
EXPERT

answered 4 years ago

  • Thanks, this is a neat alternative solution!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.