Interface CfnContactProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContactProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:47.675Z")
@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()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContactPropsstatic final classAn implementation forCfnContactProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
The unique and identifiable alias of the contact or escalation plan.- See Also:
-
getDisplayName
The full name of the contact or escalation plan.- See Also:
-
getType
The type of contact.PERSONAL: A single, individual contact.ESCALATION: An escalation plan.ONCALL_SCHEDULE: An on-call schedule.
- See Also:
-
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContact.StageProperty>- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnContactProps.BuilderofCfnContactProps
-