Issue 2296. Adding support for UsePreviousValue

Adding support for cloudformation UsePreviousValue parameter.
Merge branch 'issue/2296-add-UsePreviousValue-support' into develop