CmdID / aws / aws elasticbeanstalk
aws elasticbeanstalk rebuild-environment
Deletes and recreates all of the Amazon Web Services resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--environment-idThe ID of the environment to rebuild.--environment-nameThe name of the environment to rebuild.