configservice_get_compliance_summary_by_resource_type: Returns the number of resources that are compliant and the...

Description Usage Arguments Value Request syntax

View source: R/configservice_operations.R

Description

Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.

Usage

1

Arguments

ResourceTypes

Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

For this request, you can specify an AWS resource type such as AWS::EC2::Instance. You can specify that the resource type is an AWS account by specifying AWS::::Account.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
list(
  ComplianceSummariesByResourceType = list(
    list(
      ResourceType = "string",
      ComplianceSummary = list(
        CompliantResourceCount = list(
          CappedCount = 123,
          CapExceeded = TRUE|FALSE
        ),
        NonCompliantResourceCount = list(
          CappedCount = 123,
          CapExceeded = TRUE|FALSE
        ),
        ComplianceSummaryTimestamp = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  )
)

Request syntax

1
2
3
4
5
svc$get_compliance_summary_by_resource_type(
  ResourceTypes = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.