Interface CfnPlan.StageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPlan.StageProperty.Jsii$Proxy
Enclosing class:
CfnPlan

@Stability(Stable) public static interface CfnPlan.StageProperty extends software.amazon.jsii.JsiiSerializable
A set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ssmcontacts.*;
 StageProperty stageProperty = StageProperty.builder()
         .durationInMinutes(123)
         // the properties below are optional
         .targets(List.of(TargetsProperty.builder()
                 .channelTargetInfo(ChannelTargetInfoProperty.builder()
                         .channelId("channelId")
                         .retryIntervalInMinutes(123)
                         .build())
                 .contactTargetInfo(ContactTargetInfoProperty.builder()
                         .contactId("contactId")
                         .isEssential(false)
                         .build())
                 .build()))
         .build();
 
  • Method Details

    • getDurationInMinutes

      @Stability(Stable) @NotNull Number getDurationInMinutes()
      The time to wait until beginning the next stage.

      The duration can only be set to 0 if a target is specified.

    • getTargets

      @Stability(Stable) @Nullable default Object getTargets()
      The contacts or contact methods that the escalation plan or engagement plan is engaging.
    • builder

      @Stability(Stable) static CfnPlan.StageProperty.Builder builder()
      Returns:
      a CfnPlan.StageProperty.Builder of CfnPlan.StageProperty