I am trying to get launch configuration details by aws-cli, I know there have a command aws autoscaling describe-launch-configurations --launch-configuration-names my-launch-config
, but I don't know what is the launch config name, I only have the ASG(auto-scaling group)name. I know in AWS console I can find the launch configuration name in the ASG detail page, but how to do this by aws-cli?
In another word, I want to get launch configuration details but I only have ASG name as input, what should be the command/commands in aws-cli.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…