Skip to content

DescribeComplianceByResourceRequest

Source code in docs_src/capo_config_service/types/describe_compliance_by_resource_request.py
class DescribeComplianceByResourceRequest(TypedDict, closed=True):
    resource_type: NotRequired[
        "capo_config_service.types.string_with_char_limit256.StringWithCharLimit256"
    ]
    """<p>The types of Amazon Web Services resources for which you want compliance information (for example, <code>AWS::EC2::Instance</code>). For this operation, you can specify that the resource type is an Amazon Web Services account by specifying <code>AWS::::Account</code>.</p>"""
    resource_id: NotRequired[
        "capo_config_service.types.base_resource_id.BaseResourceId"
    ]
    """<p>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 <code>ResourceType</code>.</p>"""
    compliance_types: NotRequired[
        "capo_config_service.types.compliance_types.ComplianceTypes"
    ]
    """<p>Filters the results by compliance.</p>"""
    limit: "capo_config_service.types.limit.Limit"
    """<p>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.</p>"""
    next_token: NotRequired["capo_config_service.types.next_token.NextToken"]
    """<p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>"""

compliance_types instance-attribute

compliance_types: NotRequired[ComplianceTypes]

Filters the results by compliance.

limit instance-attribute

limit: 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.

next_token instance-attribute

next_token: NotRequired[NextToken]

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

resource_id instance-attribute

resource_id: NotRequired[BaseResourceId]

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.

resource_type instance-attribute

resource_type: NotRequired[StringWithCharLimit256]

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.