AWS, Cloud Computing

2 Mins Read

AWS CodeWhisperer

Voiced by Amazon Polly

Exploring AWS CodeWhisperer Features

Amazon CodeWhisperer is an AI generative tool which provides recommendations to developers to develop their software application. This service helps developers by improving their productivity by providing code recommendations based on the comments and the prior code developed by the developers. By using CodeWhisperer developers can simply write a comment “Upload the files to S3” CodeWhisperer will provide the code recommendations based on the comments provided by the developers by automatically determining the cloud services and the required libraries that are best suited for the given requirement and provides the generated code snippet directly on the IDEs. CodeWhisperer automatically generates code suggestion on the IDE based on the Existing code and the comment written by the developers. The recommendation provided by the CodeWhisperer can vary in size and scope based on the single line comment to fully formed function. 

Customized Cloud Solutions to Drive your Business Success

  • Cloud Migration
  • Devops
  • AIML & IoT
Know More

Actions to Get Code Recommendation

Developer can get the code recommendation by performing below actions:  

  • To manually trigger CodeWhisperer: MacOS: Option + C and Windows: Alt + C 
  • To accept the recommendation: Tab 
  • To go to the Next recommendation: Down Arrow 
  • To go back to the Previous recommendation: Up Arrow 
  • To Reject the recommendation: Esc.  

CodeWhisperer can generate code in 15 programming languages, such as Java, JavaScript, Typescript, Python, C#, Ruby, Go, PHP, C++, C, Shell, Scala, Rust, SQL and Kotlin. The quality and the accuracy of the code depends on the size and the quality of the training data.  

Developers can use CodeWhisperer in IDEs like Visual Studio Code, JetBrains, Amazon Sagemaker Studio, Jupyterlab, AWS Cloud9, AWS Lambda and AWS Glue Studio. 

AWS CodeWhisperer can protect your code from security vulnerability by scanning your code to highlight and define security issues. Run Security Scan will help you to perform security scans on currently active files, its dependent files from the project in the IDE editors.  Once the security scan is complete the security issues are highlighted in the problems panel on visual studio code. The security scan in the CodeWhisperer is integrated with Amazon CodeGuru Service which does filtering before scanning the code, it also filters unsupported languages, test codes which includes open-source code

Two- tiers of CodeWhisperer

  1. Individual Tiers: 

This is a free tier which can be used by individual developers to develop the application software. Developers need to sign-up and sign-in to the builder ID to use CodeWhisperer in IDE which will provide the code recommendations within a minute. 

  1. Professional Tiers: 

The Professional tiers provides the administrative capability to the organization to provide their developers with access to the CodeWhisperer. CodeWhisperer provides the organizational license management to centrally manage the accessibility of the Codewhisperer by the developers. Organizations can also set the service policies at the organizational level accessibility of the CodeWhisperer service. Each developer in the professional tier will be changed $19 per month and the organizations are billed based on the maximum number of users using CodeWhisperer features. 

Steps to enable CodeWhisperer in Visual Studio Code (VSC)

  1. Install VSC IDE/Update the VSC IDE 
  1. Install AWS Toolkit for VSC 
  1. Configure the AWS Credentials to AWS CLI to enable access to AWS resources. 
  1. Select AWS Toolset panel from VSC, under AWS Developer tool, under CodeWhisperer, Select Start 
  1. From the Dropdown menu, select Use a personal email to sign-up and sign-in with AWS Builder ID 
  1. Authenticate and Authorize the Builder ID to enable Code Whisperer on VSC IDE 
  1. Once CodeWhipserer is enabled, start writing the comments to get the code recommendations. 

Get your new hires billable within 1-60 days. Experience our Capability Development Framework today.

  • Cloud Training
  • Customized Training
  • Experiential Learning
Read More

About CloudThat

CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.

CloudThat is the first Indian Company to win the prestigious Microsoft Partner 2024 Award and is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 850k+ professionals in 600+ cloud certifications and completed 500+ consulting projects globally, CloudThat is an official AWS Advanced Consulting Partner, Microsoft Gold Partner, AWS Training PartnerAWS Migration PartnerAWS Data and Analytics PartnerAWS DevOps Competency PartnerAWS GenAI Competency PartnerAmazon QuickSight Service Delivery PartnerAmazon EKS Service Delivery Partner AWS Microsoft Workload PartnersAmazon EC2 Service Delivery PartnerAmazon ECS Service Delivery PartnerAWS Glue Service Delivery PartnerAmazon Redshift Service Delivery PartnerAWS Control Tower Service Delivery PartnerAWS WAF Service Delivery PartnerAmazon CloudFront Service Delivery PartnerAmazon OpenSearch Service Delivery PartnerAWS DMS Service Delivery PartnerAWS Systems Manager Service Delivery PartnerAmazon RDS Service Delivery PartnerAWS CloudFormation Service Delivery PartnerAWS ConfigAmazon EMR and many more.

FAQs

1. How does Code Whisperer protect the content when transmitted?

ANS: – The content in Code Whisperer is transmitted using TLS protocol to ensure there is secure communication between IDE and Code Whisperer service.

2. Who owns the code that is generated by Code Whisperer?

ANS: – Just like you own the IDE, the code that you write including the code suggestions provided by the Code Whisperer is also owned by you. 

3. Is it possible to turn off auto suggestion provided by Code Whisperer?

ANS: – Yes, you can pause auto suggestions that Code Whisperer provides. To trigger Code Whisperer, use Option+C in Mac OS and Alt+C in windows.  

WRITTEN BY Sindhu Priya M

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!