# ScheduleProperty

A scheduling object using a `cron` statement to schedule an event.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const scheduleProperty: glue.CfnCrawler.ScheduleProperty = {
  scheduleExpression: 'scheduleExpression',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

schedule_property = glue.CfnCrawler.ScheduleProperty(
    schedule_expression="scheduleExpression"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

ScheduleProperty scheduleProperty = ScheduleProperty.builder()
        .scheduleExpression("scheduleExpression")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var scheduleProperty = new ScheduleProperty {
    ScheduleExpression = "scheduleExpression"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scheduleProperty := &ScheduleProperty{
	ScheduleExpression: jsii.String("scheduleExpression"),
}
```

## Properties

- `scheduleExpression`: string — A `cron` expression used to specify the schedule.

  For more information, see [Time-Based Schedules for Jobs and Crawlers](https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html) . For example, to run something every day at 12:15 UTC, specify `cron(15 12 * * ? *)` .
