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
asked a year ago360 views
1 Answer
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions