AWS Builder AMI deprecate_at can we calculate a future date somehow?

The AMI optional flag deprecate_at in the EBS builder seems like a great way to clean up old images. I’m trying to figure out if there’s a way to set the deprecate_at to be isotime + 365 days. I know I can’t do it in the user variables json, maybe in the buildspec steps?