Interface CfnFlow.TaskProperty

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

@Stability(Stable) public static interface CfnFlow.TaskProperty extends software.amazon.jsii.JsiiSerializable
A class for modeling different type of tasks.

Task implementation varies based on the TaskType .

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.appflow.*;
 TaskProperty taskProperty = TaskProperty.builder()
         .sourceFields(List.of("sourceFields"))
         .taskType("taskType")
         // the properties below are optional
         .connectorOperator(ConnectorOperatorProperty.builder()
                 .amplitude("amplitude")
                 .customConnector("customConnector")
                 .datadog("datadog")
                 .dynatrace("dynatrace")
                 .googleAnalytics("googleAnalytics")
                 .inforNexus("inforNexus")
                 .marketo("marketo")
                 .pardot("pardot")
                 .s3("s3")
                 .salesforce("salesforce")
                 .sapoData("sapoData")
                 .serviceNow("serviceNow")
                 .singular("singular")
                 .slack("slack")
                 .trendmicro("trendmicro")
                 .veeva("veeva")
                 .zendesk("zendesk")
                 .build())
         .destinationField("destinationField")
         .taskProperties(List.of(TaskPropertiesObjectProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getSourceFields

      @Stability(Stable) @NotNull List<String> getSourceFields()
      The source fields to which a particular task is applied.
    • getTaskType

      @Stability(Stable) @NotNull String getTaskType()
      Specifies the particular task implementation that Amazon AppFlow performs.

      Allowed values : Arithmetic | Filter | Map | Map_all | Mask | Merge | Truncate | Validate

    • getConnectorOperator

      @Stability(Stable) @Nullable default Object getConnectorOperator()
      The operation to be performed on the provided source fields.
    • getDestinationField

      @Stability(Stable) @Nullable default String getDestinationField()
      A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
    • getTaskProperties

      @Stability(Stable) @Nullable default Object getTaskProperties()
      A map used to store task-related information.

      The execution service looks for particular information based on the TaskType .

    • builder

      @Stability(Stable) static CfnFlow.TaskProperty.Builder builder()
      Returns:
      a CfnFlow.TaskProperty.Builder of CfnFlow.TaskProperty