CfnIntegrationProps Struct
Properties for defining a CfnIntegration.
| 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 cfnIntegrationProps: customerprofiles.CfnIntegrationProps = {
domainName: 'domainName',
// the properties below are optional
eventTriggerNames: ['eventTriggerNames'],
flowDefinition: {
flowName: 'flowName',
kmsArn: 'kmsArn',
sourceFlowConfig: {
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',
},
},
tasks: [{
sourceFields: ['sourceFields'],
taskType: 'taskType',
// the properties below are optional
connectorOperator: {
marketo: 'marketo',
s3: 's3',
salesforce: 'salesforce',
serviceNow: 'serviceNow',
zendesk: 'zendesk',
},
destinationField: 'destinationField',
taskProperties: [{
operatorPropertyKey: 'operatorPropertyKey',
property: 'property',
}],
}],
triggerConfig: {
triggerType: 'triggerType',
// the properties below are optional
triggerProperties: {
scheduled: {
scheduleExpression: 'scheduleExpression',
// the properties below are optional
dataPullMode: 'dataPullMode',
firstExecutionFrom: 123,
scheduleEndTime: 123,
scheduleOffset: 123,
scheduleStartTime: 123,
timezone: 'timezone',
},
},
},
// the properties below are optional
description: 'description',
},
objectTypeName: 'objectTypeName',
objectTypeNames: [{
key: 'key',
value: 'value',
}],
scope: 'scope',
tags: [{
key: 'key',
value: 'value',
}],
uri: 'uri',
};
python
from aws_cdk import CfnTag
# 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
cfn_integration_props = customerprofiles.CfnIntegrationProps(
domain_name="domainName",
# the properties below are optional
event_trigger_names=["eventTriggerNames"],
flow_definition=customerprofiles.CfnIntegration.FlowDefinitionProperty(
flow_name="flowName",
kms_arn="kmsArn",
source_flow_config=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"
)
),
tasks=[customerprofiles.CfnIntegration.TaskProperty(
source_fields=["sourceFields"],
task_type="taskType",
# the properties below are optional
connector_operator=customerprofiles.CfnIntegration.ConnectorOperatorProperty(
marketo="marketo",
s3="s3",
salesforce="salesforce",
service_now="serviceNow",
zendesk="zendesk"
),
destination_field="destinationField",
task_properties=[customerprofiles.CfnIntegration.TaskPropertiesMapProperty(
operator_property_key="operatorPropertyKey",
property="property"
)]
)],
trigger_config=customerprofiles.CfnIntegration.TriggerConfigProperty(
trigger_type="triggerType",
# the properties below are optional
trigger_properties=customerprofiles.CfnIntegration.TriggerPropertiesProperty(
scheduled=customerprofiles.CfnIntegration.ScheduledTriggerPropertiesProperty(
schedule_expression="scheduleExpression",
# the properties below are optional
data_pull_mode="dataPullMode",
first_execution_from=123,
schedule_end_time=123,
schedule_offset=123,
schedule_start_time=123,
timezone="timezone"
)
)
),
# the properties below are optional
description="description"
),
object_type_name="objectTypeName",
object_type_names=[customerprofiles.CfnIntegration.ObjectTypeMappingProperty(
key="key",
value="value"
)],
scope="scope",
tags=[CfnTag(
key="key",
value="value"
)],
uri="uri"
)
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.*;
CfnIntegrationProps cfnIntegrationProps = CfnIntegrationProps.builder()
.domainName("domainName")
// the properties below are optional
.eventTriggerNames(List.of("eventTriggerNames"))
.flowDefinition(FlowDefinitionProperty.builder()
.flowName("flowName")
.kmsArn("kmsArn")
.sourceFlowConfig(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())
.tasks(List.of(TaskProperty.builder()
.sourceFields(List.of("sourceFields"))
.taskType("taskType")
// the properties below are optional
.connectorOperator(ConnectorOperatorProperty.builder()
.marketo("marketo")
.s3("s3")
.salesforce("salesforce")
.serviceNow("serviceNow")
.zendesk("zendesk")
.build())
.destinationField("destinationField")
.taskProperties(List.of(TaskPropertiesMapProperty.builder()
.operatorPropertyKey("operatorPropertyKey")
.property("property")
.build()))
.build()))
.triggerConfig(TriggerConfigProperty.builder()
.triggerType("triggerType")
// the properties below are optional
.triggerProperties(TriggerPropertiesProperty.builder()
.scheduled(ScheduledTriggerPropertiesProperty.builder()
.scheduleExpression("scheduleExpression")
// the properties below are optional
.dataPullMode("dataPullMode")
.firstExecutionFrom(123)
.scheduleEndTime(123)
.scheduleOffset(123)
.scheduleStartTime(123)
.timezone("timezone")
.build())
.build())
.build())
// the properties below are optional
.description("description")
.build())
.objectTypeName("objectTypeName")
.objectTypeNames(List.of(ObjectTypeMappingProperty.builder()
.key("key")
.value("value")
.build()))
.scope("scope")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.uri("uri")
.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 cfnIntegrationProps = new CfnIntegrationProps {
DomainName = "domainName",
// the properties below are optional
EventTriggerNames = new [] { "eventTriggerNames" },
FlowDefinition = new FlowDefinitionProperty {
FlowName = "flowName",
KmsArn = "kmsArn",
SourceFlowConfig = 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"
}
},
Tasks = new [] { new TaskProperty {
SourceFields = new [] { "sourceFields" },
TaskType = "taskType",
// the properties below are optional
ConnectorOperator = new ConnectorOperatorProperty {
Marketo = "marketo",
S3 = "s3",
Salesforce = "salesforce",
ServiceNow = "serviceNow",
Zendesk = "zendesk"
},
DestinationField = "destinationField",
TaskProperties = new [] { new TaskPropertiesMapProperty {
OperatorPropertyKey = "operatorPropertyKey",
Property = "property"
} }
} },
TriggerConfig = new TriggerConfigProperty {
TriggerType = "triggerType",
// the properties below are optional
TriggerProperties = new TriggerPropertiesProperty {
Scheduled = new ScheduledTriggerPropertiesProperty {
ScheduleExpression = "scheduleExpression",
// the properties below are optional
DataPullMode = "dataPullMode",
FirstExecutionFrom = 123,
ScheduleEndTime = 123,
ScheduleOffset = 123,
ScheduleStartTime = 123,
Timezone = "timezone"
}
}
},
// the properties below are optional
Description = "description"
},
ObjectTypeName = "objectTypeName",
ObjectTypeNames = new [] { new ObjectTypeMappingProperty {
Key = "key",
Value = "value"
} },
Scope = "scope",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Uri = "uri"
};
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"
cfnIntegrationProps := &CfnIntegrationProps{
DomainName: jsii.String("domainName"),
// the properties below are optional
EventTriggerNames: []*string{
jsii.String("eventTriggerNames"),
},
FlowDefinition: &FlowDefinitionProperty{
FlowName: jsii.String("flowName"),
KmsArn: jsii.String("kmsArn"),
SourceFlowConfig: &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"),
},
},
Tasks: []interface{}{
&TaskProperty{
SourceFields: []*string{
jsii.String("sourceFields"),
},
TaskType: jsii.String("taskType"),
// the properties below are optional
ConnectorOperator: &ConnectorOperatorProperty{
Marketo: jsii.String("marketo"),
S3: jsii.String("s3"),
Salesforce: jsii.String("salesforce"),
ServiceNow: jsii.String("serviceNow"),
Zendesk: jsii.String("zendesk"),
},
DestinationField: jsii.String("destinationField"),
TaskProperties: []interface{}{
&TaskPropertiesMapProperty{
OperatorPropertyKey: jsii.String("operatorPropertyKey"),
Property: jsii.String("property"),
},
},
},
},
TriggerConfig: &TriggerConfigProperty{
TriggerType: jsii.String("triggerType"),
// the properties below are optional
TriggerProperties: &TriggerPropertiesProperty{
Scheduled: &ScheduledTriggerPropertiesProperty{
ScheduleExpression: jsii.String("scheduleExpression"),
// the properties below are optional
DataPullMode: jsii.String("dataPullMode"),
FirstExecutionFrom: jsii.Number(123),
ScheduleEndTime: jsii.Number(123),
ScheduleOffset: jsii.Number(123),
ScheduleStartTime: jsii.Number(123),
Timezone: jsii.String("timezone"),
},
},
},
// the properties below are optional
Description: jsii.String("description"),
},
ObjectTypeName: jsii.String("objectTypeName"),
ObjectTypeNames: []interface{}{
&ObjectTypeMappingProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
Scope: jsii.String("scope"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
Uri: jsii.String("uri"),
}
Properties
The unique name of the domain.
eventTriggerNamesoptionalstring[]event_trigger_namesoptionaltyping.List[str]eventTriggerNamesoptionalList<String>EventTriggerNamesoptionalstring[]EventTriggerNamesoptional*[]*string #A list of unique names for active event triggers associated with the integration.
flowDefinitionoptionalIResolvable | CfnIntegration.flow_definitionoptionaltyping.Union[IResolvable, FlowDefinitionProperty]flowDefinitionoptionalIResolvableFlowDefinitionoptionalIResolvableFlowDefinitionoptionalinterface{} #The configuration that controls how Customer Profiles retrieves data from the source.
objectTypeNameoptionalstringobject_type_nameoptionalstrobjectTypeNameoptionalStringObjectTypeNameoptionalstringObjectTypeNameoptional*string #The name of the profile object type mapping to use.
objectTypeNamesoptionalIResolvable | IResolvable | CfnIntegration.object_type_namesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ObjectTypeMappingProperty]]]objectTypeNamesoptionalIResolvableObjectTypeNamesoptionalIResolvableObjectTypeNamesoptionalinterface{} #The object type mapping.
Scope of the integration, such as 'PROFILE' or 'DOMAIN'.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags used to organize, track, or control access for this resource.
The URI of the S3 bucket or any other type of data source.