Interface CfnRule.TaskActionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRule.TaskActionProperty.Jsii$Proxy
Enclosing class:
CfnRule

@Stability(Stable) public static interface CfnRule.TaskActionProperty extends software.amazon.jsii.JsiiSerializable
Information about the task action.

This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

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.*;
 TaskActionProperty taskActionProperty = 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();
 
  • Method Details

    • getContactFlowArn

      @Stability(Stable) @NotNull String getContactFlowArn()
      The Amazon Resource Name (ARN) of the flow.
    • getName

      @Stability(Stable) @NotNull String getName()
      The name.

      Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description.

      Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide .

    • getReferences

      @Stability(Stable) @Nullable default Object getReferences()
      Information about the reference when the referenceType is URL .

      Otherwise, null. URL is the only accepted type. (Supports variable injection in the Value field.)

    • builder

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