# ScheduleGroupProps

Properties for a Schedule Group.

Extends: ScheduleGroupProps
Used as props by: ScheduleGroup

- Source: [`aws-scheduler/lib/schedule-group.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-scheduler/lib/schedule-group.ts#L16)
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

```ts
declare const target: targets.LambdaInvoke;

const scheduleGroup = new ScheduleGroup(this, "ScheduleGroup", {
    scheduleGroupName: "MyScheduleGroup",
});

new Schedule(this, 'Schedule', {
    schedule: ScheduleExpression.rate(Duration.minutes(10)),
    target,
    scheduleGroup,
});
```

## Properties

- `removalPolicy`: [RemovalPolicy](/cdk/api/v2/docs/aws-cdk-lib.RemovalPolicy.html) = RemovalPolicy.RETAIN — The removal policy for the group.

  If the group is removed also all schedules are removed.

- `scheduleGroupName`: string — The name of the schedule group.

  **Default:** A unique name will be generated

  Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.
