Interface CfnRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.627Z")
@Stability(Stable)
public interface CfnRuleMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRulePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connect.*;
Object assignContactCategoryActions;
Object emptyValue;
Object endAssociatedTasksActions;
CfnRuleMixinProps cfnRuleMixinProps = CfnRuleMixinProps.builder()
.actions(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())
.subject("subject")
.build()))
.submitAutoEvaluationActions(List.of(SubmitAutoEvaluationActionProperty.builder()
.evaluationFormArn("evaluationFormArn")
.build()))
.taskActions(List.of(TaskActionProperty.builder()
.contactFlowArn("contactFlowArn")
.description("description")
.name("name")
.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())
.function("function")
.instanceArn("instanceArn")
.name("name")
.publishStatus("publishStatus")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.triggerEventSource(RuleTriggerEventSourceProperty.builder()
.eventSourceName("eventSourceName")
.integrationAssociationArn("integrationAssociationArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleMixinPropsstatic final classAn implementation forCfnRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRuleMixinProps.Builderbuilder()default ObjectA list of actions to be run when the rule is triggered.default StringThe conditions of the rule.default StringThe Amazon Resource Name (ARN) of the instance.default StringgetName()The name of the rule.default StringThe publish status of the rule.getTags()The tags used to organize, track, or control access for this resource.default ObjectThe event source to trigger the rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
A list of actions to be run when the rule is triggered.Returns union: either
IResolvableorCfnRulePropsMixin.ActionsProperty- See Also:
-
getFunction
The conditions of the rule.- See Also:
-
getInstanceArn
The Amazon Resource Name (ARN) of the instance.- See Also:
-
getName
The name of the rule.- See Also:
-
getPublishStatus
The publish status of the rule.Allowed values :
DRAFT|PUBLISHED- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
getTriggerEventSource
The event source to trigger the rule.Returns union: either
IResolvableorCfnRulePropsMixin.RuleTriggerEventSourceProperty- See Also:
-
builder
- Returns:
- a
CfnRuleMixinProps.BuilderofCfnRuleMixinProps
-