AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules.
If AWS Config has no current evaluation results for the resource, it returns INSUFFICIENT_DATA
.
This result might indicate one of the following conditions about the rules that evaluate
the resource:
DescribeConfigRuleEvaluationStatus
action
to get the LastSuccessfulInvocationTime
and LastFailedInvocationTime
.config:PutEvaluations
permission. If the rule is a customer managed rule,
verify that the AWS Lambda execution role includes the config:PutEvaluations
permission.NOT_APPLICABLE
for all evaluation results. This can occur if the resources were deleted or removed
from the rule's scope.Namespace: Amazon.ConfigService.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class DescribeComplianceByResourceRequest : AmazonConfigServiceRequest IRequestEvents
The DescribeComplianceByResourceRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeComplianceByResourceRequest() |
Name | Type | Description | |
---|---|---|---|
ComplianceTypes | System.Collections.Generic.List<System.String> |
Gets and sets the property ComplianceTypes.
Filters the results by compliance.
The allowed values are |
|
Limit | System.Int32 |
Gets and sets the property Limit.
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default. |
|
NextToken | System.String |
Gets and sets the property NextToken.
The |
|
ResourceId | System.String |
Gets and sets the property ResourceId.
The ID of the AWS resource for which you want compliance information. You can specify
only one resource ID. If you specify a resource ID, you must also specify a type for
|
|
ResourceType | System.String |
Gets and sets the property ResourceType.
The types of AWS resources for which you want compliance information; for example,
|
.NET Framework:
Supported in: 4.5, 4.0, 3.5