1 回答
- 最新
- 投票最多
- 评论最多
1
Yes, you can use the AWS CLI to get properties of AWS services and gather an asset inventory. To do this, you can use specific AWS CLI commands for each service to retrieve properties, and AWS Config to gather an asset inventory.
For AWS Config, to get an asset inventory, you'd first need to enable AWS Config to track your resources. Then, you can use commands like:
- To list all discovered resource:
aws configservice list-discovered-resources
Resources:
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 个月前
Thanks for your input, is there document in place to refer AWS CLI commands to get properties of AWS services and gather an asset inventory?
To interact with AWS services via the CLI, you need to use specific CLI commands for each service. You can find a comprehensive list of AWS service CLI commands in the AWS CLI documentation, available at: https://docs.aws.amazon.com/cli/latest/reference/