Answer - B
This is mentioned in the AWS Documentation.
AWS CodePipeline includes several actions that help you configure build, test, and deploy resources for your automated release process. If your release process includes activities that are not included in the default actions, such as an internally developed build process or a test suite, you can create a custom action for that purpose and include it in your pipeline. You can use the AWS CLI to create custom actions in pipelines associated with your AWS account.
Option A is incorrect because the question asks to build your own proprietary build process that needs to be incorporated in CodePipeline.
Options C and D are incorrect because these 2 actions do not exist in the pipeline.
https://docs.aws.amazon.com/codepipeline/latest/userguide/actions.html
For more information on creating custom actions, please refer to the below URL-
https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-custom-action.html