-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscustomerprofiles_CfnIntegrationProps.go
130 lines (127 loc) · 4.57 KB
/
awscustomerprofiles_CfnIntegrationProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package awscustomerprofiles
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnIntegration`.
//
// Example:
// // 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
// 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"),
// },
// },
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// uri: jsii.String("uri"),
// }
//
type CfnIntegrationProps struct {
// The unique name of the domain.
DomainName *string `field:"required" json:"domainName" yaml:"domainName"`
// The configuration that controls how Customer Profiles retrieves data from the source.
FlowDefinition interface{} `field:"optional" json:"flowDefinition" yaml:"flowDefinition"`
// The name of the profile object type mapping to use.
ObjectTypeName *string `field:"optional" json:"objectTypeName" yaml:"objectTypeName"`
// The object type mapping.
ObjectTypeNames interface{} `field:"optional" json:"objectTypeNames" yaml:"objectTypeNames"`
// The tags used to organize, track, or control access for this resource.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The URI of the S3 bucket or any other type of data source.
Uri *string `field:"optional" json:"uri" yaml:"uri"`
}