Restrict the end-date to the period duration
Add lag to the cloudwatch start/end params based on period