跳至內容

Job Document - Substitute Software Package Version Attribute into a presigned URL

0

I am looking to use software packages for firmware releases. Currently my team uses downloads firmware from a presigned url which is part of the job document:

{
  "operation": "fw_update",
  "esp32": {
    "url": "${aws:iot:s3-presigned-url:https://my-bucket-01.s3.amazonaws.com/ReleasePackages/12345/esp32.bin",
  }  
}

How do I update this to get the path from the verion's attribute? I was thinking something like this? Also pointers to documentation on nested substitution or another workaround would be appreciated.

{
  "operation": "fw_update",
  "esp32": {
    "url": "${aws:iot:s3-presigned-url:${aws:iot:package:myPackage:version:12345:attributes:esp32_binary}}",
  }  
}

已提問 2 年前檢視次數 341 次

1 個回答
0

Hello, this is a known bug and the team is actively fixing it. We are also working on improving the overall experience of using Software Package Catalog and Jobs together. Stay tuned!

AWS

已回答 2 年前

專家

已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。