SourceFlowConfigProperty Struct
The configuration that controls how Customer Profiles retrieves data from the source.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const sourceFlowConfigProperty: customerprofiles.CfnIntegration.SourceFlowConfigProperty = {
connectorType: 'connectorType',
sourceConnectorProperties: {
marketo: {
object: 'object',
},
s3: {
bucketName: 'bucketName',
// the properties below are optional
bucketPrefix: 'bucketPrefix',
},
salesforce: {
object: 'object',
// the properties below are optional
enableDynamicFieldUpdate: false,
includeDeletedRecords: false,
},
serviceNow: {
object: 'object',
},
zendesk: {
object: 'object',
},
},
// the properties below are optional
connectorProfileName: 'connectorProfileName',
incrementalPullConfig: {
datetimeTypeFieldName: 'datetimeTypeFieldName',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_customerprofiles as customerprofiles
source_flow_config_property = customerprofiles.CfnIntegration.SourceFlowConfigProperty(
connector_type="connectorType",
source_connector_properties=customerprofiles.CfnIntegration.SourceConnectorPropertiesProperty(
marketo=customerprofiles.CfnIntegration.MarketoSourcePropertiesProperty(
object="object"
),
s3=customerprofiles.CfnIntegration.S3SourcePropertiesProperty(
bucket_name="bucketName",
# the properties below are optional
bucket_prefix="bucketPrefix"
),
salesforce=customerprofiles.CfnIntegration.SalesforceSourcePropertiesProperty(
object="object",
# the properties below are optional
enable_dynamic_field_update=False,
include_deleted_records=False
),
service_now=customerprofiles.CfnIntegration.ServiceNowSourcePropertiesProperty(
object="object"
),
zendesk=customerprofiles.CfnIntegration.ZendeskSourcePropertiesProperty(
object="object"
)
),
# the properties below are optional
connector_profile_name="connectorProfileName",
incremental_pull_config=customerprofiles.CfnIntegration.IncrementalPullConfigProperty(
datetime_type_field_name="datetimeTypeFieldName"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.customerprofiles.*;
SourceFlowConfigProperty sourceFlowConfigProperty = SourceFlowConfigProperty.builder()
.connectorType("connectorType")
.sourceConnectorProperties(SourceConnectorPropertiesProperty.builder()
.marketo(MarketoSourcePropertiesProperty.builder()
.object("object")
.build())
.s3(S3SourcePropertiesProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.bucketPrefix("bucketPrefix")
.build())
.salesforce(SalesforceSourcePropertiesProperty.builder()
.object("object")
// the properties below are optional
.enableDynamicFieldUpdate(false)
.includeDeletedRecords(false)
.build())
.serviceNow(ServiceNowSourcePropertiesProperty.builder()
.object("object")
.build())
.zendesk(ZendeskSourcePropertiesProperty.builder()
.object("object")
.build())
.build())
// the properties below are optional
.connectorProfileName("connectorProfileName")
.incrementalPullConfig(IncrementalPullConfigProperty.builder()
.datetimeTypeFieldName("datetimeTypeFieldName")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CustomerProfiles;
var sourceFlowConfigProperty = new SourceFlowConfigProperty {
ConnectorType = "connectorType",
SourceConnectorProperties = new SourceConnectorPropertiesProperty {
Marketo = new MarketoSourcePropertiesProperty {
Object = "object"
},
S3 = new S3SourcePropertiesProperty {
BucketName = "bucketName",
// the properties below are optional
BucketPrefix = "bucketPrefix"
},
Salesforce = new SalesforceSourcePropertiesProperty {
Object = "object",
// the properties below are optional
EnableDynamicFieldUpdate = false,
IncludeDeletedRecords = false
},
ServiceNow = new ServiceNowSourcePropertiesProperty {
Object = "object"
},
Zendesk = new ZendeskSourcePropertiesProperty {
Object = "object"
}
},
// the properties below are optional
ConnectorProfileName = "connectorProfileName",
IncrementalPullConfig = new IncrementalPullConfigProperty {
DatetimeTypeFieldName = "datetimeTypeFieldName"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
sourceFlowConfigProperty := &SourceFlowConfigProperty{
ConnectorType: jsii.String("connectorType"),
SourceConnectorProperties: &SourceConnectorPropertiesProperty{
Marketo: &MarketoSourcePropertiesProperty{
Object: jsii.String("object"),
},
S3: &S3SourcePropertiesProperty{
BucketName: jsii.String("bucketName"),
// the properties below are optional
BucketPrefix: jsii.String("bucketPrefix"),
},
Salesforce: &SalesforceSourcePropertiesProperty{
Object: jsii.String("object"),
// the properties below are optional
EnableDynamicFieldUpdate: jsii.Boolean(false),
IncludeDeletedRecords: jsii.Boolean(false),
},
ServiceNow: &ServiceNowSourcePropertiesProperty{
Object: jsii.String("object"),
},
Zendesk: &ZendeskSourcePropertiesProperty{
Object: jsii.String("object"),
},
},
// the properties below are optional
ConnectorProfileName: jsii.String("connectorProfileName"),
IncrementalPullConfig: &IncrementalPullConfigProperty{
DatetimeTypeFieldName: jsii.String("datetimeTypeFieldName"),
},
}
Properties
connectorProfileNameoptionalstringconnector_profile_nameoptionalstrconnectorProfileNameoptionalStringConnectorProfileNameoptionalstringConnectorProfileNameoptional*string #The name of the Amazon AppFlow connector profile.
This name must be unique for each connector profile in the AWS account .
connectorTypestringconnector_typestrconnectorTypeStringConnectorTypestringConnectorType*string required #The type of connector, such as Salesforce, Marketo, and so on.
incrementalPullConfigoptionalIResolvable | CfnIntegration.incremental_pull_configoptionaltyping.Union[IResolvable, IncrementalPullConfigProperty]incrementalPullConfigoptionalIResolvableIncrementalPullConfigoptionalIResolvableIncrementalPullConfigoptionalinterface{} #Defines the configuration for a scheduled incremental data pull.
If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
sourceConnectorPropertiesIResolvable | CfnIntegration.source_connector_propertiestyping.Union[IResolvable, SourceConnectorPropertiesProperty]sourceConnectorPropertiesIResolvableSourceConnectorPropertiesIResolvableSourceConnectorPropertiesinterface{} required #Specifies the information that is required to query a particular source connector.