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
질문됨 2년 전368회 조회
1개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