1 回答
- 最新
- 投票最多
- 评论最多
0
I can't say for the feature you're asking. But you could workaround this by maintaining the list with a lambda triggered which would "build" the list from a call to :
aws ssm get-parameters-by-path --path / --query "Parameters[*].{Name:Name}"
And store it in a parameter as a list already built to be used:
aws ssm put-parameter --name mb-tag-list --value $list --overwrite --type StringList
On update trigger a lambda through a Cloudwatch Event a lambda that get the list and update the corresponding parameter store.
I build it in a small shell script (but any language could work!) to prove that it works :
#!/bin/bash -x
list=$(aws ssm get-parameters-by-path --path / --query "Parameters[*].{Name:Name}" | jq -c 'map(.Name) | join(",")')
aws ssm put-parameter --name mb-tag-list --value $list --overwrite --type StringList
已回答 4 年前
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前