

# SyncSchedule

How often AWS Context re-syncs metadata from a third-party source. Applies to DATABRICKS and SNOWFLAKE. For GLUE\_DATA\_CATALOG and BEDROCK\_KNOWLEDGE\_BASE, which are event-driven, it fails with ValidationException. Specify exactly one member: a fixed cadence or an exact cron expression.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** cronExpression **   <a name="context-Type-SyncSchedule-cronExpression"></a>
Not supported. Catalog synchronization doesn't support cron schedules, so publishing a connection with this member returns `ValidationException`. Use `frequency` instead.  
Type: String  
Length Constraints: Minimum length of 13. Maximum length of 256.  
Pattern: `cron\(([^\s()]+ ){5}[^\s()]+\)`   
Required: No

 ** frequency **   <a name="context-Type-SyncSchedule-frequency"></a>
How often catalog synchronization runs. AWS Glue determines the schedule's start time. Valid values:  
+  `HOURLY` - Every 60 minutes.
+  `DAILY` - Every 1,440 minutes.
+  `WEEKLY` - Not supported. You can save this value on a connection created with `publish` set to `false`, but publishing the connection with this value returns `ValidationException`.
+  `MONTHLY` - Not supported. You can save this value on a connection created with `publish` set to `false`, but publishing the connection with this value returns `ValidationException`.
Type: String  
Valid Values: `HOURLY | DAILY | WEEKLY | MONTHLY`   
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/context-2022-07-26/SyncSchedule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/SyncSchedule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/SyncSchedule) 