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
demandé il y a 2 ans368 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions