Pilih preferensi cookie Anda

Kami menggunakan cookie penting serta alat serupa yang diperlukan untuk menyediakan situs dan layanan. Kami menggunakan cookie performa untuk mengumpulkan statistik anonim sehingga kami dapat memahami cara pelanggan menggunakan situs dan melakukan perbaikan. Cookie penting tidak dapat dinonaktifkan, tetapi Anda dapat mengklik “Kustom” atau “Tolak” untuk menolak cookie performa.

Jika Anda setuju, AWS dan pihak ketiga yang disetujui juga akan menggunakan cookie untuk menyediakan fitur situs yang berguna, mengingat preferensi Anda, dan menampilkan konten yang relevan, termasuk iklan yang relevan. Untuk menerima atau menolak semua cookie yang tidak penting, klik “Terima” atau “Tolak”. Untuk membuat pilihan yang lebih detail, klik “Kustomisasi”.

Using CodeWhisperer with AWS Cloud9 - CodeWhisperer
Halaman ini belum diterjemahkan ke dalam bahasa Anda. Minta terjemahan

CodeWhisperer's features are becoming a part of Amazon Q Developer. Learn more

CodeWhisperer's features are becoming a part of Amazon Q Developer. Learn more

Using CodeWhisperer with AWS Cloud9

AWS Identity and Access Management permissions for AWS Cloud9

For CodeWhisperer to provide recommendations in AWS Cloud9 console, you must enable the correct IAM permissions for either your IAM user or role. You must add the codewhisperer:GenerateRecommendations permission, as outlined in the sample IAM policy below:

{ "Version": "2012-10-17", "Statement": [ { "Sid": "CodeWhispererPermissions", "Effect": "Allow", "Action": ["codewhisperer:GenerateRecommendations"], "Resource": "*" } ] }

It is best practice to use IAM policies to grant restrictive permissions to IAM principals. For details about working with IAM for AWS Cloud9, see Identity and access management in AWS Cloud9 in the AWS Cloud9 user guide.

Activating Amazon CodeWhisperer with AWS Cloud9

To activate CodeWhisperer in the AWS Cloud9 console code editor, complete these steps.

  1. From inside your existing AWS Cloud9 environment, choose the AWS logo on the left edge of the window. A panel will expand rightward.

  2. In the lower part of the panel, under Developer tools, open the CodeWhisperer dropdown.

  3. Choose Enable CodeWhisperer.

For examples of how CodeWhisperer integrates with AWS Cloud9 and displays code suggestions in the AWS Cloud9 IDE, see Code examples.

PrivasiSyarat situsPreferensi cookie
© 2025, Amazon Web Services, Inc. atau afiliasinya. Semua hak dilindungi undang-undang.