Search code examples
timezonechatbotamazon-lex

Change Amazon Lex Chat bot Time zone


Now,I am integrating my amazon Lex chat bot to my web. I got the time zone issue. Time zone is in US East (N. Virginia). So if I say today, that is based on Virginia time. So I find how to change time zone and the suggestion is to set the x-amz-lex:time-zone request attribute to my region. but I donot know how to do and where to do. PLs help me!! Thanks. I used simple Template "https://s3.amazonaws.com/aws-bigdata-blog/artifacts/aws-lex-web-ui/artifacts/templates/master.yaml". I copied the codes from SnippetUrl and paste to my web page. The Chat Bot appear. So how should I pass these request attribute.

this this my chat bot in amazon lex

this is my cloud formation

These codes are from SnippetUrl in CodeBuildDeploy


Solution

  • This is the solution image

    Finally, I got the solution. If someone want to know the solution check in the photo. I just try to fix the codes from aws github. Thanks.