CLI로 DescribeTrustedAdvisorChecks 사용 - AWS Support

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

CLI로 DescribeTrustedAdvisorChecks 사용

다음 코드 예제는 DescribeTrustedAdvisorChecks의 사용 방법을 보여 줍니다.

CLI
AWS CLI

사용 가능한 AWS Trusted Advisor 검사를 나열하려면

다음 describe-trusted-advisor-checks 예제에서는 AWS 계정에서 사용 가능한 Trusted Advisor 검사를 나열합니다. 이 정보에는 검사 이름, ID, 설명, 범주 및 메타데이터가 포함됩니다. 가독성을 위해 출력이 단축됩니다.

aws support describe-trusted-advisor-checks \ --language "en"

출력:

{ "checks": [ { "id": "zXCkfM1nI3", "name": "IAM Use", "description": "Checks for your use of AWS Identity and Access Management (IAM). You can use IAM to create users, groups, and roles in AWS, and you can use permissions to control access to AWS resources. \n<br>\n<br>\n<b>Alert Criteria</b><br>\nYellow: No IAM users have been created for this account.\n<br>\n<br>\n<b>Recommended Action</b><br>\nCreate one or more IAM users and groups in your account. You can then create additional users whose permissions are limited to perform specific tasks in your AWS environment. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/IAMGettingStarted.html\" target=\"_blank\">Getting Started</a>. \n<br><br>\n<b>Additional Resources</b><br>\n<a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_Introduction.html\" target=\"_blank\">What Is IAM?</a>", "category": "security", "metadata": [] } ] }

자세한 내용은 AWS Support 사용자 안내서AWS Trusted Advisor를 참조하세요.

PowerShell
PowerShell용 도구

예제 1: Trusted Advisor 검사 모음을 반환합니다. 영어 출력의 경우 "en" 또는 일본어 출력의 경우 "ja"를 수락할 수 있는 언어 파라미터를 지정해야 합니다.

Get-ASATrustedAdvisorCheck -Language "en"

AWS SDK 개발자 안내서 및 코드 예제의 전체 목록은 섹션을 참조하세요AWS SDK AWS Support 에서 사용. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.