

# S3Resource
<a name="API_S3Resource"></a>

**Note**  
 Amazon Snowball Edge is no longer available to new customers. New customers should explore [Amazon DataSync](https://aws.amazon.com/datasync/) for online transfers, [Amazon Data Transfer Terminal](https://aws.amazon.com/data-transfer-terminal/) for secure physical transfers, or Amazon Partner solutions. For edge computing, explore [Amazon Outposts](https://aws.amazon.com/outposts/).

Each `S3Resource` object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional `KeyRange` value. The length of the range is defined at job creation, and has either an inclusive `BeginMarker`, an inclusive `EndMarker`, or both. Ranges are UTF-8 binary sorted.

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

 ** BucketArn **   <a name="Snowball-Type-S3Resource-BucketArn"></a>
The Amazon Resource Name (ARN) of an Amazon S3 bucket.  
Type: String  
Length Constraints: Maximum length of 255.  
Pattern: `arn:aws.*:*`   
Required: No

 ** KeyRange **   <a name="Snowball-Type-S3Resource-KeyRange"></a>
For export jobs, you can provide an optional `KeyRange` within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive `BeginMarker`, an inclusive `EndMarker`, or both. Ranges are UTF-8 binary sorted.  
Type: [KeyRange](API_KeyRange.md) object  
Required: No

 ** TargetOnDeviceServices **   <a name="Snowball-Type-S3Resource-TargetOnDeviceServices"></a>
Specifies the service or services on the Snowball Edge device that your transferred data will be exported from or imported into. Amazon Snowball Edge supports Amazon S3 and NFS (Network File System).  
Type: Array of [TargetOnDeviceService](API_TargetOnDeviceService.md) objects  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/snowball-2016-06-30/S3Resource) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/snowball-2016-06-30/S3Resource) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/snowball-2016-06-30/S3Resource) 