Skip to content

Instantly share code, notes, and snippets.

@billydh
Created January 13, 2020 21:17
Show Gist options
  • Select an option

  • Save billydh/e18e57ca68ec72d1844b85aa5fd6c278 to your computer and use it in GitHub Desktop.

Select an option

Save billydh/e18e57ca68ec72d1844b85aa5fd6c278 to your computer and use it in GitHub Desktop.
aws dynamodb put-item --endpoint-url http://localhost:8042 --table-name demo-customer-info \
--item '{"customerId": {"S": "1111"}, "email": {"S": "[email protected]"}}' \
--condition-expression "attribute_not_exists(customerId)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment