Interface GroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-30T01:25:20.380Z") @Stability(Experimental) public interface GroupProps extends software.amazon.jsii.JsiiSerializable
Example:

 LambdaInvoke target;
 Group group = Group.Builder.create(this, "Group")
         .groupName("MyGroup")
         .build();
 Schedule.Builder.create(this, "Schedule")
         .schedule(ScheduleExpression.rate(Duration.minutes(10)))
         .target(target)
         .group(group)
         .build();
 
  • Method Details

    • getGroupName

      @Stability(Experimental) @Nullable default String getGroupName()
      (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

    • getRemovalPolicy

      @Stability(Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
      (experimental) The removal policy for the group.

      If the group is removed also all schedules are removed.

      Default: RemovalPolicy.RETAIN

    • builder

      @Stability(Experimental) static GroupProps.Builder builder()
      Returns:
      a GroupProps.Builder of GroupProps