Exception level a gateway surfaces in responses and logs. The only value AWS accepts for
AWS::BedrockAgentCore::Gateway ExceptionLevel is DEBUG; omitting the field leaves the secure
service default (INFO), so no INFO member is declared (the service has no such settable value).
DEBUG raises the verbosity of the exception detail the gateway exposes — possibly sensitive
internal error/stack and request context — so it is for troubleshooting only, never production.
A named enum (rather than a bare string) gives schema-level validation for config authors and a
synth-time backstop via validateExceptionLevel for untyped/YAML callers.
Exception level a gateway surfaces in responses and logs. The only value AWS accepts for
AWS::BedrockAgentCore::Gateway ExceptionLevelisDEBUG; omitting the field leaves the secure service default (INFO), so noINFOmember is declared (the service has no such settable value).DEBUGraises the verbosity of the exception detail the gateway exposes — possibly sensitive internal error/stack and request context — so it is for troubleshooting only, never production.A named enum (rather than a bare
string) gives schema-level validation for config authors and a synth-time backstop via validateExceptionLevel for untyped/YAML callers.