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
posta 2 anni fa368 visualizzazioni
1 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande