1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
0
Hi, Cloudformation doc says that header name is not case-sensitive
SingleHeader
Redact a single header. Provide the name of the header to inspect, for example, User-Agent
or Referer.
This setting isn't case sensitive.
Example JSON: "SingleHeader": { "Name": "haystack" }
Required: No
Type: SingleHeader
Update requires: No interruption
So, can you try with "name" and see if it works?
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
Thanks for the answer: The header is not case sensitive, but the problem seems to be the JSON key "Name", not the name of the header, which, as you quote from the docs, should be upper case, but is generated as lower case "name" by the CDK classes. The key "name" is hard coded in the implementation class of the CfnLoggingConfiguration.SingleHeaderProperty interface and cannot be set by the caller.