To update the project on AWS CodeBuild, execute the following command on AWS CLI:
aws codebuild update-project --generate-cli-skeleton
It will display JSON-format data as output. Save the output into the update-project.json file on your local computer and update the values, as per the requirements mentioned in Creating the build project using AWS CLI section.
After adding the value into the JSON file, execute the following command on AWS CLI:
aws codebuild update-project --cli-input-json file://D:\AWS_CodeBuild\update-project.json
Once it executes the command successfully you will see the JSON response mentioned in Creating the build project using AWS CLI.