You cannot replace DynamoDB with S3. S3 can not perform atomic and strongly consistent operations.
Edit: as other commenters have noted, you can perform a read after write on a new key.
Edit: as other commenters have noted, you can perform a read after write on a new key.