About Amazon CodeWhisperer, which makes coding easier

honmahonma
3 min read

Benefits

  • Get more done faster

  • Code with confidence

  • Enhance code security

  • Use your favarite tools

Features

  • Real-time code suggestions customized for you

  • Support for popular programming languages and IDEs

  • Optimized for use with AWS services

  • Built-in security scans

  • Code responsibly: Reference tracker for open-source code

  • Code responsibly: Bias avoidance

  • Enterprise administration

Pricing

ServicesIndividual FreeProfessional $19/user/month
descriptionDevelopers can start using CodeWhisperer for free using the Individual Tier. With the Individual Tier, you can use CodeWhisperer to generate code suggestions and benefit from Reference Tracker for free. It also includes up to 50 code scans (per user) per month at no cost.Costs in the CodeWhisperer Professional Tier are calculated on a "per user, per month" basis, and organizations are billed monthly based on the maximum number of users who have access to CodeWhisperer during the billing period of a calendar month. Users added after the beginning of the billing period (first day of calendar month) will be charged proportionally.
AuthenticationAWS Builder IDAWS IAM Identity Center (previously AWS SSO)
Code generation languages supportedAllAll
Reference TrackingYesYes
Code Security Scans50/user/month500/user/month
Organizational license managementNoYes
Organizational policy managementNoYes

Professional Tier Pricing Example

Month31 days
Users10
Price$19/user/month
Cost Calculations$19 x (31/31) days x 10 users
Total Cost$190

Setting up

Search for the "AWS Tool kit" from the extensions in VScode.
and Install.

Proceed according to the instructions when the modal window appears.

Open the site at https://device.sso.us-east-1.amazonaws.com/ and paste the copied code.

After successful authentication, you can use CodeWhisperer on VScode.

Try It Out(Python)

Just by defining a function name, it automatically suggests code templates as candidates.
If you write a name that combines the name of the boto3 resource you want to use when creating the function name and the name of the function, a code suggestion will be output.

S3 upload_file

DynamoDB put_item

DynamoDB query (Proposal #1)

DynamoDB query (Proposal #2)

DynamoDB query (Proposal #3)

CloudFront create_front_ori

API Gateway create_rest_api

MediaConnect create_flow

AWS IoT Core create_provisioning_claim

CodePipeline create_pipeline

ECS create_cluster

Cloud9 create_environment_ec2

Cloudwatch get_dashboard

Conclusion

Using CodeWhisperer will save you a lot of time that you used to spend searching and researching from Google. With the time savings comes a significant increase in productivity. For example, developers will also be able to devote more time to improving QA, and projects will be able to be finished ahead of their actual deadlines.

Also, developers will gain new knowledge by being able to code in a development language that is new to them without difficulty. We encourage you to take advantage of CodeWhisperer.

Reference

0
Subscribe to my newsletter

Read articles from honma directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

honma
honma