interface GroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Scheduler.Alpha.GroupProps |
![]() | github.com/aws/aws-cdk-go/awscdkscheduleralpha/v2#GroupProps |
![]() | software.amazon.awscdk.services.scheduler.alpha.GroupProps |
![]() | aws_cdk.aws_scheduler_alpha.GroupProps |
![]() | @aws-cdk/aws-scheduler-alpha » GroupProps |
Example
declare const target: targets.LambdaInvoke;
const group = new Group(this, "Group", {
groupName: "MyGroup",
});
new Schedule(this, 'Schedule', {
schedule: ScheduleExpression.rate(Duration.minutes(10)),
target,
group,
});
Properties
Name | Type | Description |
---|---|---|
group | string | The name of the schedule group. |
removal | Removal | The removal policy for the group. |
groupName?
Type:
string
(optional, default: A unique name will be generated)
The name of the schedule group.
Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.
removalPolicy?
Type:
Removal
(optional, default: RemovalPolicy.RETAIN)
The removal policy for the group.
If the group is removed also all schedules are removed.