Command option Sample:aws configservice describe-compliance-by-resource

Search command sample in the internet.It is the result.

Indicates whether the specified AWS resources are compliant.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/configservice/describe-compliance-by-resource.html

aws configservice describe-compliance-by-resource --resource-type AWS::EC2::Instance --compliance-types NON_COMPLIANT
    configservice — AWS CLI 1.16.5 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/configservice/describe-compliance-by-resource.html

aws のオプション一覧