AWS lexv2 documentation change
Summary
Added documentation for predefined session attributes and Lambda timeout configuration
Security assessment
Documents new security-related capabilities: predefined session attributes for data processing control and Lambda timeout extension to prevent function timeouts. While security-enhancing, there's no evidence of addressing a specific vulnerability.
Diff
diff --git a/lexv2/latest/dg/context-mgmt-session-attribs.md b/lexv2/latest/dg/context-mgmt-session-attribs.md index c6e7cfaf5..b1382701a 100644 --- a//lexv2/latest/dg/context-mgmt-session-attribs.md +++ b//lexv2/latest/dg/context-mgmt-session-attribs.md @@ -6,0 +7,2 @@ +Predefined session attributesIncreasing code hook Lambda timeout + @@ -47,0 +50,10 @@ If you are sending binary or structured data in a session attribute, you must fi +## Predefined session attributes + +Amazon Lex provides predefined session attributes. These attributes manage how Amazon Lex processes information sent to your bot. The attributes persist for the entire session. All predefined attributes are in the `x-amz-lex:` namespace. + +## Increasing code hook Lambda timeout + +To increase the code hook Lambda timeout value in your bot, which is 30 seconds by default, use the `x-amz-lex:codehook-timeout-ms` session attribute. Set the session attribute value in milliseconds. The maximum timeout is 120 seconds. + +For example, if a user sets "x-amz-lex:codehook-timeout-ms": "90000", the code hook Lambda timeout will be 90 seconds. +