class Aws::ConfigService::Types::DescribeComplianceByResourceRequest
@note When making an API call, you may pass DescribeComplianceByResourceRequest
data as a hash: { resource_type: "StringWithCharLimit256", resource_id: "BaseResourceId", compliance_types: ["COMPLIANT"], # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA limit: 1, next_token: "NextToken", }
@!attribute [rw] resource_type
The types of Amazon Web Services resources for which you want compliance information (for example, `AWS::EC2::Instance`). For this action, you can specify that the resource type is an Amazon Web Services account by specifying `AWS::::Account`. @return [String]
@!attribute [rw] resource_id
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`. @return [String]
@!attribute [rw] compliance_types
Filters the results by compliance. The allowed values are `COMPLIANT`, `NON_COMPLIANT`, and `INSUFFICIENT_DATA`. @return [Array<String>]
@!attribute [rw] 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. @return [Integer]
@!attribute [rw] next_token
The `nextToken` string returned on a previous page that you use to get the next page of results in a paginated response. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceRequest AWS API Documentation
Constants
- SENSITIVE