1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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?
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
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.