@ryan-pip/pulumi-fivetran 1.9.4 → 1.9.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/connection.d.ts +341 -0
- package/connection.d.ts.map +1 -0
- package/connection.js +239 -0
- package/connection.js.map +1 -0
- package/connectionConfig.d.ts +243 -0
- package/connectionConfig.d.ts.map +1 -0
- package/connectionConfig.js +219 -0
- package/connectionConfig.js.map +1 -0
- package/connector.d.ts +36 -34
- package/connector.d.ts.map +1 -1
- package/connector.js +2 -0
- package/connector.js.map +1 -1
- package/connectorCertificates.d.ts +3 -3
- package/connectorCertificates.d.ts.map +1 -1
- package/connectorFingerprints.d.ts +3 -3
- package/connectorFingerprints.d.ts.map +1 -1
- package/connectorSchedule.d.ts +54 -16
- package/connectorSchedule.d.ts.map +1 -1
- package/connectorSchedule.js +6 -3
- package/connectorSchedule.js.map +1 -1
- package/connectorSchemaConfig.d.ts +39 -15
- package/connectorSchemaConfig.d.ts.map +1 -1
- package/connectorSchemaConfig.js +4 -3
- package/connectorSchemaConfig.js.map +1 -1
- package/connectorSdkPackage.d.ts +107 -0
- package/connectorSdkPackage.d.ts.map +1 -0
- package/connectorSdkPackage.js +115 -0
- package/connectorSdkPackage.js.map +1 -0
- package/destination.d.ts +38 -26
- package/destination.d.ts.map +1 -1
- package/destination.js +2 -0
- package/destination.js.map +1 -1
- package/destinationCertificates.d.ts +3 -3
- package/destinationCertificates.d.ts.map +1 -1
- package/destinationFingerprints.d.ts +3 -3
- package/destinationFingerprints.d.ts.map +1 -1
- package/externalLogging.d.ts +8 -8
- package/externalLogging.d.ts.map +1 -1
- package/getConnection.d.ts +8 -8
- package/getConnection.d.ts.map +1 -1
- package/getConnectionCertificates.d.ts +1 -1
- package/getConnectionCertificates.d.ts.map +1 -1
- package/getConnectionFingerprints.d.ts +1 -1
- package/getConnectionFingerprints.d.ts.map +1 -1
- package/getConnections.d.ts +25 -1
- package/getConnections.d.ts.map +1 -1
- package/getConnections.js +4 -0
- package/getConnections.js.map +1 -1
- package/getConnector.d.ts +3 -3
- package/getConnector.d.ts.map +1 -1
- package/getConnectorCertificates.d.ts +1 -1
- package/getConnectorCertificates.d.ts.map +1 -1
- package/getConnectorFingerprints.d.ts +1 -1
- package/getConnectorFingerprints.d.ts.map +1 -1
- package/getConnectors.d.ts +1 -1
- package/getConnectors.d.ts.map +1 -1
- package/getConnectorsMetadata.d.ts +1 -1
- package/getConnectorsMetadata.d.ts.map +1 -1
- package/getDestination.d.ts +2 -1
- package/getDestination.d.ts.map +1 -1
- package/getDestination.js.map +1 -1
- package/getDestinationCertificates.d.ts +1 -1
- package/getDestinationCertificates.d.ts.map +1 -1
- package/getDestinationFingerprints.d.ts +1 -1
- package/getDestinationFingerprints.d.ts.map +1 -1
- package/getDestinations.d.ts +1 -1
- package/getDestinations.d.ts.map +1 -1
- package/getExternalLogging.d.ts +2 -2
- package/getExternalLogging.d.ts.map +1 -1
- package/getExternalLogs.d.ts +1 -1
- package/getExternalLogs.d.ts.map +1 -1
- package/getGroupConnections.d.ts +2 -2
- package/getGroupConnections.d.ts.map +1 -1
- package/getGroupConnectors.d.ts +2 -2
- package/getGroupConnectors.d.ts.map +1 -1
- package/getGroupUsers.d.ts +1 -1
- package/getGroupUsers.d.ts.map +1 -1
- package/getGroups.d.ts +1 -1
- package/getGroups.d.ts.map +1 -1
- package/getPrivateLinks.d.ts +1 -1
- package/getPrivateLinks.d.ts.map +1 -1
- package/getProxyAgents.d.ts +1 -1
- package/getProxyAgents.d.ts.map +1 -1
- package/getQuickstartPackage.d.ts +7 -0
- package/getQuickstartPackage.d.ts.map +1 -1
- package/getQuickstartPackage.js.map +1 -1
- package/getQuickstartPackages.d.ts +1 -1
- package/getQuickstartPackages.d.ts.map +1 -1
- package/getRoles.d.ts +1 -1
- package/getRoles.d.ts.map +1 -1
- package/getTeamConnectionMemberships.d.ts +1 -1
- package/getTeamConnectionMemberships.d.ts.map +1 -1
- package/getTeamConnectorMemberships.d.ts +1 -1
- package/getTeamConnectorMemberships.d.ts.map +1 -1
- package/getTeamGroupMemberships.d.ts +1 -1
- package/getTeamGroupMemberships.d.ts.map +1 -1
- package/getTeamUserMemberships.d.ts +1 -1
- package/getTeamUserMemberships.d.ts.map +1 -1
- package/getTeams.d.ts +2 -2
- package/getTeams.d.ts.map +1 -1
- package/getTransformation.d.ts +2 -2
- package/getTransformation.d.ts.map +1 -1
- package/getTransformationProject.d.ts +1 -1
- package/getTransformationProject.d.ts.map +1 -1
- package/getTransformations.d.ts +1 -1
- package/getTransformations.d.ts.map +1 -1
- package/getUserConnectionMemberships.d.ts +1 -1
- package/getUserConnectionMemberships.d.ts.map +1 -1
- package/getUserConnectorMemberships.d.ts +1 -1
- package/getUserConnectorMemberships.d.ts.map +1 -1
- package/getUserGroupMemberships.d.ts +1 -1
- package/getUserGroupMemberships.d.ts.map +1 -1
- package/getUsers.d.ts +2 -2
- package/getUsers.d.ts.map +1 -1
- package/group.d.ts +4 -4
- package/group.d.ts.map +1 -1
- package/groupUsers.d.ts +32 -6
- package/groupUsers.d.ts.map +1 -1
- package/groupUsers.js +28 -2
- package/groupUsers.js.map +1 -1
- package/hybridDeploymentAgent.d.ts +11 -11
- package/hybridDeploymentAgent.d.ts.map +1 -1
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +18 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/privateLink.d.ts +11 -11
- package/privateLink.d.ts.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.d.ts.map +1 -1
- package/proxyAgent.d.ts +9 -9
- package/proxyAgent.d.ts.map +1 -1
- package/team.d.ts +5 -5
- package/team.d.ts.map +1 -1
- package/teamConnectorMembership.d.ts +5 -5
- package/teamConnectorMembership.d.ts.map +1 -1
- package/teamConnectorMembership.js +2 -2
- package/teamGroupMembership.d.ts +5 -5
- package/teamGroupMembership.d.ts.map +1 -1
- package/teamGroupMembership.js +2 -2
- package/teamUserMembership.d.ts +5 -5
- package/teamUserMembership.d.ts.map +1 -1
- package/teamUserMembership.js +2 -2
- package/transformation.d.ts +12 -14
- package/transformation.d.ts.map +1 -1
- package/transformation.js +0 -2
- package/transformation.js.map +1 -1
- package/transformationProject.d.ts +10 -12
- package/transformationProject.d.ts.map +1 -1
- package/transformationProject.js +0 -2
- package/transformationProject.js.map +1 -1
- package/types/input.d.ts +6124 -2630
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +2677 -312
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +15 -15
- package/user.d.ts.map +1 -1
- package/userConnectorMembership.d.ts +5 -5
- package/userConnectorMembership.d.ts.map +1 -1
- package/userConnectorMembership.js +2 -2
- package/userGroupMembership.d.ts +5 -5
- package/userGroupMembership.d.ts.map +1 -1
- package/userGroupMembership.js +2 -2
- package/webhook.d.ts +11 -11
- package/webhook.d.ts.map +1 -1
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to manage connection configuration (config and auth fields) separately from the connection structure.
|
|
4
|
+
*
|
|
5
|
+
* The `fivetran.ConnectionConfig` resource configures connection-specific details like host, port, database credentials, and authentication settings. Use this in combination with `fivetran.Connection` for flexible connection management.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### PostgreSQL Connection with Config and Auth
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
14
|
+
*
|
|
15
|
+
* const postgres = new fivetran.Connection("postgres", {
|
|
16
|
+
* groupId: example.id,
|
|
17
|
+
* service: "postgres",
|
|
18
|
+
* destinationSchema: {
|
|
19
|
+
* prefix: "my_postgres",
|
|
20
|
+
* },
|
|
21
|
+
* runSetupTests: false,
|
|
22
|
+
* });
|
|
23
|
+
* const postgresConnectionConfig = new fivetran.ConnectionConfig("postgres", {
|
|
24
|
+
* connectionId: postgres.id,
|
|
25
|
+
* config: JSON.stringify({
|
|
26
|
+
* update_method: "XMIN",
|
|
27
|
+
* host: databaseHost,
|
|
28
|
+
* port: 5432,
|
|
29
|
+
* database: "production_db",
|
|
30
|
+
* }),
|
|
31
|
+
* auth: JSON.stringify({
|
|
32
|
+
* user: dbUser,
|
|
33
|
+
* password: dbPassword,
|
|
34
|
+
* }),
|
|
35
|
+
* runSetupTests: true,
|
|
36
|
+
* trustCertificates: false,
|
|
37
|
+
* trustFingerprints: false,
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ### MySQL Connection with Config Only
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
46
|
+
*
|
|
47
|
+
* const mysql = new fivetran.Connection("mysql", {
|
|
48
|
+
* groupId: example.id,
|
|
49
|
+
* service: "mysql",
|
|
50
|
+
* destinationSchema: {
|
|
51
|
+
* prefix: "my_mysql",
|
|
52
|
+
* },
|
|
53
|
+
* });
|
|
54
|
+
* const mysqlConnectionConfig = new fivetran.ConnectionConfig("mysql", {
|
|
55
|
+
* connectionId: mysql.id,
|
|
56
|
+
* config: JSON.stringify({
|
|
57
|
+
* update_method: "BINLOG",
|
|
58
|
+
* host: "mysql.example.com",
|
|
59
|
+
* port: 3306,
|
|
60
|
+
* database: "mydb",
|
|
61
|
+
* user: "fivetran_user",
|
|
62
|
+
* password: mysqlPassword,
|
|
63
|
+
* }),
|
|
64
|
+
* runSetupTests: true,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ### S3 Connection with Auth Only
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
73
|
+
*
|
|
74
|
+
* const s3 = new fivetran.Connection("s3", {
|
|
75
|
+
* groupId: example.id,
|
|
76
|
+
* service: "s3",
|
|
77
|
+
* destinationSchema: {
|
|
78
|
+
* name: "s3_data",
|
|
79
|
+
* },
|
|
80
|
+
* });
|
|
81
|
+
* const s3ConnectionConfig = new fivetran.ConnectionConfig("s3", {
|
|
82
|
+
* connectionId: s3.id,
|
|
83
|
+
* auth: JSON.stringify({
|
|
84
|
+
* role_arn: "arn:aws:iam::123456789:role/fivetran-access",
|
|
85
|
+
* }),
|
|
86
|
+
* runSetupTests: true,
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* ### Connection with Sensitive Credentials
|
|
91
|
+
*
|
|
92
|
+
* ```typescript
|
|
93
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
94
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
95
|
+
*
|
|
96
|
+
* const postgresSecure = new fivetran.ConnectionConfig("postgres_secure", {
|
|
97
|
+
* connectionId: postgresFivetranConnection.id,
|
|
98
|
+
* config: JSON.stringify({
|
|
99
|
+
* update_method: "XMIN",
|
|
100
|
+
* host: postgres.address,
|
|
101
|
+
* port: postgres.port,
|
|
102
|
+
* database: postgres.dbName,
|
|
103
|
+
* }),
|
|
104
|
+
* auth: JSON.stringify({
|
|
105
|
+
* user: dbCreds.secretString.username,
|
|
106
|
+
* password: dbCreds.secretString.password,
|
|
107
|
+
* }),
|
|
108
|
+
* runSetupTests: true,
|
|
109
|
+
* trustCertificates: true,
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* ## Notes
|
|
114
|
+
*
|
|
115
|
+
* - **Semantic JSON Equality:** The `config` and `auth` fields use semantic JSON comparison, meaning changes in whitespace, key ordering, or formatting won't trigger unnecessary updates.
|
|
116
|
+
* - **Separation of Concerns:** This resource allows you to manage connection configuration separately from the connection structure, enabling better security practices and workflow flexibility.
|
|
117
|
+
* - **Setup Tests:** When `runSetupTests` is `true`, Fivetran will validate the configuration. Any test failures will appear as warnings in the Terraform output.
|
|
118
|
+
* - **Sensitive Data:** Consider using Terraform's `sensitive` attribute or external secret management for credentials in the `auth` field.
|
|
119
|
+
* - **Configuration Updates:** Both `config` and `auth` are optional. You can update one without affecting the other.
|
|
120
|
+
*
|
|
121
|
+
* ## See Also
|
|
122
|
+
*
|
|
123
|
+
* - `fivetran.Connection` - Create the connection structure
|
|
124
|
+
* - [Fivetran API Documentation](https://fivetran.com/docs/rest-api/connectors) - Connection configuration reference
|
|
125
|
+
*
|
|
126
|
+
* ## Import
|
|
127
|
+
*
|
|
128
|
+
* Connection configurations can be imported using the connection ID:
|
|
129
|
+
*
|
|
130
|
+
* ```sh
|
|
131
|
+
* $ pulumi import fivetran:index/connectionConfig:ConnectionConfig example connection_id_here
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* **Note:** When importing, the `runSetupTests`, `trustCertificates`, and `trustFingerprints` attributes will not be imported as they are plan-only attributes.
|
|
135
|
+
*/
|
|
136
|
+
export declare class ConnectionConfig extends pulumi.CustomResource {
|
|
137
|
+
/**
|
|
138
|
+
* Get an existing ConnectionConfig resource's state with the given name, ID, and optional extra
|
|
139
|
+
* properties used to qualify the lookup.
|
|
140
|
+
*
|
|
141
|
+
* @param name The _unique_ name of the resulting resource.
|
|
142
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
143
|
+
* @param state Any extra arguments used during the lookup.
|
|
144
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
145
|
+
*/
|
|
146
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectionConfigState, opts?: pulumi.CustomResourceOptions): ConnectionConfig;
|
|
147
|
+
/**
|
|
148
|
+
* Returns true if the given object is an instance of ConnectionConfig. This is designed to work even
|
|
149
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
150
|
+
*/
|
|
151
|
+
static isInstance(obj: any): obj is ConnectionConfig;
|
|
152
|
+
/**
|
|
153
|
+
* Connection auth config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `auth` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
154
|
+
*/
|
|
155
|
+
readonly auth: pulumi.Output<string | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Connection config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `config` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
158
|
+
*/
|
|
159
|
+
readonly config: pulumi.Output<string | undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* The unique identifier for the connection within the Fivetran system.
|
|
162
|
+
*/
|
|
163
|
+
readonly connectionId: pulumi.Output<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Whether to run setup tests when applying configuration. Default: `false`. When `true`, Fivetran validates the configuration by testing the connection. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
166
|
+
*/
|
|
167
|
+
readonly runSetupTests: pulumi.Output<boolean>;
|
|
168
|
+
/**
|
|
169
|
+
* Whether to automatically trust SSL certificates. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
170
|
+
*/
|
|
171
|
+
readonly trustCertificates: pulumi.Output<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Whether to automatically trust SSH fingerprints. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
174
|
+
*/
|
|
175
|
+
readonly trustFingerprints: pulumi.Output<boolean>;
|
|
176
|
+
/**
|
|
177
|
+
* Create a ConnectionConfig resource with the given unique name, arguments, and options.
|
|
178
|
+
*
|
|
179
|
+
* @param name The _unique_ name of the resource.
|
|
180
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
181
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
182
|
+
*/
|
|
183
|
+
constructor(name: string, args: ConnectionConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Input properties used for looking up and filtering ConnectionConfig resources.
|
|
187
|
+
*/
|
|
188
|
+
export interface ConnectionConfigState {
|
|
189
|
+
/**
|
|
190
|
+
* Connection auth config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `auth` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
191
|
+
*/
|
|
192
|
+
auth?: pulumi.Input<string | undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* Connection config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `config` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
195
|
+
*/
|
|
196
|
+
config?: pulumi.Input<string | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* The unique identifier for the connection within the Fivetran system.
|
|
199
|
+
*/
|
|
200
|
+
connectionId?: pulumi.Input<string | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* Whether to run setup tests when applying configuration. Default: `false`. When `true`, Fivetran validates the configuration by testing the connection. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
203
|
+
*/
|
|
204
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Whether to automatically trust SSL certificates. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
207
|
+
*/
|
|
208
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Whether to automatically trust SSH fingerprints. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
211
|
+
*/
|
|
212
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* The set of arguments for constructing a ConnectionConfig resource.
|
|
216
|
+
*/
|
|
217
|
+
export interface ConnectionConfigArgs {
|
|
218
|
+
/**
|
|
219
|
+
* Connection auth config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `auth` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
220
|
+
*/
|
|
221
|
+
auth?: pulumi.Input<string | undefined>;
|
|
222
|
+
/**
|
|
223
|
+
* Connection config in Json format, following [Fivetran API endpoint contract](https://fivetran.com/docs/rest-api/api-reference/connections/create-connection) for `config` field. This field uses semantic JSON equality, so whitespace and key order differences won't trigger updates.
|
|
224
|
+
*/
|
|
225
|
+
config?: pulumi.Input<string | undefined>;
|
|
226
|
+
/**
|
|
227
|
+
* The unique identifier for the connection within the Fivetran system.
|
|
228
|
+
*/
|
|
229
|
+
connectionId: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Whether to run setup tests when applying configuration. Default: `false`. When `true`, Fivetran validates the configuration by testing the connection. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
232
|
+
*/
|
|
233
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
234
|
+
/**
|
|
235
|
+
* Whether to automatically trust SSL certificates. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
236
|
+
*/
|
|
237
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Whether to automatically trust SSH fingerprints. Default: `false`. **Note:** This is a plan-only attribute and will not be stored in state.
|
|
240
|
+
*/
|
|
241
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
242
|
+
}
|
|
243
|
+
//# sourceMappingURL=connectionConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectionConfig.d.ts","sourceRoot":"","sources":["../connectionConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ConnectionConfig = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource allows you to manage connection configuration (config and auth fields) separately from the connection structure.
|
|
33
|
+
*
|
|
34
|
+
* The `fivetran.ConnectionConfig` resource configures connection-specific details like host, port, database credentials, and authentication settings. Use this in combination with `fivetran.Connection` for flexible connection management.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ### PostgreSQL Connection with Config and Auth
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
43
|
+
*
|
|
44
|
+
* const postgres = new fivetran.Connection("postgres", {
|
|
45
|
+
* groupId: example.id,
|
|
46
|
+
* service: "postgres",
|
|
47
|
+
* destinationSchema: {
|
|
48
|
+
* prefix: "my_postgres",
|
|
49
|
+
* },
|
|
50
|
+
* runSetupTests: false,
|
|
51
|
+
* });
|
|
52
|
+
* const postgresConnectionConfig = new fivetran.ConnectionConfig("postgres", {
|
|
53
|
+
* connectionId: postgres.id,
|
|
54
|
+
* config: JSON.stringify({
|
|
55
|
+
* update_method: "XMIN",
|
|
56
|
+
* host: databaseHost,
|
|
57
|
+
* port: 5432,
|
|
58
|
+
* database: "production_db",
|
|
59
|
+
* }),
|
|
60
|
+
* auth: JSON.stringify({
|
|
61
|
+
* user: dbUser,
|
|
62
|
+
* password: dbPassword,
|
|
63
|
+
* }),
|
|
64
|
+
* runSetupTests: true,
|
|
65
|
+
* trustCertificates: false,
|
|
66
|
+
* trustFingerprints: false,
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ### MySQL Connection with Config Only
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
75
|
+
*
|
|
76
|
+
* const mysql = new fivetran.Connection("mysql", {
|
|
77
|
+
* groupId: example.id,
|
|
78
|
+
* service: "mysql",
|
|
79
|
+
* destinationSchema: {
|
|
80
|
+
* prefix: "my_mysql",
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* const mysqlConnectionConfig = new fivetran.ConnectionConfig("mysql", {
|
|
84
|
+
* connectionId: mysql.id,
|
|
85
|
+
* config: JSON.stringify({
|
|
86
|
+
* update_method: "BINLOG",
|
|
87
|
+
* host: "mysql.example.com",
|
|
88
|
+
* port: 3306,
|
|
89
|
+
* database: "mydb",
|
|
90
|
+
* user: "fivetran_user",
|
|
91
|
+
* password: mysqlPassword,
|
|
92
|
+
* }),
|
|
93
|
+
* runSetupTests: true,
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* ### S3 Connection with Auth Only
|
|
98
|
+
*
|
|
99
|
+
* ```typescript
|
|
100
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
102
|
+
*
|
|
103
|
+
* const s3 = new fivetran.Connection("s3", {
|
|
104
|
+
* groupId: example.id,
|
|
105
|
+
* service: "s3",
|
|
106
|
+
* destinationSchema: {
|
|
107
|
+
* name: "s3_data",
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
* const s3ConnectionConfig = new fivetran.ConnectionConfig("s3", {
|
|
111
|
+
* connectionId: s3.id,
|
|
112
|
+
* auth: JSON.stringify({
|
|
113
|
+
* role_arn: "arn:aws:iam::123456789:role/fivetran-access",
|
|
114
|
+
* }),
|
|
115
|
+
* runSetupTests: true,
|
|
116
|
+
* });
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* ### Connection with Sensitive Credentials
|
|
120
|
+
*
|
|
121
|
+
* ```typescript
|
|
122
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
123
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
124
|
+
*
|
|
125
|
+
* const postgresSecure = new fivetran.ConnectionConfig("postgres_secure", {
|
|
126
|
+
* connectionId: postgresFivetranConnection.id,
|
|
127
|
+
* config: JSON.stringify({
|
|
128
|
+
* update_method: "XMIN",
|
|
129
|
+
* host: postgres.address,
|
|
130
|
+
* port: postgres.port,
|
|
131
|
+
* database: postgres.dbName,
|
|
132
|
+
* }),
|
|
133
|
+
* auth: JSON.stringify({
|
|
134
|
+
* user: dbCreds.secretString.username,
|
|
135
|
+
* password: dbCreds.secretString.password,
|
|
136
|
+
* }),
|
|
137
|
+
* runSetupTests: true,
|
|
138
|
+
* trustCertificates: true,
|
|
139
|
+
* });
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* ## Notes
|
|
143
|
+
*
|
|
144
|
+
* - **Semantic JSON Equality:** The `config` and `auth` fields use semantic JSON comparison, meaning changes in whitespace, key ordering, or formatting won't trigger unnecessary updates.
|
|
145
|
+
* - **Separation of Concerns:** This resource allows you to manage connection configuration separately from the connection structure, enabling better security practices and workflow flexibility.
|
|
146
|
+
* - **Setup Tests:** When `runSetupTests` is `true`, Fivetran will validate the configuration. Any test failures will appear as warnings in the Terraform output.
|
|
147
|
+
* - **Sensitive Data:** Consider using Terraform's `sensitive` attribute or external secret management for credentials in the `auth` field.
|
|
148
|
+
* - **Configuration Updates:** Both `config` and `auth` are optional. You can update one without affecting the other.
|
|
149
|
+
*
|
|
150
|
+
* ## See Also
|
|
151
|
+
*
|
|
152
|
+
* - `fivetran.Connection` - Create the connection structure
|
|
153
|
+
* - [Fivetran API Documentation](https://fivetran.com/docs/rest-api/connectors) - Connection configuration reference
|
|
154
|
+
*
|
|
155
|
+
* ## Import
|
|
156
|
+
*
|
|
157
|
+
* Connection configurations can be imported using the connection ID:
|
|
158
|
+
*
|
|
159
|
+
* ```sh
|
|
160
|
+
* $ pulumi import fivetran:index/connectionConfig:ConnectionConfig example connection_id_here
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* **Note:** When importing, the `runSetupTests`, `trustCertificates`, and `trustFingerprints` attributes will not be imported as they are plan-only attributes.
|
|
164
|
+
*/
|
|
165
|
+
class ConnectionConfig extends pulumi.CustomResource {
|
|
166
|
+
/**
|
|
167
|
+
* Get an existing ConnectionConfig resource's state with the given name, ID, and optional extra
|
|
168
|
+
* properties used to qualify the lookup.
|
|
169
|
+
*
|
|
170
|
+
* @param name The _unique_ name of the resulting resource.
|
|
171
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
172
|
+
* @param state Any extra arguments used during the lookup.
|
|
173
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
174
|
+
*/
|
|
175
|
+
static get(name, id, state, opts) {
|
|
176
|
+
return new ConnectionConfig(name, state, { ...opts, id: id });
|
|
177
|
+
}
|
|
178
|
+
/** @internal */
|
|
179
|
+
static __pulumiType = 'fivetran:index/connectionConfig:ConnectionConfig';
|
|
180
|
+
/**
|
|
181
|
+
* Returns true if the given object is an instance of ConnectionConfig. This is designed to work even
|
|
182
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
183
|
+
*/
|
|
184
|
+
static isInstance(obj) {
|
|
185
|
+
if (obj === undefined || obj === null) {
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
return obj['__pulumiType'] === ConnectionConfig.__pulumiType;
|
|
189
|
+
}
|
|
190
|
+
constructor(name, argsOrState, opts) {
|
|
191
|
+
let resourceInputs = {};
|
|
192
|
+
opts = opts || {};
|
|
193
|
+
if (opts.id) {
|
|
194
|
+
const state = argsOrState;
|
|
195
|
+
resourceInputs["auth"] = state?.auth;
|
|
196
|
+
resourceInputs["config"] = state?.config;
|
|
197
|
+
resourceInputs["connectionId"] = state?.connectionId;
|
|
198
|
+
resourceInputs["runSetupTests"] = state?.runSetupTests;
|
|
199
|
+
resourceInputs["trustCertificates"] = state?.trustCertificates;
|
|
200
|
+
resourceInputs["trustFingerprints"] = state?.trustFingerprints;
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
const args = argsOrState;
|
|
204
|
+
if (args?.connectionId === undefined && !opts.urn) {
|
|
205
|
+
throw new Error("Missing required property 'connectionId'");
|
|
206
|
+
}
|
|
207
|
+
resourceInputs["auth"] = args?.auth;
|
|
208
|
+
resourceInputs["config"] = args?.config;
|
|
209
|
+
resourceInputs["connectionId"] = args?.connectionId;
|
|
210
|
+
resourceInputs["runSetupTests"] = args?.runSetupTests;
|
|
211
|
+
resourceInputs["trustCertificates"] = args?.trustCertificates;
|
|
212
|
+
resourceInputs["trustFingerprints"] = args?.trustFingerprints;
|
|
213
|
+
}
|
|
214
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
215
|
+
super(ConnectionConfig.__pulumiType, name, resourceInputs, opts);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
exports.ConnectionConfig = ConnectionConfig;
|
|
219
|
+
//# sourceMappingURL=connectionConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectionConfig.js","sourceRoot":"","sources":["../connectionConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqIG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,kDAAkD,CAAC;IAEzF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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|
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to create, update, and delete connectors.
|
|
6
6
|
*
|
|
7
|
+
* > NOTE: The `fivetran.Connector` resource creates a paused connector. In order to start data syncs, please create corresponding fivetran.ConnectorSchedule resource with `paused = false`
|
|
8
|
+
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
9
11
|
* ```typescript
|
|
@@ -140,7 +142,7 @@ export declare class Connector extends pulumi.CustomResource {
|
|
|
140
142
|
*/
|
|
141
143
|
readonly name: pulumi.Output<string>;
|
|
142
144
|
/**
|
|
143
|
-
* Possible values: Directly, SshTunnel, ProxyAgent.
|
|
145
|
+
* Possible values: Directly, SshTunnel, ProxyAgent, PrivateLink.
|
|
144
146
|
*/
|
|
145
147
|
readonly networkingMethod: pulumi.Output<string>;
|
|
146
148
|
/**
|
|
@@ -181,82 +183,82 @@ export declare class Connector extends pulumi.CustomResource {
|
|
|
181
183
|
* Input properties used for looking up and filtering Connector resources.
|
|
182
184
|
*/
|
|
183
185
|
export interface ConnectorState {
|
|
184
|
-
auth?: pulumi.Input<inputs.ConnectorAuth>;
|
|
185
|
-
config?: pulumi.Input<inputs.ConnectorConfig>;
|
|
186
|
+
auth?: pulumi.Input<inputs.ConnectorAuth | undefined>;
|
|
187
|
+
config?: pulumi.Input<inputs.ConnectorConfig | undefined>;
|
|
186
188
|
/**
|
|
187
189
|
* The unique identifier of the user who has created the connector in your account.
|
|
188
190
|
*/
|
|
189
|
-
connectedBy?: pulumi.Input<string>;
|
|
191
|
+
connectedBy?: pulumi.Input<string | undefined>;
|
|
190
192
|
/**
|
|
191
193
|
* The timestamp of the time the connector was created in your account.
|
|
192
194
|
*/
|
|
193
|
-
createdAt?: pulumi.Input<string>;
|
|
195
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
194
196
|
/**
|
|
195
197
|
* The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL. CUSTOM is only available for customers using the Enterprise plan or above.
|
|
196
198
|
*/
|
|
197
|
-
dataDelaySensitivity?: pulumi.Input<string>;
|
|
199
|
+
dataDelaySensitivity?: pulumi.Input<string | undefined>;
|
|
198
200
|
/**
|
|
199
201
|
* Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when dataDelaySensitivity set to CUSTOM.
|
|
200
202
|
*/
|
|
201
|
-
dataDelayThreshold?: pulumi.Input<number>;
|
|
202
|
-
destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema>;
|
|
203
|
+
dataDelayThreshold?: pulumi.Input<number | undefined>;
|
|
204
|
+
destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema | undefined>;
|
|
203
205
|
/**
|
|
204
206
|
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
205
207
|
*/
|
|
206
|
-
groupId?: pulumi.Input<string>;
|
|
208
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
207
209
|
/**
|
|
208
210
|
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
|
|
209
211
|
*/
|
|
210
|
-
hybridDeploymentAgentId?: pulumi.Input<string>;
|
|
212
|
+
hybridDeploymentAgentId?: pulumi.Input<string | undefined>;
|
|
211
213
|
/**
|
|
212
214
|
* The name used both as the connector's name within the Fivetran system and as the source schema's name within your destination.
|
|
213
215
|
*/
|
|
214
|
-
name?: pulumi.Input<string>;
|
|
216
|
+
name?: pulumi.Input<string | undefined>;
|
|
215
217
|
/**
|
|
216
|
-
* Possible values: Directly, SshTunnel, ProxyAgent.
|
|
218
|
+
* Possible values: Directly, SshTunnel, ProxyAgent, PrivateLink.
|
|
217
219
|
*/
|
|
218
|
-
networkingMethod?: pulumi.Input<string>;
|
|
220
|
+
networkingMethod?: pulumi.Input<string | undefined>;
|
|
219
221
|
/**
|
|
220
222
|
* The private link ID.
|
|
221
223
|
*/
|
|
222
|
-
privateLinkId?: pulumi.Input<string>;
|
|
224
|
+
privateLinkId?: pulumi.Input<string | undefined>;
|
|
223
225
|
/**
|
|
224
226
|
* The proxy agent ID.
|
|
225
227
|
*/
|
|
226
|
-
proxyAgentId?: pulumi.Input<string>;
|
|
228
|
+
proxyAgentId?: pulumi.Input<string | undefined>;
|
|
227
229
|
/**
|
|
228
230
|
* Specifies whether the setup tests should be run automatically. The default value is FALSE.
|
|
229
231
|
*/
|
|
230
|
-
runSetupTests?: pulumi.Input<boolean>;
|
|
232
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
231
233
|
/**
|
|
232
234
|
* The connector type id within the Fivetran system.
|
|
233
235
|
*/
|
|
234
|
-
service?: pulumi.Input<string>;
|
|
235
|
-
timeouts?: pulumi.Input<inputs.ConnectorTimeouts>;
|
|
236
|
+
service?: pulumi.Input<string | undefined>;
|
|
237
|
+
timeouts?: pulumi.Input<inputs.ConnectorTimeouts | undefined>;
|
|
236
238
|
/**
|
|
237
239
|
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
238
240
|
*/
|
|
239
|
-
trustCertificates?: pulumi.Input<boolean>;
|
|
241
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
240
242
|
/**
|
|
241
243
|
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
242
244
|
*/
|
|
243
|
-
trustFingerprints?: pulumi.Input<boolean>;
|
|
245
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
244
246
|
}
|
|
245
247
|
/**
|
|
246
248
|
* The set of arguments for constructing a Connector resource.
|
|
247
249
|
*/
|
|
248
250
|
export interface ConnectorArgs {
|
|
249
|
-
auth?: pulumi.Input<inputs.ConnectorAuth>;
|
|
250
|
-
config?: pulumi.Input<inputs.ConnectorConfig>;
|
|
251
|
+
auth?: pulumi.Input<inputs.ConnectorAuth | undefined>;
|
|
252
|
+
config?: pulumi.Input<inputs.ConnectorConfig | undefined>;
|
|
251
253
|
/**
|
|
252
254
|
* The level of data delay notification threshold. Possible values: LOW, NORMAL, HIGH, CUSTOM. The default value NORMAL. CUSTOM is only available for customers using the Enterprise plan or above.
|
|
253
255
|
*/
|
|
254
|
-
dataDelaySensitivity?: pulumi.Input<string>;
|
|
256
|
+
dataDelaySensitivity?: pulumi.Input<string | undefined>;
|
|
255
257
|
/**
|
|
256
258
|
* Custom sync delay notification threshold in minutes. The default value is 0. This parameter is only used when dataDelaySensitivity set to CUSTOM.
|
|
257
259
|
*/
|
|
258
|
-
dataDelayThreshold?: pulumi.Input<number>;
|
|
259
|
-
destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema>;
|
|
260
|
+
dataDelayThreshold?: pulumi.Input<number | undefined>;
|
|
261
|
+
destinationSchema?: pulumi.Input<inputs.ConnectorDestinationSchema | undefined>;
|
|
260
262
|
/**
|
|
261
263
|
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
262
264
|
*/
|
|
@@ -264,35 +266,35 @@ export interface ConnectorArgs {
|
|
|
264
266
|
/**
|
|
265
267
|
* The hybrid deployment agent ID that refers to the controller created for the group the connection belongs to. If the value is specified, the system will try to associate the connection with an existing agent.
|
|
266
268
|
*/
|
|
267
|
-
hybridDeploymentAgentId?: pulumi.Input<string>;
|
|
269
|
+
hybridDeploymentAgentId?: pulumi.Input<string | undefined>;
|
|
268
270
|
/**
|
|
269
|
-
* Possible values: Directly, SshTunnel, ProxyAgent.
|
|
271
|
+
* Possible values: Directly, SshTunnel, ProxyAgent, PrivateLink.
|
|
270
272
|
*/
|
|
271
|
-
networkingMethod?: pulumi.Input<string>;
|
|
273
|
+
networkingMethod?: pulumi.Input<string | undefined>;
|
|
272
274
|
/**
|
|
273
275
|
* The private link ID.
|
|
274
276
|
*/
|
|
275
|
-
privateLinkId?: pulumi.Input<string>;
|
|
277
|
+
privateLinkId?: pulumi.Input<string | undefined>;
|
|
276
278
|
/**
|
|
277
279
|
* The proxy agent ID.
|
|
278
280
|
*/
|
|
279
|
-
proxyAgentId?: pulumi.Input<string>;
|
|
281
|
+
proxyAgentId?: pulumi.Input<string | undefined>;
|
|
280
282
|
/**
|
|
281
283
|
* Specifies whether the setup tests should be run automatically. The default value is FALSE.
|
|
282
284
|
*/
|
|
283
|
-
runSetupTests?: pulumi.Input<boolean>;
|
|
285
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
284
286
|
/**
|
|
285
287
|
* The connector type id within the Fivetran system.
|
|
286
288
|
*/
|
|
287
289
|
service: pulumi.Input<string>;
|
|
288
|
-
timeouts?: pulumi.Input<inputs.ConnectorTimeouts>;
|
|
290
|
+
timeouts?: pulumi.Input<inputs.ConnectorTimeouts | undefined>;
|
|
289
291
|
/**
|
|
290
292
|
* Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination certificate](https://fivetran.com/docs/rest-api/certificates#approveadestinationcertificate).
|
|
291
293
|
*/
|
|
292
|
-
trustCertificates?: pulumi.Input<boolean>;
|
|
294
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
293
295
|
/**
|
|
294
296
|
* Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with [Certificates Management API Approve a destination fingerprint](https://fivetran.com/docs/rest-api/certificates#approveadestinationfingerprint).
|
|
295
297
|
*/
|
|
296
|
-
trustFingerprints?: pulumi.Input<boolean>;
|
|
298
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
297
299
|
}
|
|
298
300
|
//# sourceMappingURL=connector.d.ts.map
|
package/connector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../connector.ts"],"names":[],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