Indicates whether the specified Amazon Web Services resources are compliant
Source:R/configservice_operations.R
configservice_describe_compliance_by_resource.RdIndicates 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.
Usage
configservice_describe_compliance_by_resource(
ResourceType = NULL,
ResourceId = NULL,
ComplianceTypes = NULL,
Limit = NULL,
NextToken = NULL
)Arguments
- ResourceType
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 specifyingAWS::::Account.- ResourceId
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.- ComplianceTypes
Filters the results by compliance.
- Limit
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.
- NextToken
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.