

# LayerFailure
<a name="API_LayerFailure"></a>

An object representing an Amazon ECR image layer failure.

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

 ** failureCode **   <a name="ECR-Type-LayerFailure-failureCode"></a>
The failure code associated with the failure.  
Type: String  
Valid Values: `InvalidLayerDigest | MissingLayerDigest`   
Required: No

 ** failureReason **   <a name="ECR-Type-LayerFailure-failureReason"></a>
The reason for the failure.  
Type: String  
Required: No

 ** layerDigest **   <a name="ECR-Type-LayerFailure-layerDigest"></a>
The layer digest associated with the failure.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1000.  
Required: No

## See Also
<a name="API_LayerFailure_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/ecr-2015-09-21/LayerFailure) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-2015-09-21/LayerFailure) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-2015-09-21/LayerFailure) 