Interface CfnRule.ActionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRule.ActionsProperty.Jsii$Proxy
- Enclosing class:
CfnRule
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.*;
Object assignContactCategoryActions;
Object emptyValue;
Object endAssociatedTasksActions;
ActionsProperty actionsProperty = ActionsProperty.builder()
.assignContactCategoryActions(List.of(assignContactCategoryActions))
.createCaseActions(List.of(CreateCaseActionProperty.builder()
.fields(List.of(FieldProperty.builder()
.id("id")
.value(FieldValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.build()))
.templateId("templateId")
.build()))
.endAssociatedTasksActions(List.of(endAssociatedTasksActions))
.eventBridgeActions(List.of(EventBridgeActionProperty.builder()
.name("name")
.build()))
.sendNotificationActions(List.of(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()))
.submitAutoEvaluationActions(List.of(SubmitAutoEvaluationActionProperty.builder()
.evaluationFormArn("evaluationFormArn")
.build()))
.taskActions(List.of(TaskActionProperty.builder()
.contactFlowArn("contactFlowArn")
.name("name")
// the properties below are optional
.description("description")
.references(Map.of(
"referencesKey", ReferenceProperty.builder()
.type("type")
.value("value")
.build()))
.build()))
.updateCaseActions(List.of(UpdateCaseActionProperty.builder()
.fields(List.of(FieldProperty.builder()
.id("id")
.value(FieldValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.emptyValue(emptyValue)
.stringValue("stringValue")
.build())
.build()))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRule.ActionsPropertystatic final classAn implementation forCfnRule.ActionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInformation about the contact category action.default ObjectThis action will create a case when a rule is triggered.default ObjectThis action will end associated tasks when a rule is triggered.default ObjectInformation about the EventBridge action.default ObjectInformation about the send notification action.default ObjectThis action will submit an auto contact evaluation when a rule is triggered.default ObjectInformation about the task action.default ObjectThis action will update a case when a rule is triggered.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssignContactCategoryActions
Information about the contact category action.The syntax can be empty, for example,
{}.Returns union: either Listinvalid input: '<'
Object> orIResolvable- See Also:
-
getCreateCaseActions
This action will create a case when a rule is triggered.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.CreateCaseActionProperty>- See Also:
-
getEndAssociatedTasksActions
This action will end associated tasks when a rule is triggered.Returns union: either Listinvalid input: '<'
Object> orIResolvable- See Also:
-
getEventBridgeActions
Information about the EventBridge action.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.EventBridgeActionProperty>- See Also:
-
getSendNotificationActions
Information about the send notification action.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.SendNotificationActionProperty>- See Also:
-
getSubmitAutoEvaluationActions
This action will submit an auto contact evaluation when a rule is triggered.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.SubmitAutoEvaluationActionProperty>- See Also:
-
getTaskActions
Information about the task action.This field is required if
TriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreateReturns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.TaskActionProperty>- See Also:
-
getUpdateCaseActions
This action will update a case when a rule is triggered.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRule.UpdateCaseActionProperty>- See Also:
-
builder
- Returns:
- a
CfnRule.ActionsProperty.BuilderofCfnRule.ActionsProperty
-