

# TargetObjectKeyFormat
<a name="API_TargetObjectKeyFormat"></a>

Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.

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

 ** PartitionedPrefix **   <a name="AmazonS3-Type-TargetObjectKeyFormat-PartitionedPrefix"></a>
Partitioned S3 key for log objects.  
Type: [PartitionedPrefix](API_PartitionedPrefix.md) data type  
Required: No

 ** SimplePrefix **   <a name="AmazonS3-Type-TargetObjectKeyFormat-SimplePrefix"></a>
To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to \$1\$1.  
Type: [SimplePrefix](API_SimplePrefix.md) data type  
Required: No

## See Also
<a name="API_TargetObjectKeyFormat_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/s3-2006-03-01/TargetObjectKeyFormat) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/s3-2006-03-01/TargetObjectKeyFormat) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/s3-2006-03-01/TargetObjectKeyFormat) 