Interface CfnRule.SendNotificationActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.SendNotificationActionProperty.Jsii$Proxy
- Enclosing class:
CfnRule
@Stability(Stable)
public static interface CfnRule.SendNotificationActionProperty
extends software.amazon.jsii.JsiiSerializable
Information about the send notification action.
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.connect.*;
SendNotificationActionProperty sendNotificationActionProperty = SendNotificationActionProperty.builder()
.content("content")
.contentType("contentType")
.deliveryMethod("deliveryMethod")
.recipient(NotificationRecipientTypeProperty.builder()
.userArns(List.of("userArns"))
.userTags(Map.of(
"userTagsKey", "userTags"))
.build())
// the properties below are optional
.subject("subject")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRule.SendNotificationActionPropertystatic final classAn implementation forCfnRule.SendNotificationActionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
Notification content.Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .
- See Also:
-
getContentType
Content type format.Allowed value :
PLAIN_TEXT- See Also:
-
getDeliveryMethod
Notification delivery method.Allowed value :
EMAIL- See Also:
-
getRecipient
Notification recipient.Returns union: either
IResolvableorCfnRule.NotificationRecipientTypeProperty- See Also:
-
getSubject
The subject of the email if the delivery method isEMAIL.Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .
- See Also:
-
builder
-