기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
적합성 팩에 대한 규정 준수 기록 쿼리
리소스 유형을 사용하여 get-resource-config-history 규정 준수 기록을 쿼리합니다. AWS::Config::ConformancePackCompliance
aws configservice get-resource-config-history --resource-type AWS::Config::ConformancePackCompliance --resource-id
conformance-pack-ID
다음과 유사한 출력 화면이 표시되어야 합니다.
{ "configurationItems": [ { "version": "1.3", "accountId": "
Account ID
", "configurationItemCaptureTime": 1614641951.442, "configurationItemStatus": "OK", "configurationStateId": "1614641951442", "configurationItemMD5Hash": "", "arn": "arn:aws:config:us-east-1:Account ID
:conformance-pack/MyConformancePack1
/conformance-pack-ID
", "resourceType": "AWS::Config::ConformancePackCompliance", "resourceId": "conformance-pack-ID
", "resourceName": "MyConformancePack1
", "awsRegion": "us-east-1", "tags": {}, "relatedEvents": [], "relationships": [], "configuration": "{\"compliantRuleCount\":1,\"configRuleList\":[{\"configRuleName\":\"RuleName1
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-nnnnnn\",\"complianceType\":\"INSUFFICIENT_DATA\"},{\"configRuleName\":\"RuleName2
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-mmmmmm\",\"complianceType\":\"COMPLIANT\"},{\"configRuleName\":\"RuleName3
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-pppppp\",\"complianceType\":\"INSUFFICIENT_DATA\"}],\"totalRuleCount\":3,\"nonCompliantRuleCount\":0,\"complianceType\":\"COMPLIANT\"}", "supplementaryConfiguration": {} }, { "version": "1.3", "accountId": "768311917693", "configurationItemCaptureTime": 1605551029.515, "configurationItemStatus": "ResourceDiscovered", "configurationStateId": "1605551029515", "configurationItemMD5Hash": "", "resourceType": "AWS::Config::ConformancePackCompliance", "resourceId": "conformance-pack-ID
", "resourceName": "MyConformancePack1
", "awsRegion": "us-east-1", "tags": {}, "relatedEvents": [], "relationships": [], "configuration": "{\"compliantRuleCount\":1,\"configRuleList\":[{\"configRuleName\":\"RuleName1
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-nnnnnn\",\"complianceType\":\"INSUFFICIENT_DATA\"},{\"configRuleName\":\"RuleName2
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-mmmmmm\",\"complianceType\":\"COMPLIANT\"},{\"configRuleName\":\"RuleName3
-conformance-pack-ID
\",\"controls\":[],\"configRuleArn\":\"arn:aws:config:us-east-1:Account ID
:config-rule/aws-service-rule/config-conforms.amazonaws.com/config-rule-pppppp\",\"complianceType\":\"INSUFFICIENT_DATA\"}],\"totalRuleCount\":3,\"nonCompliantRuleCount\":0,\"complianceType\":\"COMPLIANT\"}", "supplementaryConfiguration": {} } ] }
자세한 내용은 지원되는 리소스 유형 (AWS Config) 및 GetResourceConfigHistoryAPI참조에서.