GroupProps

class aws_cdk.aws_scheduler_alpha.GroupProps(*, group_name=None, removal_policy=None)

Bases: object

Parameters:
  • group_name (Optional[str]) – (experimental) The name of the schedule group. Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed. Default: - A unique name will be generated

  • removal_policy (Optional[RemovalPolicy]) – (experimental) The removal policy for the group. If the group is removed also all schedules are removed. Default: RemovalPolicy.RETAIN

Stability:

experimental

ExampleMetadata:

infused

Example:

# target: targets.LambdaInvoke


group = Group(self, "Group",
    group_name="MyGroup"
)

Schedule(self, "Schedule",
    schedule=ScheduleExpression.rate(Duration.minutes(10)),
    target=target,
    group=group
)

Attributes

group_name

(experimental) The name of the schedule group.

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

Default:
  • A unique name will be generated

Stability:

experimental

removal_policy

(experimental) The removal policy for the group.

If the group is removed also all schedules are removed.

Default:

RemovalPolicy.RETAIN

Stability:

experimental