Indicates whether the specified Amazon Web Services resources are compliant. If a resource is noncompliant, this operation returns the number of Config rules that the resource does not comply with.
See https://www.paws-r-sdk.com/docs/configservice_describe_compliance_by_resource/ for full documentation.
configservice_describe_compliance_by_resource(
ResourceType = NULL,
ResourceId = NULL,
ComplianceTypes = NULL,
Limit = NULL,
NextToken = NULL
)
The types of Amazon Web Services resources for which you want compliance
information (for example, AWS::EC2::Instance
). For this operation, you
can specify that the resource type is an Amazon Web Services account by
specifying AWS::::Account
.
The ID of the Amazon Web Services 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
.
Filters the results by compliance.
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.