
Serve a chat UI from an AWS Lambda Web Function behind Amazon CloudFront and stream a Strands agent's answer from AgentCore Runtime token by token.
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-web-agentcore/nodejs/terraformterraform initterraform apply -var "aws_region=us-east-1"aws secretsmanager get-secret-value --secret-id "$(terraform output -raw login_secret_arn)" --region us-east-1 --query SecretString --output text, using the Region you deployed to. Open the app_url output in a browser, enter the login secret and chat with the agent. See the GitHub repo for detailed testing instructions.terraform destroy -var "aws_region=us-east-1", using the Region you deployed to.