examples
examples copied to clipboard
Update WebServer examples to use Amazon Linux 2023 AMI
This PR updates the WebServer examples that were previously using the Amazon Linux 2 AMI (which has been retired by AWS) to the newer Amazon Linux 2023 AMI.
Changes made:
- Updated
aws-js-webserver/index.jsto useal2023-ami-*-x86_64filter with owner137112412989 - Updated
aws-js-webserver-component/webserver.jsto useal2023-ami-*-x86_64filter with owner137112412989 - Updated
aws-py-webserver/__main__.pyto useal2023-ami-*-x86_64filter with owner137112412989 - Updated
aws-java-webserver/src/main/java/webserver/App.javato useal2023-ami-*-x86_64filter instead of the specific version
The C#, Go, and TypeScript examples were already using the correct Amazon Linux 2023 AMI, so no changes were needed for those.
Fixes #2179.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.