I will use TypeScript to create a cloud infrastructure with AWS Cloud Development Kit (AWS CDK).
You can use default profile from AWS config file ~/.aws/config
or set it explicitly by adding --profile=sg-profile
npm run build
cdk synth
cdk deploy
# Deploy only HostingStack using "sg-profile" AWS profile
cdk deploy HostingStack --profile=sg-profile
cd experiment-aws-cdk
cdk init sample-app --language=typescript # Example CDK Application with some constructs
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template