How to persist ContentType using AppConfig with a s3 source

0

We're seeing an inconsistency with the content type when we use a s3 source for an AppConfig profile and retrieve the data using get-latest-configuration. Our setup:

  • json file in s3 - when we retrieve the file with get-object, it has a ContentType of "application/json" (we specified "application/json" on the put-object just to be extra sure)
  • AppConfig freeform profile with the s3 json file as the source

When we retrieve the config with start-configuration-session/get-latest-configuration the ContentType on the result is always "application/octet-stream". Is there any way to force AppConfig to send the config as the same type as the s3 file?

ah
gefragt vor 2 Jahren368 Aufrufe
1 Antwort
0

For this question, can you please open a support case, so we can investigate the issue

We need the following info :

output of HeadObject API call

output of StartConfigurationSession API call

output of GetLatestConfiguration API call

since those info are confidential from your environment, it is better open support case for further investigation.

Thanks,

David

AWS
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen