Show / Hide Table of Contents

Interface ICfnFlowProps

Properties for defining a CfnFlow.

Namespace: Amazon.CDK.AWS.AppFlow
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnFlowProps
Syntax (vb)
Public Interface ICfnFlowProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppFlow;

             var cfnFlowProps = new CfnFlowProps {
                 DestinationFlowConfigList = new [] { new DestinationFlowConfigProperty {
                     ConnectorType = "connectorType",
                     DestinationConnectorProperties = new DestinationConnectorPropertiesProperty {
                         CustomConnector = new CustomConnectorDestinationPropertiesProperty {
                             EntityName = "entityName",

                             // the properties below are optional
                             CustomProperties = new Dictionary<string, string> {
                                 { "customPropertiesKey", "customProperties" }
                             },
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             },
                             IdFieldNames = new [] { "idFieldNames" },
                             WriteOperationType = "writeOperationType"
                         },
                         EventBridge = new EventBridgeDestinationPropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             }
                         },
                         LookoutMetrics = new LookoutMetricsDestinationPropertiesProperty {
                             Object = "object"
                         },
                         Marketo = new MarketoDestinationPropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             }
                         },
                         Redshift = new RedshiftDestinationPropertiesProperty {
                             IntermediateBucketName = "intermediateBucketName",
                             Object = "object",

                             // the properties below are optional
                             BucketPrefix = "bucketPrefix",
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             }
                         },
                         S3 = new S3DestinationPropertiesProperty {
                             BucketName = "bucketName",

                             // the properties below are optional
                             BucketPrefix = "bucketPrefix",
                             S3OutputFormatConfig = new S3OutputFormatConfigProperty {
                                 AggregationConfig = new AggregationConfigProperty {
                                     AggregationType = "aggregationType",
                                     TargetFileSize = 123
                                 },
                                 FileType = "fileType",
                                 PrefixConfig = new PrefixConfigProperty {
                                     PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
                                     PrefixFormat = "prefixFormat",
                                     PrefixType = "prefixType"
                                 },
                                 PreserveSourceDataTyping = false
                             }
                         },
                         Salesforce = new SalesforceDestinationPropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             DataTransferApi = "dataTransferApi",
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             },
                             IdFieldNames = new [] { "idFieldNames" },
                             WriteOperationType = "writeOperationType"
                         },
                         SapoData = new SAPODataDestinationPropertiesProperty {
                             ObjectPath = "objectPath",

                             // the properties below are optional
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             },
                             IdFieldNames = new [] { "idFieldNames" },
                             SuccessResponseHandlingConfig = new SuccessResponseHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix"
                             },
                             WriteOperationType = "writeOperationType"
                         },
                         Snowflake = new SnowflakeDestinationPropertiesProperty {
                             IntermediateBucketName = "intermediateBucketName",
                             Object = "object",

                             // the properties below are optional
                             BucketPrefix = "bucketPrefix",
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             }
                         },
                         Upsolver = new UpsolverDestinationPropertiesProperty {
                             BucketName = "bucketName",
                             S3OutputFormatConfig = new UpsolverS3OutputFormatConfigProperty {
                                 PrefixConfig = new PrefixConfigProperty {
                                     PathPrefixHierarchy = new [] { "pathPrefixHierarchy" },
                                     PrefixFormat = "prefixFormat",
                                     PrefixType = "prefixType"
                                 },

                                 // the properties below are optional
                                 AggregationConfig = new AggregationConfigProperty {
                                     AggregationType = "aggregationType",
                                     TargetFileSize = 123
                                 },
                                 FileType = "fileType"
                             },

                             // the properties below are optional
                             BucketPrefix = "bucketPrefix"
                         },
                         Zendesk = new ZendeskDestinationPropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             ErrorHandlingConfig = new ErrorHandlingConfigProperty {
                                 BucketName = "bucketName",
                                 BucketPrefix = "bucketPrefix",
                                 FailOnFirstError = false
                             },
                             IdFieldNames = new [] { "idFieldNames" },
                             WriteOperationType = "writeOperationType"
                         }
                     },

                     // the properties below are optional
                     ApiVersion = "apiVersion",
                     ConnectorProfileName = "connectorProfileName"
                 } },
                 FlowName = "flowName",
                 SourceFlowConfig = new SourceFlowConfigProperty {
                     ConnectorType = "connectorType",
                     SourceConnectorProperties = new SourceConnectorPropertiesProperty {
                         Amplitude = new AmplitudeSourcePropertiesProperty {
                             Object = "object"
                         },
                         CustomConnector = new CustomConnectorSourcePropertiesProperty {
                             EntityName = "entityName",

                             // the properties below are optional
                             CustomProperties = new Dictionary<string, string> {
                                 { "customPropertiesKey", "customProperties" }
                             },
                             DataTransferApi = new DataTransferApiProperty {
                                 Name = "name",
                                 Type = "type"
                             }
                         },
                         Datadog = new DatadogSourcePropertiesProperty {
                             Object = "object"
                         },
                         Dynatrace = new DynatraceSourcePropertiesProperty {
                             Object = "object"
                         },
                         GoogleAnalytics = new GoogleAnalyticsSourcePropertiesProperty {
                             Object = "object"
                         },
                         InforNexus = new InforNexusSourcePropertiesProperty {
                             Object = "object"
                         },
                         Marketo = new MarketoSourcePropertiesProperty {
                             Object = "object"
                         },
                         Pardot = new PardotSourcePropertiesProperty {
                             Object = "object"
                         },
                         S3 = new S3SourcePropertiesProperty {
                             BucketName = "bucketName",
                             BucketPrefix = "bucketPrefix",

                             // the properties below are optional
                             S3InputFormatConfig = new S3InputFormatConfigProperty {
                                 S3InputFileType = "s3InputFileType"
                             }
                         },
                         Salesforce = new SalesforceSourcePropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             DataTransferApi = "dataTransferApi",
                             EnableDynamicFieldUpdate = false,
                             IncludeDeletedRecords = false
                         },
                         SapoData = new SAPODataSourcePropertiesProperty {
                             ObjectPath = "objectPath",

                             // the properties below are optional
                             PaginationConfig = new SAPODataPaginationConfigProperty {
                                 MaxPageSize = 123
                             },
                             ParallelismConfig = new SAPODataParallelismConfigProperty {
                                 MaxParallelism = 123
                             }
                         },
                         ServiceNow = new ServiceNowSourcePropertiesProperty {
                             Object = "object"
                         },
                         Singular = new SingularSourcePropertiesProperty {
                             Object = "object"
                         },
                         Slack = new SlackSourcePropertiesProperty {
                             Object = "object"
                         },
                         Trendmicro = new TrendmicroSourcePropertiesProperty {
                             Object = "object"
                         },
                         Veeva = new VeevaSourcePropertiesProperty {
                             Object = "object",

                             // the properties below are optional
                             DocumentType = "documentType",
                             IncludeAllVersions = false,
                             IncludeRenditions = false,
                             IncludeSourceFiles = false
                         },
                         Zendesk = new ZendeskSourcePropertiesProperty {
                             Object = "object"
                         }
                     },

                     // the properties below are optional
                     ApiVersion = "apiVersion",
                     ConnectorProfileName = "connectorProfileName",
                     IncrementalPullConfig = new IncrementalPullConfigProperty {
                         DatetimeTypeFieldName = "datetimeTypeFieldName"
                     }
                 },
                 Tasks = new [] { new TaskProperty {
                     SourceFields = new [] { "sourceFields" },
                     TaskType = "taskType",

                     // the properties below are optional
                     ConnectorOperator = new ConnectorOperatorProperty {
                         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"
                     },
                     DestinationField = "destinationField",
                     TaskProperties = new [] { new TaskPropertiesObjectProperty {
                         Key = "key",
                         Value = "value"
                     } }
                 } },
                 TriggerConfig = new TriggerConfigProperty {
                     TriggerType = "triggerType",

                     // the properties below are optional
                     TriggerProperties = new ScheduledTriggerPropertiesProperty {
                         ScheduleExpression = "scheduleExpression",

                         // the properties below are optional
                         DataPullMode = "dataPullMode",
                         FirstExecutionFrom = 123,
                         FlowErrorDeactivationThreshold = 123,
                         ScheduleEndTime = 123,
                         ScheduleOffset = 123,
                         ScheduleStartTime = 123,
                         TimeZone = "timeZone"
                     }
                 },

                 // the properties below are optional
                 Description = "description",
                 FlowStatus = "flowStatus",
                 KmsArn = "kmsArn",
                 MetadataCatalogConfig = new MetadataCatalogConfigProperty {
                     GlueDataCatalog = new GlueDataCatalogProperty {
                         DatabaseName = "databaseName",
                         RoleArn = "roleArn",
                         TablePrefix = "tablePrefix"
                     }
                 },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Properties

