# AWS::Timestream::ScheduledQuery S3Configuration Details on S3 location for error reports that result from running a query. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "BucketName" : String, "ObjectKeyPrefix" : String, "EncryptionOption" : String }### YAML
BucketName: String ObjectKeyPrefix: String EncryptionOption: String## Properties #### BucketName Name of the S3 bucket under which error reports will be created. _Required_: Yes _Type_: String _Minimum_:
3
_Maximum_: 63
_Pattern_: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### ObjectKeyPrefix
Prefix for error report keys.
_Required_: No
_Type_: String
_Minimum_: 1
_Maximum_: 896
_Pattern_: [a-zA-Z0-9|!\-_*'\(\)]([a-zA-Z0-9]|[!\-_*'\(\)\/.])+
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### EncryptionOption
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
_Required_: No
_Type_: String
_Allowed Values_: SSE_S3
| SSE_KMS
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)