all InfoSec news
[20 Days of DynamoDB] Day 4 - Conditional UpdateItem
Jan. 11, 2024, 4:14 a.m. | Abhishek Gupta
DEV Community dev.to
Posted: 11/Jan/2024
Conditional operations are helpful in cases when you want a DynamoDB write operation (PutItem
, UpdateItem
or DeleteItem
) to be executed based on a certain criteria. To do so, use a condition expression - it must evaluate to true in order for the operation to succeed.
Here is an example that demonstrates a conditional UpdateItem
operation. It uses the attribute_not_exists
function:
resp, err := client.UpdateItem(context.Background(), &dynamodb. …
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Social Engineer For Reverse Engineering Exploit Study
@ Independent study | Remote
Senior Software Engineer, Security
@ Niantic | Zürich, Switzerland
Consultant expert en sécurité des systèmes industriels (H/F)
@ Devoteam | Levallois-Perret, France
Cybersecurity Analyst
@ Bally's | Providence, Rhode Island, United States
Digital Trust Cyber Defense Executive
@ KPMG India | Gurgaon, Haryana, India
Program Manager - Cybersecurity Assessment Services
@ TestPros | Remote (and DMV), DC