Description

A user-entered description of the flow.

DestinationFlowConfigList

The configuration that controls how Amazon AppFlow places data in the destination connector.

FlowName

The specified name of the flow.

FlowStatus

Sets the status of the flow. You can specify one of the following values:.

KmsArn

The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.

MetadataCatalogConfig

Specifies the configuration that Amazon AppFlow uses when it catalogs your data.

SourceFlowConfig

Contains information about the configuration of the source connector used in the flow.

Tags

The tags used to organize, track, or control access for your flow.

Tasks

A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

TriggerConfig

The trigger settings that determine how and when Amazon AppFlow runs the specified flow.

Properties

Description

A user-entered description of the flow.

string? Description { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-description

DestinationFlowConfigList

The configuration that controls how Amazon AppFlow places data in the destination connector.

object DestinationFlowConfigList { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-destinationflowconfiglist

Type union: either IResolvable or (either IResolvable or CfnFlow.IDestinationFlowConfigProperty)[]

FlowName

The specified name of the flow.

string FlowName { get; }
Property Value

string

Remarks

Spaces are not allowed. Use underscores (_) or hyphens (-) only.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-flowname

FlowStatus

Sets the status of the flow. You can specify one of the following values:.

string? FlowStatus { get; }
Property Value

string

Remarks

    If you omit the FlowStatus parameter, Amazon AppFlow creates the flow with a default status. The default status for on-demand flows is Active. The default status for scheduled and event-triggered flows is Draft, which means they’re not yet active.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-flowstatus

    KmsArn

    The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.

    object? KmsArn { get; }
    Property Value

    object

    Remarks

    This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-kmsarn

    Type union: either string or IKeyRef

    MetadataCatalogConfig

    Specifies the configuration that Amazon AppFlow uses when it catalogs your data.

    object? MetadataCatalogConfig { get; }
    Property Value

    object

    Remarks

    When Amazon AppFlow catalogs your data, it stores metadata in a data catalog.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-metadatacatalogconfig

    Type union: either IResolvable or CfnFlow.IMetadataCatalogConfigProperty

    SourceFlowConfig

    Contains information about the configuration of the source connector used in the flow.

    object SourceFlowConfig { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-sourceflowconfig

    Type union: either IResolvable or CfnFlow.ISourceFlowConfigProperty

    Tags

    The tags used to organize, track, or control access for your flow.

    ICfnTag[]? Tags { get; }
    Property Value

    ICfnTag[]

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tags

    Tasks

    A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.

    object Tasks { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-tasks

    Type union: either IResolvable or (either IResolvable or CfnFlow.ITaskProperty)[]

    TriggerConfig

    The trigger settings that determine how and when Amazon AppFlow runs the specified flow.

    object TriggerConfig { get; }
    Property Value

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appflow-flow.html#cfn-appflow-flow-triggerconfig

    Type union: either IResolvable or CfnFlow.ITriggerConfigProperty

    Back to top Generated by DocFX