For a specified resource ID, this API operation returns a list of compliance statuses for different resource types¶
Description¶
For a specified resource ID, this API operation returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.
Usage¶
Arguments¶
-
FiltersOne or more compliance filters. Use a filter to return a more specific list of results.
-
ResourceIdsThe ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
-
ResourceTypesThe type of resource from which to get compliance information. Currently, the only supported resource type is
ManagedInstance. -
NextTokenA token to start the list. Use this token to get the next set of results.
-
MaxResultsThe maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Value¶
A list with the following syntax:
list(
ComplianceItems = list(
list(
ComplianceType = "string",
ResourceType = "string",
ResourceId = "string",
Id = "string",
Title = "string",
Status = "COMPLIANT"|"NON_COMPLIANT",
Severity = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"INFORMATIONAL"|"UNSPECIFIED",
ExecutionSummary = list(
ExecutionTime = as.POSIXct(
"2015-01-01"
),
ExecutionId = "string",
ExecutionType = "string"
),
Details = list(
"string"
)
)
),
NextToken = "string"
)