can i use aws cli to get the AWS services properties. ?

0

can i use get the AWS services asset inventory through AWS Cli, if yes please share the reference docuement ?

已提问 3 个月前95 查看次数
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:

profile picture
专家
已回答 3 个月前
  • 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/

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则