

# ImageReference
<a name="API_ImageReference"></a>

A resource that is referencing an image.

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

 ** arn **   
The Amazon Resource Name (ARN) of the resource referencing the image.  
Type: String  
Required: No

 ** imageId **   
The ID of the referenced image.  
Type: String  
Required: No

 ** resourceType **   
The type of resource referencing the image.  
Type: String  
Valid Values: `ec2:Instance | ec2:LaunchTemplate | ssm:Parameter | imagebuilder:ImageRecipe | imagebuilder:ContainerRecipe`   
Required: No

## See Also
<a name="API_ImageReference_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/ec2-2016-11-15/ImageReference) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ec2-2016-11-15/ImageReference) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ec2-2016-11-15/ImageReference) 