

# FileSource
<a name="API_FileSource"></a>

Contains details regarding the file source.

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

 ** S3Uri **   <a name="sagemaker-Type-FileSource-S3Uri"></a>
The Amazon S3 URI for the file source.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Pattern: `(https|s3)://([^/]+)/?(.*)`   
Required: Yes

 ** ContentDigest **   <a name="sagemaker-Type-FileSource-ContentDigest"></a>
The digest of the file source.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 72.  
Pattern: `[Ss][Hh][Aa]256:[0-9a-fA-F]{64}`   
Required: No

 ** ContentType **   <a name="sagemaker-Type-FileSource-ContentType"></a>
The type of content stored in the file source.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `.*`   
Required: No

## See Also
<a name="API_FileSource_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/sagemaker-2017-07-24/FileSource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/FileSource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/FileSource) 