Briefing Amazon Knowledge

How can a user list the IAM Role configured as a part o…

How can a user list the IAM Role configured as a part of the launch config?

A.
as-describe-launch-configs -iam-profile

B.
as-describe-launch-configs -show-long

C.
as-describe-launch-configs -iam-role

D.
as-describe-launch-configs -role

Explanation:
As-describe-launch-configs describes all the launch config parameters created by the AWS
account in the specified region. Generally it returns values, such as Launch Config name,
Instance Type and AMI ID. If the user wants additional parameters, such as the IAM Profile used
in the config , he has to run command:
as-describe-launch-configs –show-long