{"id":3738,"date":"2026-06-20T12:22:20","date_gmt":"2026-06-20T04:22:20","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/06\/20\/amazon-codewhisperer%ef%bc%9a%e5%85%8d%e8%b4%b9%e4%ba%91%e7%bc%96%e7%a8%8b%e5%ae%89%e5%85%a8%e7%ae%a1%e5%ae%b6\/"},"modified":"2026-06-20T12:22:20","modified_gmt":"2026-06-20T04:22:20","slug":"amazon-codewhisperer%ef%bc%9a%e5%85%8d%e8%b4%b9%e4%ba%91%e7%bc%96%e7%a8%8b%e5%ae%89%e5%85%a8%e7%ae%a1%e5%ae%b6","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/06\/20\/amazon-codewhisperer%ef%bc%9a%e5%85%8d%e8%b4%b9%e4%ba%91%e7%bc%96%e7%a8%8b%e5%ae%89%e5%85%a8%e7%ae%a1%e5%ae%b6\/","title":{"rendered":"Amazon CodeWhisperer\uff1a\u514d\u8d39\u4e91\u7f16\u7a0b\u5b89\u5168\u7ba1\u5bb6"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u662f\u4e2a\u6df1\u5ea6\u7ed1\u5b9a AWS \u7684\u5f00\u53d1\u8005\uff0c\u6216\u8005\u5355\u7eaf\u60f3\u627e\u4e2a\u514d\u8d39\u3001\u4e0d\u9650\u6b21\u6570\u7684 AI \u7f16\u7a0b\u52a9\u624b\uff0cAmazon CodeWhisperer \u53ef\u80fd\u662f\u4f60\u952e\u76d8\u4e0a\u6700\u503c\u5f97\u6309\u4e0b\u7684\u5feb\u6377\u952e\u3002\u8fd9\u6b3e\u7531 AWS \u5b98\u65b9\u51fa\u54c1\u7684\u5de5\u5177\uff0c\u4ece 2023 \u5e74\u6b63\u5f0f GA \u4ee5\u6765\uff0c\u5df2\u7ecf\u9ed8\u9ed8\u79ef\u7d2f\u4e86 15M \u6708\u8bbf\u95ee\u91cf\u2014\u2014\u8fd9\u4e2a\u6570\u5b57\u80cc\u540e\uff0c\u662f\u4e91\u539f\u751f\u5f00\u53d1\u8005\u4eec\u7528\u771f\u673a\u6d4b\u8bd5\u6295\u7968\u7684\u7ed3\u679c\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>CodeWhisperer \u6700\u786c\u6838\u7684\u5dee\u5f02\u5316\uff0c\u5728\u4e8e\u5b83\u628a\u4ee3\u7801\u8865\u5168\u548c\u5b89\u5168\u626b\u63cf\u505a\u6210\u4e86\u53cc\u5f15\u64ce\u3002\u4ee3\u7801\u8865\u5168\u65b9\u9762\uff0c\u5b83\u57fa\u4e8e Amazon \u5185\u90e8\u6570\u5341\u4ebf\u884c\u4ee3\u7801\u8bad\u7ec3\uff0c\u652f\u6301 Python\u3001Java\u3001JavaScript\u3001TypeScript\u3001C\u7b49 15 \u79cd\u4e3b\u6d41\u8bed\u8a00\u3002\u5b9e\u6d4b\u5728 VS Code \u548c JetBrains \u4e2d\uff0c\u5b83\u7684\u8865\u5168\u901f\u5ea6\u5927\u6982\u5728 200ms \u4ee5\u5185\uff0c\u80fd\u6839\u636e\u6ce8\u91ca\u751a\u81f3\u51fd\u6570\u7b7e\u540d\u81ea\u52a8\u751f\u6210\u6574\u6bb5\u903b\u8f91\u3002\u6700\u60ca\u8273\u7684\u662f\u5bf9 AWS SDK \u7684\u8865\u5168\u2014\u2014\u5f53\u4f60\u5199 boto3 \u64cd\u4f5c S3 \u6216 DynamoDB \u65f6\uff0c\u5b83\u51e0\u4e4e\u80fd\u731c\u5230\u4f60\u4e0b\u4e00\u6b65\u8981\u8c03\u54ea\u4e2a API\uff0c\u8fd9\u5728\u4e91\u5f00\u53d1\u573a\u666f\u4e0b\u7b80\u76f4\u662f\u808c\u8089\u8bb0\u5fc6\u7ea7\u522b\u7684\u8f85\u52a9\u3002<\/p>\n<p>\u5b89\u5168\u626b\u63cf\u662f\u514d\u8d39\u7684\u6740\u624b\u950f\u3002\u5b83\u5185\u7f6e\u4e86\u7c7b\u4f3c CodeGuru \u7684\u5b89\u5168\u68c0\u6d4b\u5f15\u64ce\uff0c\u80fd\u5728\u4f60\u5199\u4ee3\u7801\u65f6\u5b9e\u65f6\u6807\u8bb0 SQL \u6ce8\u5165\u3001\u786c\u7f16\u7801\u5bc6\u94a5\u3001IAM \u6743\u9650\u914d\u7f6e\u9519\u8bef\u7b49 80+ \u79cd\u5e38\u89c1\u6f0f\u6d1e\u3002\u626b\u63cf\u8fc7\u7a0b\u5b8c\u5168\u672c\u5730\u5316\uff0c\u4e0d\u4f20\u8f93\u4ee3\u7801\u5230\u4e91\u7aef\uff0c\u8fd9\u5bf9\u4f01\u4e1a\u7ea7\u5f00\u53d1\u8005\u6765\u8bf4\u662f\u4e2a\u5b9a\u5fc3\u4e38\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0cGitHub Copilot \u7684\u5b89\u5168\u626b\u63cf\u662f\u4ed8\u8d39\u7248\u624d\u6709\u7684\u529f\u80fd\uff0c\u800c\u4e14\u9700\u8981\u989d\u5916\u914d\u7f6e\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>\u573a\u666f\u4e00\uff1a\u5199 AWS Lambda \u51fd\u6570\u3002\u5047\u8bbe\u4f60\u8981\u521b\u5efa\u4e00\u4e2a\u5904\u7406 S3 \u65b0\u6587\u4ef6\u7684 Lambda\uff0c\u53ea\u9700\u5728 VS Code \u91cc\u5199\u4e00\u53e5\u6ce8\u91ca\u201c\u4ece S3 \u8bfb\u53d6 CSV \u5e76\u5199\u5165 DynamoDB\u201d\uff0cCodeWhisperer \u5c31\u4f1a\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684 boto3 \u4ee3\u7801\uff0c\u5305\u62ec\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7\u8bb0\u5f55\u3002\u8fd9\u5728\u4e4b\u524d\u9700\u8981\u7ffb API \u6587\u6863\u534a\u5c0f\u65f6\uff0c\u73b0\u5728 10 \u79d2\u641e\u5b9a\u3002<\/p>\n<p>\u573a\u666f\u4e8c\uff1a\u8c03\u8bd5 IAM \u6743\u9650\u3002\u5f88\u591a\u4e91\u5f00\u53d1\u8005\u6700\u5934\u75bc\u7684\u662f\u201cAccess Denied\u201d\u9519\u8bef\u3002CodeWhisperer \u53ef\u4ee5\u5728\u4f60\u5199\u7b56\u7565\u65f6\u81ea\u52a8\u63d0\u793a\u6743\u9650\u8303\u56f4\u8fc7\u5927\u6216\u7f3a\u5931\u7684 Service\uff0c\u751a\u81f3\u76f4\u63a5\u8865\u5168\u6b63\u786e\u7684 ARN \u683c\u5f0f\u3002\u6bd4\u5982\u4f60\u5199\u201cs3:GetObject\u201d\uff0c\u5b83\u4f1a\u5efa\u8bae\u52a0\u4e0a\u201cResource\u201d: \u201carn:aws:s3:::my-bucket\/*\u201d\u3002<\/p>\n<p>\u573a\u666f\u4e09\uff1a\u5b89\u5168\u5ba1\u8ba1\u3002\u5047\u8bbe\u4f60\u63a5\u624b\u4e86\u4e00\u4e2a\u9057\u7559\u9879\u76ee\uff0c\u53ea\u9700\u5728 PyCharm \u4e2d\u6253\u5f00\u4ee3\u7801\uff0cCodeWhisperer \u4f1a\u81ea\u52a8\u626b\u63cf\u51fa\u6240\u6709\u786c\u7f16\u7801\u7684\u6570\u636e\u5e93\u5bc6\u7801\uff0c\u5e76\u9ad8\u4eae\u663e\u793a\u3002\u4f60\u70b9\u4e00\u4e0b\u4fee\u590d\u5efa\u8bae\uff0c\u5b83\u5c31\u76f4\u63a5\u751f\u6210\u8c03\u7528 AWS Secrets Manager \u7684\u4ee3\u7801\u3002\u8fd9\u4e2a\u529f\u80fd\u5bf9\u4e8e\u4f01\u4e1a\u5408\u89c4\u5ba1\u67e5\u6765\u8bf4\uff0c\u80fd\u7701\u6389 80% \u7684\u624b\u52a8\u6392\u67e5\u65f6\u95f4\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u6700\u76f4\u63a5\u7684\u5bf9\u624b\u5f53\u7136\u662f GitHub Copilot\u3002Copilot \u7684\u8865\u5168\u8d28\u91cf\u5728\u901a\u7528\u573a\u666f\u4e0b\u7565\u80dc\u4e00\u7b79\uff0c\u5c24\u5176\u662f\u5bf9\u590d\u6742\u7b97\u6cd5\u548c\u6846\u67b6\u7684\u7406\u89e3\uff08\u6bd4\u5982 React hooks \u6216 PyTorch \u6a21\u578b\uff09\uff0c\u4f46 CodeWhisperer \u5728 AWS \u751f\u6001\u5185\u7684\u8868\u73b0\u662f\u78be\u538b\u7ea7\u7684\u3002Copilot \u7684\u514d\u8d39\u7248\u6709\u6bcf\u6708 2000 \u6b21\u8865\u5168\u9650\u5236\uff0c\u800c CodeWhisperer \u7684\u514d\u8d39\u7248\u5b8c\u5168\u4e0d\u9650\u6b21\u2014\u2014\u8fd9\u5bf9\u4e8e\u65e5\u5747\u5199 500 \u884c\u4ee3\u7801\u7684\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u4e00\u5e74\u80fd\u7701\u4e0b $240 \u7684 Copilot \u8ba2\u9605\u8d39\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u7ade\u54c1\u662f Tabnine\u3002Tabnine \u7684\u5f3a\u9879\u662f\u672c\u5730\u6a21\u578b\u548c\u9690\u79c1\u4fdd\u62a4\uff0c\u4f46\u5b83\u7684\u5b89\u5168\u626b\u63cf\u529f\u80fd\u5f88\u5f31\uff0c\u800c\u4e14\u5bf9 AWS SDK \u7684\u652f\u6301\u57fa\u672c\u4e3a\u96f6\u3002CodeWhisperer \u5219\u76f4\u63a5\u5728 IDE \u91cc\u96c6\u6210\u4e86\u5b89\u5168\u626b\u63cf\uff0c\u4e0d\u7528\u989d\u5916\u914d\u7f6e\u3002\u5982\u679c\u4f60\u65e2\u9700\u8981\u4ee3\u7801\u8865\u5168\u53c8\u9700\u8981\u5b89\u5168\u5ba1\u67e5\uff0cCodeWhisperer \u662f\u552f\u4e00\u4e00\u4e2a\u514d\u8d39\u6253\u5305\u7684\u65b9\u6848\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>\u8fd9\u662f CodeWhisperer \u6700\u5927\u7684\u6740\u62db\uff1a\u4e2a\u4eba\u7248\u5b8c\u5168\u514d\u8d39\uff0c\u4e0d\u9650\u8865\u5168\u6b21\u6570\u3001\u4e0d\u9650\u5b89\u5168\u626b\u63cf\u6b21\u6570\u3002\u4f01\u4e1a\u7248\uff08CodeWhisperer Professional\uff09\u6309\u7528\u6237\u6536\u8d39\uff0c\u6bcf\u6708 $19\/\u4eba\uff0c\u989d\u5916\u63d0\u4f9b\u7ba1\u7406\u63a7\u5236\u53f0\u3001\u7b56\u7565\u5b9a\u5236\u548c VPC \u9694\u79bb\u3002\u5bf9\u6bd4 Copilot \u7684 $10\/\u6708\uff08\u4e2a\u4eba\uff09\u548c $19\/\u6708\uff08\u4f01\u4e1a\uff09\uff0cCodeWhisperer \u7684\u4e2a\u4eba\u514d\u8d39\u7248\u76f4\u63a5\u628a\u7ade\u54c1\u7684\u4ed8\u8d39\u95e8\u69db\u6253\u6ca1\u4e86\u3002\u5982\u679c\u4f60\u662f\u4e2a\u72ec\u7acb\u5f00\u53d1\u8005\u6216\u5c0f\u56e2\u961f\uff0c\u8fd9\u4e2a\u5b9a\u4ef7\u7b49\u4e8e\u767d\u9001\u4e86\u4e00\u4e2a\u5e26\u5b89\u5168\u5ba1\u8ba1\u7684 AI \u52a9\u624b\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u6700\u9002\u5408\uff1aAWS \u91cd\u5ea6\u7528\u6237\u3001\u4e91\u539f\u751f\u5f00\u53d1\u8005\u3001DevOps \u5de5\u7a0b\u5e08\u3001\u5b89\u5168\u5408\u89c4\u5c97\u4f4d\u7684\u5f00\u53d1\u8005\u3002\u5982\u679c\u4f60\u6bcf\u5929\u548c S3\/Lambda\/DynamoDB \u6253\u4ea4\u9053\uff0cCodeWhisperer \u80fd\u8ba9\u4f60\u64cd\u4f5c AWS \u7684\u6548\u7387\u7ffb\u500d\u3002<\/p>\n<p>\u4e0d\u9002\u5408\uff1a\u524d\u7aef\u6846\u67b6\u91cd\u5ea6\u7528\u6237\uff08React\/Vue \u8865\u5168\u8d28\u91cf\u4e0d\u5982 Copilot\uff09\u3001\u975e AWS \u751f\u6001\u7684\u5f00\u53d1\u8005\uff08\u5bf9 GCP\/Azure \u652f\u6301\u51e0\u4e4e\u4e3a\u96f6\uff09\u3001\u9700\u8981\u79bb\u7ebf\u4ee3\u7801\u8865\u5168\u7684\u573a\u666f\uff08CodeWhisperer \u5fc5\u987b\u8054\u7f51\uff09\u3002\u53e6\u5916\uff0c\u5982\u679c\u4f60\u7684\u4ee3\u7801\u5e93\u4e3b\u8981\u7528 Ruby \u6216 PHP\uff0c\u5b83\u7684\u652f\u6301\u5ea6\u6bd4\u8f83\u5f31\u3002<\/p>\n<p>\u901a\u8fc7 AI\u521b\u4f5c\u793e \u5bf9\u8be5\u5de5\u5177\u751f\u6210\u7684\u4f5c\u54c1\u8fdb\u884c\u7248\u6743\u5b58\u8bc1\uff0c\u53ef\u83b7\u5f97\u5b8c\u6574\u7684\u521b\u4f5c\u8fc7\u7a0b\u8bc1\u660e\u94fe\uff0c\u6709\u6548\u4fdd\u62a4\u6570\u5b57\u8d44\u4ea7\u3002<\/p>\n<p>PM \u6d4b\u8bc4\u7ed3\u8bba<\/p>\n<p>\u63a8\u8350\u6307\u6570\uff1a\u2605\u2605\u2605\u2605\u2606<\/p>\n<p>\u4e00\u53e5\u8bdd\u63a8\u8350\u7406\u7531\uff1a\u4e91\u5f00\u53d1\u8005\u7684\u514d\u8d39\u5b89\u5168\u8865\u5168\u5229\u5668\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4e91\u539f\u751f\u5f00\u53d1\/\u5b89\u5168\u5ba1\u8ba1\/AWS\u5de5\u5177\u94fe<\/p>\n<p>&#8212;<br \/>\n**\u7248\u6743\u63d0\u793a**\uff1a\u4f7f\u7528\u8be5\u5de5\u5177\u521b\u4f5c\u540e\uff0c\u8bf7\u52a1\u5fc5\u524d\u5f80 [AI\u521b\u4f5c\u793e](https:\/\/www.aichuangzuoshe.com) \u8fdb\u884c\u7248\u6743\u5b58\u8bc1\uff0c\u83b7\u53d6\u5177\u6709\u6cd5\u5f8b\u6548\u529b\u7684\u521b\u4f5c\u65f6\u95f4\u6233\uff0c\u6709\u6548\u4fdd\u62a4\u60a8\u7684\u6570\u5b57\u4f5c\u54c1\u6743\u76ca\u3002<\/p>\n<p>&#8212;<br \/>\n\u672c\u6587\u6536\u5f55\u5de5\u5177\u7ecf **[AI\u521b\u4f5c\u793e](https:\/\/aichuangzuoshe.com) \u7248\u6743\u4fdd\u62a4\u534f\u8bae**\u8ba4\u8bc1\u3002\u8be5\u5de5\u5177\u751f\u6210\u7684\u4f5c\u54c1\u5df2\u63a5\u5165 AI \u521b\u4f5c\u793e\u7248\u6743\u4fdd\u62a4\u901a\u9053\uff0c\u4f7f\u7528 AI \u521b\u4f5c\u793e\u53ef\u5bf9\u60a8\u7684\u6570\u5b57\u4f5c\u54c1\u8fdb\u884c\u4e00\u952e\u5b58\u8bc1\uff0c\u4fdd\u62a4\u521b\u4f5c\u6743\u76ca\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e09\u79d2\u949f\u770b\u61c2\uff1a\u514d\u8d39\u4e0d\u9650\u6b21 AI \u7f16\u7a0b\uff0c\u5185\u7f6e\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\uff0cAWS \u4e91\u5f00\u53d1\u8005\u5373\u5f00\u5373\u7528\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_ai_cert_trace_id":"","_ai_cert_hash":"","_ai_cert_time":"","footnotes":""},"categories":[62],"tags":[925,145,416],"class_list":["post-3738","post","type-post","status-publish","format-standard","hentry","category-ai","tag-aws","tag-145","tag-416"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/3738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/comments?post=3738"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/3738\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=3738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=3738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=3738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}