View a markdown version of this page

SyncSchedule - AWS Context

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

Important

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

cronExpression

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

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

For more information about using this API in one of the language-specific AWS SDKs, see the following: