{"id":2676,"date":"2026-05-30T12:18:35","date_gmt":"2026-05-30T04:18:35","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/30\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e4%bb%a3%e7%a0%81%e5%ae%89%e5%85%a8\/"},"modified":"2026-05-30T12:18:35","modified_gmt":"2026-05-30T04:18:35","slug":"amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e4%bb%a3%e7%a0%81%e5%ae%89%e5%85%a8","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/30\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e4%bb%a3%e7%a0%81%e5%ae%89%e5%85%a8\/","title":{"rendered":"Amazon CodeWhisperer\uff1a\u4e91\u5f00\u53d1\u8005\u7684\u4ee3\u7801\u5b89\u5168"},"content":{"rendered":"<p>\u6df1\u5ea6\u8bc4\u6d4b\u6b63\u6587<\/p>\n<p>\u63d0\u5230AI\u7f16\u7a0b\u52a9\u624b\uff0c\u5927\u5bb6\u7b2c\u4e00\u53cd\u5e94\u80af\u5b9a\u662fGitHub Copilot\u3002\u4f46AWS\u641e\u51fa\u7684\u8fd9\u4e2aCodeWhisperer\uff0c\u7edd\u5bf9\u662f\u4e2a\u88ab\u4f4e\u4f30\u7684\u72e0\u89d2\u8272\u3002\u4f5c\u4e3aAWS\u5b98\u65b9\u51fa\u54c1\u7684AI\u7f16\u7a0b\u5de5\u5177\uff0c\u5b83\u6700\u5927\u7684\u6740\u62db\u5c31\u662f\u514d\u8d39\u7248\u4e0d\u9650\u6b21\u6570\uff0c\u800c\u4e14\u5185\u7f6e\u4e86\u5b89\u5168\u626b\u63cf\u529f\u80fd\uff0c\u8fd9\u5728\u540c\u7c7b\u5de5\u5177\u91cc\u51e0\u4e4e\u662f\u72ec\u4e00\u4efd\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>CodeWhisperer\u57fa\u4e8e\u4e9a\u9a6c\u900a\u81ea\u5df1\u8bad\u7ec3\u7684\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff0c\u4e13\u95e8\u9488\u5bf9AWS\u670d\u52a1\u505a\u4e86\u6df1\u5ea6\u4f18\u5316\u3002\u5b83\u652f\u6301Python\u3001Java\u3001JavaScript\u3001TypeScript\u3001C#\u3001Go\u3001Rust\u3001Kotlin\u3001PHP\u3001C++\u3001SQL\u7b4915\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u8986\u76d6\u4e86\u4e3b\u6d41\u5f00\u53d1\u573a\u666f\u3002\u5b9e\u6d4b\u4e0b\u6765\uff0c\u5728VS Code\u3001IntelliJ IDEA\u3001PyCharm\u3001Visual Studio\u3001AWS Cloud9\u8fd9\u4e9bIDE\u91cc\u90fd\u80fd\u65e0\u7f1d\u96c6\u6210\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e5f\u5c31\u4e24\u4e09\u5206\u949f\u3002<\/p>\n<p>\u6280\u672f\u6307\u6807\u4e0a\uff0cCodeWhisperer\u7684\u4ee3\u7801\u8865\u5168\u901f\u5ea6\u5e73\u5747\u57280.2\u79d2\u4ee5\u5185\uff0c\u4e0a\u4e0b\u6587\u7406\u89e3\u80fd\u529b\u80fd\u8ffd\u8e2a\u5f53\u524d\u6587\u4ef6\u4ee5\u53ca\u540c\u9879\u76ee\u5185\u6700\u591a5\u4e2a\u76f8\u5173\u6587\u4ef6\u3002\u6700\u786c\u6838\u7684\u662f\u5b83\u7684\u5b89\u5168\u626b\u63cf\u529f\u80fd\u2014\u2014\u80fd\u5b9e\u65f6\u68c0\u6d4b\u4ee3\u7801\u4e2d\u7684\u5b89\u5168\u6f0f\u6d1e\uff0c\u6bd4\u5982OWASP Top 10\u91cc\u7684SQL\u6ce8\u5165\u3001\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u3001\u786c\u7f16\u7801\u5bc6\u94a5\u7b49\uff0c\u626b\u63cf\u7ed3\u679c\u76f4\u63a5\u6807\u6ce8\u95ee\u9898\u4ee3\u7801\u884c\uff0c\u5e76\u7ed9\u51fa\u4fee\u590d\u5efa\u8bae\u3002\u8fd9\u529f\u80fd\u5728Copilot\u91cc\u53ef\u662f\u8981\u4ed8\u8d39\u7684Snyk\u96c6\u6210\u624d\u80fd\u505a\u5230\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>\u573a\u666f\u4e00\uff1aAWS Lambda\u51fd\u6570\u5f00\u53d1\u3002\u6211\u5728\u5199\u4e00\u4e2a\u5904\u7406S3\u4e8b\u4ef6\u7684Lambda\u51fd\u6570\u65f6\uff0cCodeWhisperer\u80fd\u6839\u636e\u51fd\u6570\u7b7e\u540d\u81ea\u52a8\u8865\u5168boto3\u7684API\u8c03\u7528\uff0c\u5305\u62ec\u5982\u4f55\u8fde\u63a5S3\u3001\u5904\u7406\u4e8b\u4ef6\u8bb0\u5f55\u3001\u8fd4\u56de\u54cd\u5e94\u3002\u6bd4\u5982\u6211\u8f93\u5165\u201cdef handler(event, context):\u201d\uff0c\u5b83\u7acb\u523b\u7ed9\u51fa\u8bfb\u53d6S3\u5bf9\u8c61\u5185\u5bb9\u7684\u5b8c\u6574\u4ee3\u7801\u5757\uff0c\u8282\u7701\u4e86\u67e5\u6587\u6863\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u573a\u666f\u4e8c\uff1a\u540e\u7aefAPI\u5b89\u5168\u52a0\u56fa\u3002\u5199\u4e00\u4e2a\u7528\u6237\u6ce8\u518c\u63a5\u53e3\u65f6\uff0cCodeWhisperer\u4e0d\u4ec5\u8865\u5168\u4e86Flask\u8def\u7531\uff0c\u8fd8\u81ea\u52a8\u68c0\u6d4b\u5230\u6211\u7528\u5b57\u7b26\u4e32\u62fc\u63a5SQL\u67e5\u8be2\uff0c\u76f4\u63a5\u5f39\u51fa\u5b89\u5168\u8b66\u544a\u5e76\u63a8\u8350\u4f7f\u7528\u53c2\u6570\u5316\u67e5\u8be2\u3002\u8fd9\u529f\u80fd\u5728\u91d1\u878d\u3001\u533b\u7597\u7c7b\u9879\u76ee\u91cc\u7b80\u76f4\u662f\u6551\u547d\u795e\u5668\u3002<\/p>\n<p>\u573a\u666f\u4e09\uff1a\u591a\u8bed\u8a00\u5fae\u670d\u52a1\u5f00\u53d1\u3002\u6211\u5728\u4e00\u4e2a\u9879\u76ee\u91cc\u540c\u65f6\u7528Java\u5199Spring Boot\u670d\u52a1\u3001\u7528Python\u5199\u6570\u636e\u5904\u7406\u811a\u672c\u3001\u7528TypeScript\u5199\u524d\u7aef\u63a5\u53e3\uff0cCodeWhisperer\u80fd\u5728\u4e09\u4e2aIDE\u7a97\u53e3\u95f4\u65e0\u7f1d\u5207\u6362\uff0c\u800c\u4e14\u6bcf\u4e2a\u8bed\u8a00\u90fd\u80fd\u4fdd\u6301\u9ad8\u51c6\u786e\u7387\u7684\u8865\u5168\u3002\u8de8\u8bed\u8a00\u5f00\u53d1\u65f6\uff0c\u5b83\u751a\u81f3\u80fd\u6839\u636e\u6ce8\u91ca\u4e2d\u7684\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u751f\u6210\u4ee3\u7801\u7247\u6bb5\uff0c\u6bd4\u5982\u201c\/\/ \u7528JWT\u751f\u6210token\u201d\uff0c\u5b83\u5c31\u7ed9\u51fa\u5b8c\u6574\u7684Java\u5b9e\u73b0\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u76f4\u63a5\u62ffGitHub Copilot\u6765\u6bd4\u3002Copilot\u7684\u4ee3\u7801\u8865\u5168\u8d28\u91cf\u786e\u5b9e\u7565\u9ad8\uff0c\u5c24\u5176\u662f\u5728\u590d\u6742\u7b97\u6cd5\u548c\u7f55\u89c1\u573a\u666f\u4e0b\uff0c\u4f46CodeWhisperer\u5728AWS\u751f\u6001\u5185\u5b8c\u80dc\u3002\u6bd4\u5982\u5199DynamoDB\u67e5\u8be2\u3001SQS\u6d88\u606f\u5904\u7406\u3001CloudFormation\u6a21\u677f\u65f6\uff0cCodeWhisperer\u7684\u8865\u5168\u51c6\u786e\u7387\u660e\u663e\u9ad8\u4e8eCopilot\uff0c\u56e0\u4e3a\u5b83\u7684\u8bad\u7ec3\u6570\u636e\u91ccAWS\u76f8\u5173\u4ee3\u7801\u5360\u6bd4\u66f4\u9ad8\u3002<\/p>\n<p>\u5b89\u5168\u626b\u63cf\u662fCodeWhisperer\u7684\u7edd\u5bf9\u62a4\u57ce\u6cb3\u3002Copilot\u672c\u8eab\u6ca1\u6709\u5185\u7f6e\u5b89\u5168\u68c0\u6d4b\uff0c\u8981\u642d\u914dSnyk\u6216SonarQube\uff0c\u800c\u8fd9\u4e9b\u5de5\u5177\u901a\u5e38\u9700\u8981\u989d\u5916\u4ed8\u8d39\u3002CodeWhisperer\u76f4\u63a5\u514d\u8d39\u9001\uff0c\u800c\u4e14\u626b\u63cf\u89c4\u5219\u57fa\u4e8eAWS Security Hub\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u5bf9\u4e91\u539f\u751f\u5e94\u7528\u7279\u522b\u53cb\u597d\u3002<\/p>\n<p>\u514d\u8d39\u7b56\u7565\u4e0a\uff0cCodeWhisperer\u4e2a\u4eba\u7248\u5b8c\u5168\u514d\u8d39\uff0c\u4e0d\u9650\u4ee3\u7801\u8865\u5168\u6b21\u6570\uff0c\u800cCopilot\u514d\u8d39\u7248\u6bcf\u6708\u53ea\u67092000\u6b21\u8865\u5168\uff0c\u8d85\u8fc7\u5c31\u5f97\u4ed8\u8d39\u3002\u4e0d\u8fc7\u4e13\u4e1a\u7248CodeWhisperer\u898120\u7f8e\u5143\/\u6708\uff0c\u6bd4Copilot\u768410\u7f8e\u5143\/\u6708\u8d35\u4e00\u500d\uff0c\u4f46\u591a\u4e86\u5b89\u5168\u626b\u63cf\u548c\u5f15\u7528\u65e5\u5fd7\u529f\u80fd\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>\u4e2a\u4eba\u5f00\u53d1\u8005\u76f4\u63a5\u9009\u514d\u8d39\u7248\u5c31\u591f\u7528\uff0c\u65e0\u9650\u6b21\u8865\u5168+\u5b89\u5168\u626b\u63cf\uff0c\u7b49\u4e8e\u767d\u5ad6\u4e00\u4e2aCopilot Pro\u7684\u66ff\u4ee3\u54c1\u3002\u4e13\u4e1a\u724820\u7f8e\u5143\/\u6708\u6709\u70b9\u8d35\uff0c\u4f46\u5982\u679c\u4f60\u5728AWS\u4e0a\u90e8\u7f72\u751f\u4ea7\u73af\u5883\uff0c\u5b89\u5168\u626b\u63cf\u80fd\u5e2e\u4f60\u907f\u514d\u51e0\u4e07\u7f8e\u91d1\u7684\u6570\u636e\u6cc4\u9732\u635f\u5931\uff0c\u6027\u4ef7\u6bd4\u53cd\u800c\u5f88\u9ad8\u3002\u4f01\u4e1a\u7248\u4ef7\u683c\u9700\u8981\u8054\u7cfb\u9500\u552e\uff0c\u4f46\u652f\u6301SSO\u548c\u5ba1\u8ba1\u65e5\u5fd7\uff0c\u9002\u5408\u5408\u89c4\u8981\u6c42\u9ad8\u7684\u516c\u53f8\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\uff1aAWS\u5f00\u53d1\u8005\u3001\u4e91\u539f\u751f\u5e94\u7528\u5f00\u53d1\u8005\u3001\u9700\u8981\u5b89\u5168\u626b\u63cf\u7684\u56e2\u961f\u3001\u9884\u7b97\u654f\u611f\u7684\u4e2a\u4eba\u5f00\u53d1\u8005\u3002\u5982\u679c\u4f60\u6bcf\u5929\u5199\u5927\u91cfAWS\u76f8\u5173\u4ee3\u7801\uff0c\u6216\u8005\u9879\u76ee\u6709\u5b89\u5168\u5408\u89c4\u9700\u6c42\uff0cCodeWhisperer\u5c31\u662f\u4f60\u7684\u4e13\u5c5e\u5916\u6302\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u4eba\u7fa4\uff1a\u5b8c\u5168\u4e0d\u78b0AWS\u751f\u6001\u7684\u5168\u6808\u5f00\u53d1\u8005\u3001\u8ffd\u6c42\u6781\u81f4\u4ee3\u7801\u8d28\u91cf\u7684\u7b97\u6cd5\u5de5\u7a0b\u5e08\u3001\u5df2\u7ecf\u4e70\u4e86Copilot\u4e14\u4e0d\u60f3\u6362\u7684\u56e2\u961f\u3002\u5982\u679c\u4f60\u4e3b\u8981\u5199\u524d\u7aef\u6216\u7eaf\u540e\u7aef\u975e\u4e91\u5e94\u7528\uff0cCopilot\u6216Tabnine\u53ef\u80fd\u66f4\u5408\u9002\u3002<\/p>\n<p>\u5b58\u8bc1\u4ef7\u503c\u63d0\u793a\uff1a\u5982\u679c\u4f7f\u7528CodeWhisperer\u751f\u6210\u7684\u4ee3\u7801\u6709\u5546\u4e1a\u4ef7\u503c\u6216\u7248\u6743\u5f52\u5c5e\u4e89\u8bae\uff0c\u901a\u8fc7AI\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\u514d\u8d39\u5b89\u5168\u626b\u63cf\uff0cAWS\u751f\u6001\u6700\u5f3aAI\u7f16\u7a0b\u642d\u6863\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4e91\u5f00\u53d1, \u4ee3\u7801\u5b89\u5168, AWS\u751f\u6001<\/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<p>> **\u26a0\ufe0f \u7248\u6743\u63d0\u793a**\uff1a\u672c\u5de5\u5177\u751f\u6210\u7684\u56fe\u50cf\/\u89c6\u9891\/\u97f3\u4e50\u4f5c\u54c1\u6d89\u53ca\u7248\u6743\u5f52\u5c5e\u95ee\u9898\u3002\u5efa\u8bae\u901a\u8fc7 **[AI\u521b\u4f5c\u793e](https:\/\/aichuangzuoshe.com)** \u5bf9\u60a8\u7684 AI \u521b\u4f5c\u8fdb\u884c\u53f8\u6cd5\u5b58\u8bc1\uff0c\u83b7\u53d6\u5177\u6709\u6cd5\u5f8b\u6548\u529b\u7684\u521b\u4f5c\u65f6\u95f4\u6233\u8bc1\u660e\uff0c\u6709\u6548\u5e94\u5bf9\u4fb5\u6743\u7ea0\u7eb7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e09\u79d2\u949f\u770b\u61c2\uff1a\u514d\u8d39\u65e0\u9650\u6b21\u4ee3\u7801\u8865\u5168\uff0c\u5185\u7f6e\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\uff0cAWS\u751f\u6001\u5f00\u53d1\u8005\u5fc5\u5907\u7684AI\u7f16\u7a0b\u642d\u6863\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-2676","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\/2676","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=2676"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2676\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}