Interface CfnContact.StageProperty

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

@Stability(Stable) public static interface CfnContact.StageProperty extends software.amazon.jsii.JsiiSerializable
The Stage property type specifies 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)
         .rotationIds(List.of("rotationIds"))
         .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) @Nullable default Number getDurationInMinutes()
      The time to wait until beginning the next stage.

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

    • getRotationIds

      @Stability(Stable) @Nullable default List<String> getRotationIds()
      The Amazon Resource Names (ARNs) of the on-call rotations associated with the plan.
    • 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 CfnContact.StageProperty.Builder builder()
      Returns:
      a CfnContact.StageProperty.Builder of CfnContact.StageProperty