1 Answer
- Newest
- Most votes
- Most comments
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?
Relevant content
- asked a month ago
- asked 5 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
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.