ResourceStatistics
Information about each resource type associated with the 
      groupedByResource statistics.
Contents
- accountId
 - 
               
The ID of the AWS account.
Type: String
Required: No
 - lastGeneratedAt
 - 
               
The timestamp at which the statistics for this resource was last generated.
Type: Timestamp
Required: No
 - resourceId
 - 
               
ID associated with each resource. The following list provides the mapping of the resource type and resource ID.
Mapping of resource and resource ID
- 
                     
AccessKey -
resource.accessKeyDetails.accessKeyId - 
                     
Container -
resource.containerDetails.id - 
                     
ECSCluster -
resource.ecsClusterDetails.name - 
                     
EKSCluster -
resource.eksClusterDetails.name - 
                     
Instance -
resource.instanceDetails.instanceId - 
                     
KubernetesCluster -
resource.kubernetesDetails.kubernetesWorkloadDetails.name - 
                     
Lambda -
resource.lambdaDetails.functionName - 
                     
RDSDBInstance -
resource.rdsDbInstanceDetails.dbInstanceIdentifier - 
                     
S3Bucket -
resource.s3BucketDetails.name - 
                     
S3Object -
resource.s3BucketDetails.name 
Type: String
Required: No
 - 
                     
 - resourceType
 - 
               
The type of resource.
Type: String
Required: No
 - totalFindings
 - 
               
The total number of findings associated with this resource.
Type: Integer
Required: No
 
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: