{"id":2037,"date":"2026-05-18T12:23:06","date_gmt":"2026-05-18T04:23:06","guid":{"rendered":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/18\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e7%ab%af%e7%bc%96%e7%a8%8b%e7%9a%84%e5%85%8d%e8%b4%b9%e5%ae%89%e5%85%a8\/"},"modified":"2026-05-18T12:23:06","modified_gmt":"2026-05-18T04:23:06","slug":"amazon-codewhisperer%ef%bc%9a%e4%ba%91%e7%ab%af%e7%bc%96%e7%a8%8b%e7%9a%84%e5%85%8d%e8%b4%b9%e5%ae%89%e5%85%a8","status":"publish","type":"post","link":"https:\/\/nav.aichuangzuoshe.com\/index.php\/2026\/05\/18\/amazon-codewhisperer%ef%bc%9a%e4%ba%91%e7%ab%af%e7%bc%96%e7%a8%8b%e7%9a%84%e5%85%8d%e8%b4%b9%e5%ae%89%e5%85%a8\/","title":{"rendered":"Amazon CodeWhisperer\uff1a\u4e91\u7aef\u7f16\u7a0b\u7684\u514d\u8d39\u5b89\u5168"},"content":{"rendered":"<p>\u4e09\u79d2\u949f\u770b\u61c2\uff1aAWS \u5b98\u65b9\u51fa\u54c1\uff0c\u514d\u8d39\u4e0d\u9650\u91cf\uff0c\u5185\u7f6e\u5b89\u5168\u6f0f\u6d1e\u626b\u63cf\uff0c\u4e91\u539f\u751f\u5f00\u53d1\u8005\u5fc5\u5907\u7684 AI \u7f16\u7a0b\u642d\u6863\u3002<\/p>\n<p>\u6df1\u5ea6\u8bc4\u6d4b\u6b63\u6587<\/p>\n<p>\u4f5c\u4e3a\u4e00\u4e2a\u6bcf\u5929\u8ddf\u4ee3\u7801\u6253\u4ea4\u9053\u7684\u5de5\u5177\u8bc4\u6d4b\u5458\uff0c\u6211\u5176\u5b9e\u5bf9\u201c\u5b98\u65b9\u51fa\u54c1\u201d\u8fd9\u56db\u4e2a\u5b57\u4e00\u76f4\u4fdd\u6301\u8b66\u60d5\u3002\u5f88\u591a\u5927\u5382\u7684\u5de5\u5177\uff0c\u529f\u80fd\u5806\u5f97\u6ee1\u6ee1\u5f53\u5f53\uff0c\u4f46\u7528\u8d77\u6765\u603b\u6709\u79cd\u201c\u9886\u5bfc\u89c6\u5bdf\u201d\u7684\u50f5\u786c\u611f\u3002\u4e0d\u8fc7 Amazon CodeWhisperer \u8ba9\u6211\u6709\u70b9\u610f\u5916\u2014\u2014\u5b83\u6ca1\u6709\u8d70\u90a3\u79cd\u9ad8\u51b7\u8def\u7ebf\uff0c\u800c\u662f\u7528\u4e00\u79cd\u8fd1\u4e4e\u8c26\u900a\u7684\u59ff\u6001\uff0c\u628a AI \u7f16\u7a0b\u52a9\u624b\u7684\u5b9e\u7528\u6027\u62c9\u5230\u4e86\u4e00\u4e2a\u65b0\u7684\u9ad8\u5ea6\u3002<\/p>\n<p>\u5148\u8bf4\u6700\u6838\u5fc3\u7684\u4eae\u70b9\uff1a\u514d\u8d39\u4e0d\u9650\u91cf\u3002\u8fd9\u5728\u5f53\u524d AI \u7f16\u7a0b\u5de5\u5177\u5e02\u573a\u91cc\uff0c\u51e0\u4e4e\u662f\u964d\u7ef4\u6253\u51fb\u3002GitHub Copilot \u867d\u7136\u540d\u58f0\u5927\u566a\uff0c\u4f46\u514d\u8d39\u7248\u53ea\u6709 2000 \u6b21\u8865\u5168\/\u6708\uff0c\u8d85\u4e86\u5c31\u8981\u638f\u94b1\u3002CodeWhisperer \u76f4\u63a5\u7ed9\u4f60\u655e\u5f00\u4e86\u7528\uff0c\u53ea\u8981\u4f60\u7528\u7684\u662f AWS \u7684\u514d\u8d39\u8d26\u6237\uff08\u751a\u81f3\u4e0d\u9700\u8981\u7ed1\u4fe1\u7528\u5361\uff09\uff0c\u5c31\u80fd\u4eab\u53d7\u65e0\u6b21\u6570\u9650\u5236\u7684\u4ee3\u7801\u5efa\u8bae\u3002\u8fd9\u5bf9\u4e8e\u5b66\u751f\u3001\u72ec\u7acb\u5f00\u53d1\u8005\u3001\u6216\u8005\u9884\u7b97\u7d27\u5f20\u7684\u5c0f\u56e2\u961f\u6765\u8bf4\uff0c\u7b80\u76f4\u662f\u6551\u547d\u7a3b\u8349\u3002<\/p>\n<p>\u5b83\u7684\u6280\u672f\u4eae\u70b9\uff0c\u6211\u89c9\u5f97\u6700\u503c\u5f97\u804a\u7684\u662f\u90a3\u4e2a\u5185\u7f6e\u7684\u201c\u5b89\u5168\u626b\u63cf\u201d\u529f\u80fd\u3002\u8fd9\u4e0d\u662f\u5671\u5934\uff0c\u662f\u771f\u7684\u80fd\u5e72\u6d3b\u3002CodeWhisperer \u4f1a\u5728\u4f60\u5199\u4ee3\u7801\u7684\u65f6\u5019\uff0c\u81ea\u52a8\u626b\u63cf\u4f60\u7684\u4ee3\u7801\u7247\u6bb5\uff0c\u68c0\u6d4b\u662f\u5426\u6709 OWASP Top 10 \u91cc\u7684\u5e38\u89c1\u6f0f\u6d1e\uff0c\u6bd4\u5982 SQL \u6ce8\u5165\u3001SSRF\u3001\u786c\u7f16\u7801\u5bc6\u94a5\u7b49\u3002\u5b83\u8fd8\u80fd\u76f4\u63a5\u5f15\u7528 CWE\uff08\u901a\u7528\u5f31\u70b9\u679a\u4e3e\uff09\u548c CVE\uff08\u901a\u7528\u6f0f\u6d1e\u62ab\u9732\uff09\u5e93\uff0c\u7ed9\u51fa\u4fee\u590d\u5efa\u8bae\u3002\u6211\u62ff\u4e00\u4e2a\u6545\u610f\u5199\u9519\u7684 Python \u811a\u672c\u6d4b\u8bd5\uff0c\u91cc\u9762\u6709\u4e2a\u660e\u663e\u7684 SQL \u62fc\u63a5\uff0c\u5b83\u7acb\u523b\u5f39\u51fa\u4e86\u8b66\u544a\uff0c\u5e76\u4e14\u7ed9\u51fa\u4e86\u53c2\u6570\u5316\u67e5\u8be2\u7684\u66ff\u4ee3\u65b9\u6848\u3002\u8fd9\u4e2a\u529f\u80fd\u5bf9\u4e8e\u4e2d\u5c0f\u4f01\u4e1a\u6216\u8005\u4e2a\u4eba\u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u76f8\u5f53\u4e8e\u767d\u5ad6\u4e86\u4e00\u4e2a\u5b89\u5168\u5ba1\u8ba1\u5e08\u3002<\/p>\n<p>\u518d\u804a\u804a\u4f7f\u7528\u4f53\u9a8c\u3002CodeWhisperer \u652f\u6301 VS Code\u3001JetBrains IDEs\u3001AWS Cloud9 \u7b49\u4e3b\u6d41\u73af\u5883\uff0c\u5b89\u88c5\u8fc7\u7a0b\u8ddf\u5176\u4ed6\u63d2\u4ef6\u4e00\u6837\u7b80\u5355\u3002\u5b83\u751f\u6210\u7684\u4ee3\u7801\u8d28\u91cf\uff0c\u5766\u767d\u8bf4\uff0c\u5728\u901a\u7528\u573a\u666f\u4e0b\uff08\u6bd4\u5982\u5199\u4e2a\u6392\u5e8f\u3001\u89e3\u6790 JSON\u3001\u8c03\u4e2a API\uff09\u8ddf Copilot \u4e0d\u76f8\u4e0a\u4e0b\u3002\u4f46\u5b83\u7684\u6740\u624b\u950f\u5728\u4e8e\u5bf9 AWS \u670d\u52a1\uff08S3\u3001Lambda\u3001DynamoDB\u3001ECS \u7b49\uff09\u7684\u6df1\u5ea6\u7406\u89e3\u3002\u4f60\u53ea\u9700\u8981\u5728\u6ce8\u91ca\u91cc\u5199\u201c\/\/ \u521b\u5efa\u4e00\u4e2a S3 \u5ba2\u6237\u7aef\u5e76\u4e0a\u4f20\u6587\u4ef6\u201d\uff0c\u5b83\u5c31\u80fd\u76f4\u63a5\u751f\u6210\u5e26\u6709\u6b63\u786e IAM \u6743\u9650\u914d\u7f6e\u7684 SDK \u4ee3\u7801\u3002\u8fd9\u5bf9\u4e8e AWS \u5f00\u53d1\u8005\u6765\u8bf4\uff0c\u6548\u7387\u63d0\u5347\u662f\u8089\u773c\u53ef\u89c1\u7684\u3002<\/p>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f\u6709\u4e09\u4e2a\uff1a<\/p>\n<p>\u7b2c\u4e00\u4e2a\uff0c\u4e91\u539f\u751f\u5e94\u7528\u5f00\u53d1\u3002\u5982\u679c\u4f60\u5728\u5199 AWS Lambda \u51fd\u6570\uff0cCodeWhisperer \u4f1a\u6839\u636e\u4f60\u7684\u51fd\u6570\u540d\u79f0\u548c\u6ce8\u91ca\uff0c\u81ea\u52a8\u751f\u6210\u4e8b\u4ef6\u5904\u7406\u903b\u8f91\u3001\u9519\u8bef\u91cd\u8bd5\u673a\u5236\uff0c\u751a\u81f3\u5e2e\u4f60\u5339\u914d\u6b63\u786e\u7684 CloudWatch \u65e5\u5fd7\u683c\u5f0f\u3002\u6211\u8bd5\u8fc7\u5199\u4e00\u4e2a\u5904\u7406 SQS \u6d88\u606f\u7684 Lambda\uff0c\u5b83\u76f4\u63a5\u7ed9\u51fa\u4e86\u5b8c\u6574\u7684 boto3 \u4ee3\u7801\uff0c\u5305\u62ec\u6d88\u606f\u63a5\u6536\u3001\u5904\u7406\u3001\u5220\u9664\u548c\u9519\u8bef\u56de\u6eda\u3002<\/p>\n<p>\u7b2c\u4e8c\u4e2a\uff0c\u4ee3\u7801\u5b89\u5168\u5ba1\u8ba1\u3002\u5bf9\u4e8e\u4e2d\u5c0f\u578b\u56e2\u961f\uff0c\u6ca1\u6709\u4e13\u95e8\u7684\u5b89\u5168\u5de5\u7a0b\u5e08\uff0cCodeWhisperer \u53ef\u4ee5\u5145\u5f53\u7b2c\u4e00\u9053\u9632\u7ebf\u3002\u4f60\u5199\u5b8c\u4ee3\u7801\u540e\uff0c\u5b83\u4f1a\u81ea\u52a8\u626b\u63cf\uff0c\u5e76\u9ad8\u4eae\u663e\u793a\u6f5c\u5728\u98ce\u9669\u70b9\u3002\u6bd4\u5982\u5b83\u53d1\u73b0\u4f60\u5728\u4ee3\u7801\u91cc\u5199\u4e86\u4e00\u4e2a\u786c\u7f16\u7801\u7684\u6570\u636e\u5e93\u5bc6\u7801\uff0c\u4f1a\u63d0\u793a\u4f60\u4f7f\u7528 AWS Secrets Manager \u6216\u73af\u5883\u53d8\u91cf\u6765\u7ba1\u7406\u3002<\/p>\n<p>\u7b2c\u4e09\u4e2a\uff0c\u5b66\u4e60\u4e0e\u5feb\u901f\u539f\u578b\u3002\u5bf9\u4e8e\u521a\u63a5\u89e6 AWS \u7684\u5f00\u53d1\u8005\uff0cCodeWhisperer \u5c31\u50cf\u4e2a\u201c\u6d3b\u6587\u6863\u201d\u3002\u4f60\u53ea\u9700\u8981\u63cf\u8ff0\u4f60\u60f3\u505a\u4ec0\u4e48\uff0c\u5b83\u5c31\u80fd\u751f\u6210\u5bf9\u5e94\u7684 SDK \u4ee3\u7801\u3002\u6bd4\u5982\u4f60\u60f3\u7528 DynamoDB \u505a\u5206\u9875\u67e5\u8be2\uff0c\u5b83\u4e0d\u4f1a\u53ea\u7ed9\u4f60\u4e00\u4e2a\u7b80\u5355\u7684 scan\uff0c\u800c\u662f\u4f1a\u751f\u6210\u5e26\u6709 LastEvaluatedKey \u548c ExclusiveStartKey \u7684\u5b8c\u6574\u5206\u9875\u903b\u8f91\uff0c\u8fd9\u6bd4\u7ffb\u6587\u6863\u5feb\u592a\u591a\u4e86\u3002<\/p>\n<p>\u6a2a\u5411\u5bf9\u6bd4\uff0c\u4e3b\u8981\u5bf9\u624b\u5c31\u662f GitHub Copilot\u3002Copilot \u5728\u4ee3\u7801\u8865\u5168\u7684\u201c\u7075\u6027\u201d\u4e0a\u786e\u5b9e\u7565\u80dc\u4e00\u7b79\uff0c\u5c24\u5176\u662f\u5728\u751f\u6210\u590d\u6742\u7b97\u6cd5\u6216\u975e\u6807\u51c6\u5316\u4ee3\u7801\u65f6\uff0c\u5b83\u7684\u4e0a\u4e0b\u6587\u7406\u89e3\u80fd\u529b\u66f4\u5f3a\u3002\u4f46 CodeWhisperer \u7684\u4f18\u52bf\u5728\u4e8e\uff1a\u514d\u8d39\u3001\u5b89\u5168\u626b\u63cf\u3001AWS \u751f\u6001\u6df1\u5ea6\u96c6\u6210\u3002\u5982\u679c\u4f60\u4e0d\u662f 100% \u7684 AWS \u7528\u6237\uff0cCopilot \u53ef\u80fd\u66f4\u6cdb\u7528\uff1b\u4f46\u53ea\u8981\u4f60\u7684\u9879\u76ee\u8dd1\u5728\u4e91\u4e0a\uff0cCodeWhisperer \u7684\u6027\u4ef7\u6bd4\u5c31\u662f\u78be\u538b\u7ea7\u7684\u3002<\/p>\n<p>\u5b9a\u4ef7\u65b9\u9762\uff0c\u514d\u8d39\u7248\u5df2\u7ecf\u8986\u76d6\u4e86\u5927\u90e8\u5206\u529f\u80fd\uff08\u4ee3\u7801\u8865\u5168\u3001\u5b89\u5168\u626b\u63cf\u3001\u5f15\u7528\u8ffd\u8e2a\uff09\u3002\u4ed8\u8d39\u7248 CodeWhisperer Professional \u662f\u6bcf\u6708 19 \u7f8e\u5143\uff0c\u4e3b\u8981\u589e\u52a0\u4e86\u7ba1\u7406\u7b56\u7565\uff08\u6bd4\u5982\u7ba1\u7406\u5458\u53ef\u4ee5\u63a7\u5236\u54ea\u4e9b\u4ee3\u7801\u53ef\u4ee5\u88ab AI \u5b66\u4e60\uff09\u3001\u5355\u70b9\u767b\u5f55\uff08SSO\uff09\u96c6\u6210\uff0c\u4ee5\u53ca\u66f4\u9ad8\u7ea7\u7684\u5b89\u5168\u626b\u63cf\u62a5\u544a\u3002\u8bf4\u5b9e\u8bdd\uff0c\u4e2a\u4eba\u5f00\u53d1\u8005\u57fa\u672c\u7528\u4e0d\u4e0a\u4ed8\u8d39\u7248\uff0c\u514d\u8d39\u7248\u5df2\u7ecf\u591f\u9999\u4e86\u3002<\/p>\n<p>\u9002\u5408\u4eba\u7fa4\uff1aAWS \u5f00\u53d1\u8005\u3001\u4e91\u539f\u751f\u5e94\u7528\u5f00\u53d1\u8005\u3001\u9700\u8981\u514d\u8d39 AI \u7f16\u7a0b\u52a9\u624b\u7684\u5b66\u751f\u6216\u72ec\u7acb\u5f00\u53d1\u8005\u3001\u5bf9\u4ee3\u7801\u5b89\u5168\u6709\u57fa\u7840\u8981\u6c42\u7684\u5c0f\u56e2\u961f\u3002<\/p>\n<p>\u4e0d\u9002\u5408\u4eba\u7fa4\uff1a\u7eaf\u524d\u7aef\u5f00\u53d1\u8005\uff08\u5b83\u5728\u524d\u7aef\u6846\u67b6\u7684\u8865\u5168\u4e0a\u4e0d\u5982 Copilot\uff09\u3001\u9700\u8981\u8d85\u957f\u4e0a\u4e0b\u6587\u7406\u89e3\uff08\u8d85\u8fc7 2000 \u884c\u4ee3\u7801\uff09\u7684\u91cd\u5ea6\u7528\u6237\u3001\u975e AWS \u751f\u6001\u7684\u7eaf\u540e\u7aef\u5f00\u53d1\u8005\u3002<\/p>\n<p>\u6700\u540e\u63d0\u9192\u4e00\u53e5\uff0c\u5982\u679c\u4f60\u7528 CodeWhisperer \u751f\u6210\u4e86\u6709\u7248\u6743\u4ef7\u503c\u7684\u4ee3\u7801\u6216\u9879\u76ee\uff0c\u5efa\u8bae\u53ca\u65f6\u505a\u7248\u6743\u5b58\u8bc1\u3002\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\u514d\u8d39\u767d\u5ad6\u7684AI\u7f16\u7a0b\u5b89\u5168\u536b\u58eb\u3002<\/p>\n<p>\u9002\u7528\u573a\u666f\u6807\u7b7e\uff1a\u4e91\u539f\u751f\u5f00\u53d1\uff0c\u4ee3\u7801\u5b89\u5168\uff0c\u514d\u8d39\u7f16\u7a0b\u52a9\u624b<\/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>AWS\uff0cAI\u7f16\u7a0b\u52a9\u624b\uff0c\u4ee3\u7801\u5b89\u5168\u626b\u63cf<\/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":[10,11],"class_list":["post-2037","post","type-post","status-publish","format-standard","hentry","category-ai","tag-ai","tag-11"],"_links":{"self":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2037","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=2037"}],"version-history":[{"count":0,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/posts\/2037\/revisions"}],"wp:attachment":[{"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/media?parent=2037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/categories?post=2037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nav.aichuangzuoshe.com\/index.php\/wp-json\/wp\/v2\/tags?post=2037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}