Interface CfnContactProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.820Z") @Stability(Stable) public interface CfnContactProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnContact.

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.*;
 CfnContactProps cfnContactProps = CfnContactProps.builder()
         .alias("alias")
         .displayName("displayName")
         .type("type")
         // the properties below are optional
         .plan(List.of(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()))
         .build();
 
  • Method Details

    • getAlias

      @Stability(Stable) @NotNull String getAlias()
      The unique and identifiable alias of the contact or escalation plan.
    • getDisplayName

      @Stability(Stable) @NotNull String getDisplayName()
      The full name of the contact or escalation plan.
    • getType

      @Stability(Stable) @NotNull String getType()
      Refers to the type of contact:.

      • PERSONAL : A single, individual contact.
      • ESCALATION : An escalation plan.
      • ONCALL_SCHEDULE : An on-call schedule.
    • getPlan

      @Stability(Stable) @Nullable default Object getPlan()
      A list of stages.

      A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.

    • builder

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