

# ImageFile


Contains an image file.

## Contents


 ** data **   <a name="iotsitewise-Type-ImageFile-data"></a>
The image file contents, represented as a base64-encoded string. The file size must be less than 1 MB.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 1500000.  
Required: Yes

 ** type **   <a name="iotsitewise-Type-ImageFile-type"></a>
The file type of the image.  
Type: String  
Valid Values: `PNG`   
Required: Yes

## See Also


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/iotsitewise-2019-12-02/ImageFile) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/iotsitewise-2019-12-02/ImageFile) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/iotsitewise-2019-12-02/ImageFile) 