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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlow.TaskPropertystatic final classAn implementation forCfnFlow.TaskProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFlow.TaskProperty.Builderbuilder()default ObjectThe operation to be performed on the provided source fields.default StringA field in a destination connector, or a field value against which Amazon AppFlow validates a source field.The source fields to which a particular task is applied.default ObjectA map used to store task-related information.Specifies the particular task implementation that Amazon AppFlow performs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceFields
The source fields to which a particular task is applied.- See Also:
-
getTaskType
Specifies the particular task implementation that Amazon AppFlow performs.Allowed values :
Arithmetic|Filter|Map|Map_all|Mask|Merge|Truncate|Validate- See Also:
-
getConnectorOperator
The operation to be performed on the provided source fields.Returns union: either
IResolvableorCfnFlow.ConnectorOperatorProperty- See Also:
-
getDestinationField
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.- See Also:
-
getTaskProperties
A map used to store task-related information.The execution service looks for particular information based on the
TaskType.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFlow.TaskPropertiesObjectProperty>- See Also:
-
builder
- Returns:
- a
CfnFlow.TaskProperty.BuilderofCfnFlow.TaskProperty
-