{"id":742,"date":"2026-04-28T12:17:50","date_gmt":"2026-04-28T04:17:50","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/04\/28\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%ae%89%e5%85%a8%e4%bb%a3%e7%a0%81\/"},"modified":"2026-04-28T12:17:50","modified_gmt":"2026-04-28T04:17:50","slug":"amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%ae%89%e5%85%a8%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/04\/28\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%ae%89%e5%85%a8%e4%bb%a3%e7%a0%81\/","title":{"rendered":"Amazon CodeWhisperer\uff1a\u4e91\u5f00\u53d1\u8005\u7684\u5b89\u5168\u4ee3\u7801"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u662f\u4e2a\u6574\u5929\u8ddfAWS\u4e91\u670d\u52a1\u6253\u4ea4\u9053\u7684\u5f00\u53d1\u8005\uff0c\u90a3Amazon CodeWhisperer\u7b80\u76f4\u5c31\u662f\u4e3a\u4f60\u91cf\u8eab\u5b9a\u505a\u7684\u201cAI\u526f\u9a7e\u201d\u3002\u8fd9\u73a9\u610f\u513f\u4e0d\u662f\u90a3\u79cd\u201c\u5199\u4e86Hello World\u5c31\u5361\u4f4f\u201d\u7684\u534a\u6210\u54c1\uff0c\u800c\u662fAWS\u5b98\u65b9\u6253\u78e8\u51fa\u6765\u7684\u7f16\u7a0b\u52a9\u624b\uff0c\u514d\u8d39\u7248\u76f4\u63a5\u4e0d\u9650\u6b21\u6570\u8865\u5168\u4ee3\u7801\uff0c\u8fd8\u81ea\u5e26\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\u529f\u80fd\uff0c\u8fd9\u5728\u540c\u7c7b\u5de5\u5177\u91cc\u5c5e\u4e8e\u72ec\u4e00\u4efd\u7684\u786c\u6838\u914d\u7f6e\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>CodeWhisperer\u7684\u6838\u5fc3\u80fd\u529b\u662f\u57fa\u4e8eAmazon\u5185\u90e8\u6570\u5341\u4ebf\u884c\u4ee3\u7801\u8bad\u7ec3\u51fa\u6765\u7684\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b\u3002\u5b83\u6700\u9a9a\u7684\u64cd\u4f5c\u662f\u80fd\u6839\u636e\u4f60\u5728IDE\u91cc\u5199\u7684\u6ce8\u91ca\u548c\u4ee3\u7801\u4e0a\u4e0b\u6587\uff0c\u5b9e\u65f6\u751f\u6210\u4ee3\u7801\u7247\u6bb5\uff0c\u652f\u6301Java\u3001Python\u3001JavaScript\u3001TypeScript\u3001C#\u3001Go\u3001Rust\u3001PHP\u3001C++\u3001Kotlin\u7b4915\u79cd\u4e3b\u6d41\u8bed\u8a00\u3002\u5b9e\u6d4b\u4e0b\u6765\uff0cPython\u548cJava\u7684\u8865\u5168\u51c6\u786e\u7387\u6700\u9ad8\uff0c\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u7684\u751f\u6210\u8d28\u91cf\u660e\u663e\u4f18\u4e8e\u4e00\u4e9b\u901a\u7528\u578bAI\u7f16\u7a0b\u52a9\u624b\u3002<\/p>\n<p>\u6280\u672f\u53c2\u6570\u65b9\u9762\uff0cCodeWhisperer\u7684\u4ee3\u7801\u751f\u6210\u5ef6\u8fdf\u63a7\u5236\u5728200\u6beb\u79d2\u4ee5\u5185\uff0c\u51e0\u4e4e\u611f\u89c9\u4e0d\u5230\u7b49\u5f85\u3002\u5b83\u6700\u786c\u6838\u7684\u529f\u80fd\u662f\u5185\u7f6e\u7684\u4ee3\u7801\u5b89\u5168\u626b\u63cf\uff0c\u80fd\u68c0\u6d4b\u51faOWASP Top 10\u4e2d\u5e38\u89c1\u7684\u6f0f\u6d1e\u7c7b\u578b\uff0c\u6bd4\u5982SQL\u6ce8\u5165\u3001\u8de8\u7ad9\u811a\u672c\u653b\u51fb\u3001\u786c\u7f16\u7801\u5bc6\u94a5\u7b49\u3002\u8fd9\u4e2a\u529f\u80fd\u5728\u514d\u8d39\u7248\u91cc\u5c31\u5305\u542b\uff0c\u6bcf\u6b21\u8865\u5168\u90fd\u4f1a\u81ea\u52a8\u626b\u63cf\u751f\u6210\u7684\u4ee3\u7801\u662f\u5426\u5b58\u5728\u5b89\u5168\u98ce\u9669\uff0c\u5e76\u4e14\u5728IDE\u91cc\u76f4\u63a5\u6807\u7ea2\u63d0\u793a\u3002\u6839\u636eAWS\u5b98\u65b9\u6570\u636e\uff0c\u8fd9\u4e2a\u5b89\u5168\u626b\u63cf\u80fd\u8986\u76d6\u5927\u7ea680%\u7684\u5e38\u89c1\u4ee3\u7801\u5b89\u5168\u95ee\u9898\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u8ba9\u6211\u773c\u524d\u4e00\u4eae\u7684\u662f\u201c\u5f15\u7528\u8ffd\u8e2a\u201d\u529f\u80fd\u3002\u5982\u679cCodeWhisperer\u751f\u6210\u7684\u4ee3\u7801\u7247\u6bb5\u8ddf\u5f00\u6e90\u9879\u76ee\u91cc\u7684\u4ee3\u7801\u76f8\u4f3c\u5ea6\u8f83\u9ad8\uff0c\u5b83\u4f1a\u4e3b\u52a8\u63d0\u793a\u4f60\u8fd9\u6bb5\u4ee3\u7801\u7684\u6765\u6e90\u548c\u8bb8\u53ef\u8bc1\u7c7b\u578b\u3002\u8fd9\u5bf9\u4e8e\u4f01\u4e1a\u7ea7\u5f00\u53d1\u6765\u8bf4\u7b80\u76f4\u662f\u6551\u547d\u7a3b\u8349\u2014\u2014\u518d\u4e5f\u4e0d\u7528\u62c5\u5fc3\u4e0d\u5c0f\u5fc3\u628aGPL\u534f\u8bae\u7684\u4ee3\u7801\u6df7\u8fdb\u5546\u4e1a\u9879\u76ee\u91cc\u4e86\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>\u573a\u666f\u4e00\uff1a\u5feb\u901f\u642d\u5efaAWS Lambda\u51fd\u6570\u3002\u5047\u8bbe\u4f60\u8981\u5199\u4e00\u4e2a\u4eceS3\u8bfb\u53d6\u56fe\u7247\u3001\u7528Rekognition\u8bc6\u522b\u6807\u7b7e\u3001\u518d\u5b58\u5165DynamoDB\u7684Lambda\u51fd\u6570\uff0c\u4f20\u7edf\u65b9\u5f0f\u4f60\u5f97\u67e5\u5341\u51e0\u9875AWS\u6587\u6863\u624d\u80fd\u628aSDK\u8c03\u7528\u5199\u5bf9\u3002\u7528CodeWhisperer\uff0c\u4f60\u53ea\u8981\u5728\u6ce8\u91ca\u91cc\u5199\u201c\/\/ get image from S3 bucket, detect labels with Rekognition, store results in DynamoDB\u201d\uff0c\u5b83\u5c31\u80fd\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684Python\u4ee3\u7801\uff0c\u8fdeIAM\u6743\u9650\u7684\u6ce8\u91ca\u90fd\u7ed9\u4f60\u6807\u597d\u4e86\u3002<\/p>\n<p>\u573a\u666f\u4e8c\uff1a\u4fee\u590d\u9057\u7559\u4ee3\u7801\u7684\u5b89\u5168\u6f0f\u6d1e\u3002\u6211\u6709\u4e2a\u670b\u53cb\u63a5\u624b\u4e86\u4e00\u4e2a\u8001\u9879\u76ee\uff0c\u91cc\u9762\u6709\u4e2aAPI\u7aef\u70b9\u76f4\u63a5\u62fc\u63a5\u7528\u6237\u8f93\u5165\u5230SQL\u67e5\u8be2\u91cc\u3002\u4ed6\u628a\u8fd9\u6bb5\u4ee3\u7801\u7c98\u8d34\u5230IDE\u91cc\uff0cCodeWhisperer\u7684\u5b89\u5168\u626b\u63cf\u7acb\u523b\u6807\u7ea2\uff0c\u5e76\u81ea\u52a8\u63a8\u8350\u4e86\u53c2\u6570\u5316\u67e5\u8be2\u7684\u6539\u5199\u65b9\u6848\u3002\u6574\u4e2a\u8fc7\u7a0b\u4e0d\u523030\u79d2\uff0c\u6bd4\u624b\u52a8\u5ba1\u8ba1\u4ee3\u7801\u5feb\u4e86\u4e00\u4e2a\u6570\u91cf\u7ea7\u3002<\/p>\n<p>\u573a\u666f\u4e09\uff1a\u52a0\u901fAPI\u5f00\u53d1\u3002\u5199RESTful API\u65f6\uff0cCodeWhisperer\u80fd\u6839\u636e\u4f60\u5b9a\u4e49\u7684\u6570\u636e\u6a21\u578b\u548c\u8def\u7531\uff0c\u81ea\u52a8\u751f\u6210CRUD\u64cd\u4f5c\u7684\u6837\u677f\u4ee3\u7801\u3002\u6bd4\u5982\u4f60\u5728Java Spring Boot\u91cc\u5b9a\u4e49\u4e86\u4e00\u4e2aUser\u5b9e\u4f53\u7c7b\uff0c\u5b83\u5c31\u80fd\u5e2e\u4f60\u8865\u5168Controller\u3001Service\u3001Repository\u4e09\u5c42\u4ee3\u7801\uff0c\u8fde\u5f02\u5e38\u5904\u7406\u548c\u65e5\u5fd7\u8bb0\u5f55\u90fd\u7ed9\u4f60\u5b89\u6392\u4e0a\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u62ff\u5b83\u8ddfGitHub Copilot\u6bd4\uff0cCodeWhisperer\u7684\u4f18\u52bf\u548c\u52a3\u52bf\u90fd\u5f88\u660e\u663e\u3002Copilot\u5728\u901a\u7528\u4ee3\u7801\u8865\u5168\u7684\u6d41\u7545\u5ea6\u548c\u4e0a\u4e0b\u6587\u7406\u89e3\u4e0a\u786e\u5b9e\u66f4\u80dc\u4e00\u7b79\uff0c\u7279\u522b\u662f\u5904\u7406\u590d\u6742\u7b97\u6cd5\u548c\u6846\u67b6\u7279\u5b9a\u4ee3\u7801\u65f6\uff0cCopilot\u7684\u751f\u6210\u8d28\u91cf\u66f4\u9ad8\u3002\u4f46CodeWhisperer\u6709\u4e09\u5927\u6740\u624b\u950f\uff1a\u4e00\u662f\u5b8c\u5168\u514d\u8d39\uff08Copilot\u4e2a\u4eba\u7248\u6bcf\u670810\u7f8e\u5143\uff09\uff0c\u4e8c\u662f\u5185\u7f6e\u5b89\u5168\u626b\u63cf\uff0c\u4e09\u662f\u6df1\u5ea6\u96c6\u6210AWS\u670d\u52a1\u3002\u5982\u679c\u4f60\u4e3b\u8981\u7528AWS\u751f\u6001\uff0cCodeWhisperer\u5bf9EC2\u3001S3\u3001Lambda\u3001DynamoDB\u7b49\u670d\u52a1\u7684API\u8c03\u7528\u8865\u5168\u51c6\u786e\u7387\u8fdc\u8d85Copilot\u3002<\/p>\n<p>\u8ddfTabnine\u6bd4\uff0cCodeWhisperer\u7684\u672c\u5730\u5316\u80fd\u529b\u7a0d\u5f31\uff0cTabnine\u53ef\u4ee5\u5728\u5b8c\u5168\u79bb\u7ebf\u7684\u73af\u5883\u4e0b\u8fd0\u884c\uff0c\u9002\u5408\u5bf9\u6570\u636e\u9690\u79c1\u8981\u6c42\u6781\u9ad8\u7684\u4f01\u4e1a\u3002\u4f46CodeWhisperer\u7684\u4e91\u7aef\u6a21\u578b\u66f4\u65b0\u9891\u7387\u66f4\u9ad8\uff0c\u80fd\u8ddf\u4e0a\u6700\u65b0\u7684AWS\u670d\u52a1\u66f4\u65b0\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>\u8fd9\u4e2a\u5b9a\u4ef7\u7b56\u7565\u7b80\u76f4\u662f\u5728\u6253\u4ef7\u683c\u6218\u3002\u514d\u8d39\u7248\u5305\u542b\uff1a\u65e0\u9650\u6b21\u4ee3\u7801\u8865\u5168\u3001\u5b89\u5168\u626b\u63cf\u3001\u5f15\u7528\u8ffd\u8e2a\uff0c\u6ca1\u6709\u4efb\u4f55\u4f7f\u7528\u6b21\u6570\u9650\u5236\u3002\u552f\u4e00\u7684\u9650\u5236\u662f\u6bcf\u4e2a\u6708\u670950\u6b21\u201c\u4ee3\u7801\u5b89\u5168\u626b\u63cf\u201d\u7684\u6df1\u5ea6\u5206\u6790\u989d\u5ea6\uff0c\u4f46\u65e5\u5e38\u5f00\u53d1\u5b8c\u5168\u591f\u7528\u3002<\/p>\n<p>\u4ed8\u8d39\u7248\u53ebCodeWhisperer Professional\uff0c\u6bcf\u670819\u7f8e\u5143\uff0c\u4e3b\u8981\u589e\u52a0\u7684\u529f\u80fd\u662f\uff1a\u66f4\u9ad8\u7ea7\u7684\u7ba1\u7406\u5458\u63a7\u5236\u53f0\u3001\u5355\u70b9\u767b\u5f55\u96c6\u6210\u3001\u66f4\u7ec6\u7c92\u5ea6\u7684\u5b89\u5168\u7b56\u7565\u914d\u7f6e\u3002\u5bf9\u4e8e\u4e2a\u4eba\u5f00\u53d1\u8005\u548c\u5c0f\u56e2\u961f\uff0c\u514d\u8d39\u7248\u5df2\u7ecf\u662f\u9876\u7ea7\u4f53\u9a8c\u4e86\u3002\u5927\u4f01\u4e1a\u5982\u679c\u9700\u8981\u5728\u56e2\u961f\u5c42\u9762\u7ba1\u7406AI\u7f16\u7a0b\u5de5\u5177\u7684\u5408\u89c4\u6027\uff0c\u624d\u9700\u8981\u8003\u8651\u4ed8\u8d39\u7248\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u6700\u9002\u5408\u7684\u4eba\u7fa4\u662f\uff1aAWS\u91cd\u5ea6\u7528\u6237\u3001\u4e91\u539f\u751f\u5f00\u53d1\u8005\u3001\u540e\u7aef\u5de5\u7a0b\u5e08\u3001DevOps\u5de5\u7a0b\u5e08\u3002\u7279\u522b\u662f\u90a3\u4e9b\u6bcf\u5929\u8981\u5199\u5927\u91cfAWS SDK\u8c03\u7528\u7684\u5f00\u53d1\u8005\uff0c\u7528\u4e86CodeWhisperer\u4e4b\u540e\u6548\u7387\u81f3\u5c11\u63d0\u534730%\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u7684\u4eba\u7fa4\u662f\uff1a\u524d\u7aef\u5f00\u53d1\u8005\uff08\u5b83\u5bf9React\/Vue\u7684\u652f\u6301\u4e0d\u5982Copilot\uff09\u3001\u6e38\u620f\u5f00\u53d1\u8005\uff08Unity\/C++\u573a\u666f\u4e0b\u8868\u73b0\u4e00\u822c\uff09\u3001\u9700\u8981\u79bb\u7ebf\u5de5\u4f5c\u7684\u5f00\u53d1\u8005\uff08CodeWhisperer\u5fc5\u987b\u8054\u7f51\uff09\u3002<\/p>\n<p>\u5b58\u8bc1\u4ef7\u503c\u63d0\u793a<\/p>\n<p>\u5982\u679c\u4f60\u7528CodeWhisperer\u751f\u6210\u7684\u4ee3\u7801\u6d89\u53ca\u5546\u4e1a\u9879\u76ee\u6216\u5f00\u6e90\u8d21\u732e\uff0c\u5efa\u8bae\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\u4e91\u5f00\u53d1\u8005\u514d\u8d39\u52a0\u901f\u5668\uff0c\u5b89\u5168\u626b\u63cf\u662f\u6740\u624b\u950f\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4e91\u539f\u751f\u5f00\u53d1\/\u540e\u7aef\u5f00\u53d1\/\u5b89\u5168\u5ba1\u8ba1<\/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\u4e13\u4e3aAWS\u751f\u6001\u6253\u9020\u7684\u514d\u8d39AI\u7f16\u7a0b\u5de5\u5177\uff0c\u5185\u7f6e\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\uff0c\u65e0\u9650\u6b21\u8865\u5168\u4ee3\u7801\uff0c\u9002\u5408\u4e91\u539f\u751f\u5f00\u53d1\u8005\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":[1],"tags":[417,416],"class_list":["post-742","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-417","tag-416"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/742","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=742"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/742\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}