

# ImageLayerAggregationResponse
<a name="API_ImageLayerAggregationResponse"></a>

A response that contains the results of a finding aggregation by image layer.

## Contents
<a name="API_ImageLayerAggregationResponse_Contents"></a>

 ** accountId **   <a name="inspector2-Type-ImageLayerAggregationResponse-accountId"></a>
The ID of the AWS account that owns the container image hosting the layer image.  
Type: String  
Length Constraints: Fixed length of 12.  
Pattern: `\d{12}`   
Required: Yes

 ** layerHash **   <a name="inspector2-Type-ImageLayerAggregationResponse-layerHash"></a>
The layer hash.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: Yes

 ** repository **   <a name="inspector2-Type-ImageLayerAggregationResponse-repository"></a>
The repository the layer resides in.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: Yes

 ** resourceId **   <a name="inspector2-Type-ImageLayerAggregationResponse-resourceId"></a>
The resource ID of the container image layer.  
Type: String  
Length Constraints: Minimum length of 1.  
Required: Yes

 ** severityCounts **   <a name="inspector2-Type-ImageLayerAggregationResponse-severityCounts"></a>
An object that represents the count of matched findings per severity.  
Type: [SeverityCounts](API_SeverityCounts.md) object  
Required: No

## See Also
<a name="API_ImageLayerAggregationResponse_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/inspector2-2020-06-08/ImageLayerAggregationResponse) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector2-2020-06-08/ImageLayerAggregationResponse) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector2-2020-06-08/ImageLayerAggregationResponse) 