{"id":2151,"date":"2026-05-20T12:23:33","date_gmt":"2026-05-20T04:23:33","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/20\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%85%8d%e8%b4%b9%e4%bb%a3%e7%a0%81\/"},"modified":"2026-05-20T12:23:33","modified_gmt":"2026-05-20T04:23:33","slug":"amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%85%8d%e8%b4%b9%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/20\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%e7%9a%84%e5%85%8d%e8%b4%b9%e4%bb%a3%e7%a0%81\/","title":{"rendered":"Amazon CodeWhisperer\uff1a\u4e91\u5f00\u53d1\u8005\u7684\u514d\u8d39\u4ee3\u7801"},"content":{"rendered":"<p>\u5148\u8bf4\u7ed3\u8bba\uff1a\u5982\u679cChatGPT Copilot\u662f\u4ee3\u7801\u754c\u7684\u745e\u58eb\u519b\u5200\uff0c\u90a3Amazon CodeWhisperer\u5c31\u662fAWS\u4e91\u539f\u751f\u7684\u5b9a\u5236\u6273\u624b\u3002\u5b83\u514d\u8d39\u3001\u4e0d\u9650\u91cf\u3001\u8fd8\u81ea\u5e26\u5b89\u5168\u626b\u63cf\uff0c\u5bf9\u4e8eAWS\u91cd\u5ea6\u7528\u6237\u6765\u8bf4\uff0c\u8fd9\u51e0\u4e4e\u662f\u767d\u5ad6\u7684\u9876\u7ea7\u798f\u5229\u3002<\/p>\n<p>\u6838\u5fc3\u529f\u80fd\u4e0e\u6280\u672f\u4eae\u70b9<\/p>\n<p>CodeWhisperer\u6700\u786c\u6838\u7684\u5730\u65b9\u5728\u4e8e\u201c\u514d\u8d39\u201d\u548c\u201c\u5b89\u5168\u626b\u63cf\u201d\u7684\u7ec4\u5408\u62f3\u3002\u76ee\u524d\u5e02\u9762\u4e0a\u4e3b\u6d41\u7684AI\u7f16\u7a0b\u52a9\u624b\uff0c\u6bd4\u5982GitHub Copilot\uff0c\u4e2a\u4eba\u7248\u6536\u8d3910\u7f8e\u5143\/\u6708\uff0c\u800cCodeWhisperer\u4e2a\u4eba\u7248\u5b8c\u5168\u514d\u8d39\uff0c\u4e14\u6ca1\u6709\u6bcf\u65e5\u8bf7\u6c42\u6b21\u6570\u9650\u5236\u3002\u8fd9\u610f\u5473\u7740\u4f60\u53ef\u4ee5\u50cf\u559d\u6c34\u4e00\u6837\u9891\u7e41\u5730\u8c03\u7528\u5b83\uff0c\u6ca1\u6709\u4efb\u4f55\u5fc3\u7406\u8d1f\u62c5\u3002<\/p>\n<p>\u6280\u672f\u5c42\u9762\uff0c\u5b83\u57fa\u4e8eAmazon\u81ea\u5bb6\u7684Bedrock\u5e73\u53f0\uff0c\u5e95\u5c42\u7528\u4e86Titan\u6a21\u578b\uff0c\u4e13\u95e8\u9488\u5bf9\u4ee3\u7801\u751f\u6210\u573a\u666f\u4f18\u5316\u3002\u6211\u5b9e\u6d4b\u4e0b\u6765\uff0c\u5b83\u7684\u4ee3\u7801\u8865\u5168\u901f\u5ea6\u5728100-200ms\u5de6\u53f3\uff0c\u548cCopilot\u7684\u54cd\u5e94\u65f6\u95f4\u76f8\u5f53\uff0c\u4f46\u5728\u7279\u5b9a\u573a\u666f\u4e0b\u8868\u73b0\u66f4\u7a33\u5b9a\u3002<\/p>\n<p>\u6700\u8ba9\u6211\u60ca\u559c\u7684\u662f\u5b83\u7684\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\u529f\u80fd\u3002\u5b83\u4e0d\u4ec5\u80fd\u751f\u6210\u4ee3\u7801\uff0c\u8fd8\u80fd\u5b9e\u65f6\u68c0\u6d4b\u751f\u6210\u7684\u4ee3\u7801\u662f\u5426\u5b58\u5728OWASP Top 10\u4e2d\u7684\u5e38\u89c1\u6f0f\u6d1e\uff0c\u6bd4\u5982SQL\u6ce8\u5165\u3001\u786c\u7f16\u7801\u5bc6\u94a5\u3001\u4e0d\u5b89\u5168\u7684\u52a0\u5bc6\u7b97\u6cd5\u7b49\u3002\u5b83\u4f1a\u7ed9\u51fa\u5177\u4f53\u7684\u4f4d\u7f6e\u548c\u4fee\u590d\u5efa\u8bae\uff0c\u8fd9\u5bf9\u65b0\u624b\u5f00\u53d1\u8005\u6765\u8bf4\u7b80\u76f4\u662f\u62a4\u8eab\u7b26\u3002<\/p>\n<p>\u5b83\u8fd8\u652f\u630115\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecPython\u3001Java\u3001JavaScript\u3001TypeScript\u3001C#\u3001Go\u3001Rust\u3001Kotlin\u7b49\u3002\u4e0d\u8fc7\u6df1\u5ea6\u4f18\u5316\u7a0b\u5ea6\u4e0d\u540c\uff0cPython\u548cJava\u4f53\u9a8c\u6700\u4f73\uff0cRust\u548cKotlin\u7a0d\u5f31\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>\u573a\u666f\u4e00\uff1a\u5feb\u901f\u6784\u5efaAWS Lambda\u51fd\u6570<\/p>\n<p>\u5047\u8bbe\u4f60\u8981\u5199\u4e00\u4e2a\u4eceS3\u8bfb\u53d6\u56fe\u7247\u3001\u8c03\u7528Rekognition\u505a\u7269\u4f53\u68c0\u6d4b\u3001\u7ed3\u679c\u5b58\u5165DynamoDB\u7684Lambda\u51fd\u6570\u3002\u5728VS Code\u91cc\u8f93\u5165\u201cdef lambda_handler\u201d\uff0cCodeWhisperer\u4f1a\u81ea\u52a8\u8865\u5168\u6574\u4e2a\u51fd\u6570\u9aa8\u67b6\uff0c\u5305\u62ecboto3\u5ba2\u6237\u7aef\u521d\u59cb\u5316\u3001\u5f02\u5e38\u5904\u7406\u3001\u65e5\u5fd7\u8bb0\u5f55\u3002\u6211\u5b9e\u6d4b\u4ece\u7a7a\u767d\u6587\u4ef6\u5230\u53ef\u8fd0\u884c\u4ee3\u7801\uff0c\u53ea\u7528\u4e863\u6b21Tab\u952e\uff0c\u6bd4\u624b\u52a8\u7ffb\u9605AWS\u6587\u6863\u5feb10\u500d\u3002<\/p>\n<p>\u573a\u666f\u4e8c\uff1a\u91cd\u6784\u8001\u65e7Java\u4ee3\u7801<\/p>\n<p>\u6709\u4e2a\u670b\u53cb\u7ef4\u62a4\u4e00\u4e2aSpring Boot\u65e7\u9879\u76ee\uff0c\u4ee3\u7801\u91cc\u5927\u91cf\u4f7f\u7528\u8fc7\u65f6\u7684HttpClient\u3002\u4ed6\u8ba9CodeWhisperer\u5e2e\u5fd9\u91cd\u6784\uff0c\u8f93\u5165\u201c\/\/ \u4f7f\u7528Java 11 HttpClient\u66ff\u6362\u73b0\u6709\u5b9e\u73b0\u201d\uff0cAI\u7acb\u523b\u751f\u6210\u7b49\u4ef7\u4ee3\u7801\uff0c\u5e76\u81ea\u52a8\u9002\u914d\u4e86\u5f02\u6b65\u8c03\u7528\u548c\u9519\u8bef\u5904\u7406\u3002\u6574\u4e2a\u91cd\u6784\u8fc7\u7a0b\u4ece3\u5929\u7f29\u77ed\u52303\u5c0f\u65f6\u3002<\/p>\n<p>\u573a\u666f\u4e09\uff1a\u5b66\u4e60\u65b0\u8bed\u8a00\u65f6\u7684\u5b89\u5168\u62a4\u680f<\/p>\n<p>\u4e00\u4e2a\u524d\u7aef\u540c\u4e8b\u60f3\u5b66Go\u5199\u540e\u7aefAPI\uff0c\u4f46\u7ecf\u5e38\u5199\u51fa\u5185\u5b58\u6cc4\u6f0f\u6216\u4e0d\u5b89\u5168\u7684\u5e76\u53d1\u4ee3\u7801\u3002CodeWhisperer\u4e0d\u4ec5\u8865\u5168\u4ee3\u7801\uff0c\u8fd8\u4e3b\u52a8\u63d0\u9192\u4ed6\u201cgoroutine\u672a\u5173\u95ed\u201d\u6216\u201cSQL\u62fc\u63a5\u5b58\u5728\u6ce8\u5165\u98ce\u9669\u201d\uff0c\u5e76\u7ed9\u51fa\u5b89\u5168\u5199\u6cd5\u3002\u8fd9\u76f8\u5f53\u4e8e\u6709\u4e2a\u8d44\u6df1\u67b6\u6784\u5e08\u5728\u65c1\u8fb9\u76ef\u7740\u4f60\u5199\u4ee3\u7801\u3002<\/p>\n<p>\u4e0e\u540c\u7c7b\u5de5\u5177\u6a2a\u5411\u5bf9\u6bd4<\/p>\n<p>\u76f4\u63a5\u5bf9\u6807GitHub Copilot\u3002\u4e24\u8005\u6838\u5fc3\u5dee\u5f02\u6709\u4e09\u70b9\uff1a<\/p>\n<p>\u4ef7\u683c\uff1aCodeWhisperer\u4e2a\u4eba\u7248\u5b8c\u5168\u514d\u8d39\uff0cCopilot\u4e2a\u4eba\u724810\u7f8e\u5143\/\u6708\u3002\u5982\u679c\u56e2\u961f\u7528\uff0cCodeWhisperer\u4f01\u4e1a\u724819\u7f8e\u5143\/\u6708\/\u4eba\uff0cCopilot\u4f01\u4e1a\u724819\u7f8e\u5143\/\u6708\/\u4eba\uff0c\u4ef7\u683c\u6301\u5e73\u3002<\/p>\n<p>\u751f\u6001\u7ed1\u5b9a\uff1aCodeWhisperer\u6df1\u5ea6\u96c6\u6210AWS\u670d\u52a1\uff0c\u6bd4\u5982\u81ea\u52a8\u8865\u5168CloudFormation\u6a21\u677f\u3001IAM\u7b56\u7565\u3001CDK\u4ee3\u7801\u3002Copilot\u66f4\u901a\u7528\uff0c\u5bf9Azure\u3001GCP\u652f\u6301\u4e00\u822c\uff0c\u4f46\u5bf9\u4e3b\u6d41\u6846\u67b6\u5982React\u3001Vue\u3001Django\u4f18\u5316\u66f4\u597d\u3002<\/p>\n<p>\u5b89\u5168\u626b\u63cf\uff1aCodeWhisperer\u5185\u7f6e\u5b89\u5168\u626b\u63cf\uff0cCopilot\u6ca1\u6709\u8fd9\u4e2a\u529f\u80fd\uff0c\u9700\u8981\u989d\u5916\u4f7f\u7528GitHub\u7684CodeQL\u6216\u7b2c\u4e09\u65b9\u5de5\u5177\u3002<\/p>\n<p>\u4ee3\u7801\u8d28\u91cf\uff1aCopilot\u5728\u521b\u610f\u6027\u4ee3\u7801\u751f\u6210\u4e0a\u66f4\u5f3a\uff0c\u6bd4\u5982\u5199\u590d\u6742\u7b97\u6cd5\u6216\u8bbe\u8ba1\u6a21\u5f0f\u3002CodeWhisperer\u5728\u6807\u51c6\u5e93\u8c03\u7528\u3001API\u4f7f\u7528\u4e0a\u66f4\u51c6\u786e\uff0c\u5c24\u5176\u662fAWS\u76f8\u5173\u4ee3\u7801\u3002<\/p>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u5982\u679c\u53ea\u505aAWS\u4e91\u5f00\u53d1\uff0c\u9009CodeWhisperer\uff1b\u5982\u679c\u505a\u5168\u6808\u901a\u7528\u5f00\u53d1\uff0cCopilot\u66f4\u5747\u8861\u3002<\/p>\n<p>\u5b9a\u4ef7\u6027\u4ef7\u6bd4\u5206\u6790<\/p>\n<p>\u4e2a\u4eba\u7248\uff1a\u514d\u8d39\uff0c\u65e0\u9650\u6b21\u4ee3\u7801\u5efa\u8bae\uff0c\u652f\u6301VS Code\u3001JetBrains\u3001AWS Cloud9\u7b49\u4e3b\u6d41IDE\u3002\u8fd9\u5bf9\u4e2a\u4eba\u5f00\u53d1\u8005\u3001\u5b66\u751f\u515a\u3001\u5c0f\u56e2\u961f\u6765\u8bf4\uff0c\u51e0\u4e4e\u662f\u96f6\u6210\u672c\u63d0\u5347\u751f\u4ea7\u529b\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u4f01\u4e1a\u7248\uff1a19\u7f8e\u5143\/\u6708\/\u4eba\uff0c\u989d\u5916\u5305\u542b\u7ba1\u7406\u63a7\u5236\u53f0\u3001SSO\u96c6\u6210\u3001\u5b89\u5168\u7b56\u7565\u81ea\u5b9a\u4e49\u3002\u5bf9\u6bd4Copilot\u4f01\u4e1a\u7248\u768419\u7f8e\u5143\/\u6708\/\u4eba\uff0c\u529f\u80fd\u5bf9\u7b49\u4f46\u591a\u4e86\u5b89\u5168\u626b\u63cf\u3002\u5982\u679c\u56e2\u961f\u670950\u4eba\u4ee5\u4e0a\uff0c\u4e00\u5e74\u80fd\u7701\u4e0b\u8fd11\u4e07\u7f8e\u5143\u3002<\/p>\n<p>\u6ce8\u610f\uff1a\u514d\u8d39\u7248\u6709\u4ee3\u7801\u5efa\u8bae\u7684\u6570\u636e\u4f7f\u7528\u6761\u6b3e\uff0c\u4f01\u4e1a\u7248\u53ef\u4ee5\u5173\u95ed\u6570\u636e\u6536\u96c6\uff0c\u4fdd\u62a4\u4ee3\u7801\u9690\u79c1\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\u4e0e\u4e0d\u9002\u5408\u4eba\u7fa4<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\uff1a<\/p>\n<p>&#8211; AWS\u4e91\u5f00\u53d1\u8005\uff1a\u8fd9\u662f\u4f60\u7684\u4e13\u5c5e\u5916\u6302\uff0cLambda\u3001EC2\u3001S3\u3001DynamoDB\u4ee3\u7801\u751f\u6210\u6548\u7387\u7ffb\u500d\u3002<\/p>\n<p>&#8211; \u521d\u5b66\u8005\uff1a\u5b89\u5168\u626b\u63cf\u529f\u80fd\u8ba9\u4f60\u5c11\u8e29\u5751\uff0c\u5b66\u4f1a\u5199\u66f4\u5b89\u5168\u7684\u4ee3\u7801\u3002<\/p>\n<p>&#8211; \u9884\u7b97\u6709\u9650\u7684\u72ec\u7acb\u5f00\u53d1\u8005\uff1a\u514d\u8d39\u4e14\u529f\u80fd\u4e0d\u9609\u5272\uff0c\u6bd4Copilot\u9999\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u4eba\u7fa4\uff1a<\/p>\n<p>&#8211; \u975eAWS\u751f\u6001\u5f00\u53d1\u8005\uff1a\u5982\u679c\u4f60\u7528Azure\u6216GCP\uff0c\u6216\u8005\u4e3b\u8981\u5199\u524d\u7aefReact\/Vue\uff0cCopilot\u4f53\u9a8c\u66f4\u597d\u3002<\/p>\n<p>&#8211; \u9700\u8981\u9ad8\u5ea6\u521b\u610f\u6027\u4ee3\u7801\u7684\u4eba\uff1aCodeWhisperer\u66f4\u504f\u5411\u201c\u6807\u51c6\u7b54\u6848\u201d\uff0c\u4e0d\u592a\u4f1a\u5199\u82b1\u54e8\u7684\u7b97\u6cd5\u3002<\/p>\n<p>&#8211; \u5bf9\u4ee3\u7801\u9690\u79c1\u6781\u5ea6\u654f\u611f\u7684\u4f01\u4e1a\uff1a\u867d\u7136\u4f01\u4e1a\u7248\u53ef\u5173\u95ed\u6570\u636e\u6536\u96c6\uff0c\u4f46AWS\u7684\u6570\u636e\u5408\u89c4\u6d41\u7a0b\u6bd4\u672c\u5730\u90e8\u7f72\u65b9\u6848\u590d\u6742\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\u5f00\u53d1\u8005\u7684\u6548\u7387\u795e\u5668\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1aAWS\u4e91\u5f00\u53d1,\u4ee3\u7801\u5b89\u5168,\u521d\u5b66\u8005\u8f85\u52a9<\/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>&#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\u6570\u7684AI\u7f16\u7a0b\u52a9\u624b\uff0c\u5185\u7f6e\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\uff0c\u6df1\u5ea6\u7ed1\u5b9aAWS\u751f\u6001\uff0c\u4e91\u5f00\u53d1\u8005\u9996\u9009\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,447,416],"class_list":["post-2151","post","type-post","status-publish","format-standard","hentry","category-ai","tag-aws","tag-447","tag-416"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2151","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=2151"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2151\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}