Which AWS service will meet this requirement?
AWS CodeBuild
AWS CloudFormation
AWS CLI
AWS Cloud Development Kit (AWS CDK)
Explanations:
AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages, but it does not directly provision or manage infrastructure.
AWS CloudFormation is an infrastructure as code service that allows you to define your infrastructure in YAML or JSON, but it does not support programming languages like TypeScript, Python, Java, or .NET directly for defining resources.
AWS CLI (Command Line Interface) provides a command line for managing AWS services but does not involve programming languages for infrastructure provisioning and management.
AWS Cloud Development Kit (AWS CDK) allows developers to define cloud infrastructure using familiar programming languages such as TypeScript, Python, Java, and .NET, making it the suitable choice for the requirement.