@pulumi/mongodbatlas 3.15.0-alpha.1714456335 → 3.15.0-alpha.1714507216
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/advancedCluster.d.ts +6 -6
- package/alertConfiguration.d.ts +21 -0
- package/alertConfiguration.js +21 -0
- package/alertConfiguration.js.map +1 -1
- package/backupCompliancePolicy.d.ts +13 -0
- package/backupCompliancePolicy.js +12 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSchedule.d.ts +18 -9
- package/cloudBackupSchedule.js +2 -0
- package/cloudBackupSchedule.js.map +1 -1
- package/cluster.d.ts +9 -9
- package/cluster.js +3 -3
- package/federatedDatabaseInstance.d.ts +33 -6
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +1 -3
- package/federatedSettingsIdentityProvider.js +1 -3
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/getAdvancedCluster.d.ts +1 -1
- package/getBackupCompliancePolicy.d.ts +21 -0
- package/getBackupCompliancePolicy.js +20 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +6 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCluster.d.ts +1 -1
- package/getDatabaseUser.d.ts +0 -4
- package/getDatabaseUser.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +8 -2
- package/getFederatedSettingsIdentityProvider.js +2 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +20 -6
- package/getFederatedSettingsIdentityProviders.js +2 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getOrganizations.d.ts +0 -12
- package/getOrganizations.js +0 -1
- package/getOrganizations.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +6 -6
- package/getProject.d.ts +6 -0
- package/getProject.js.map +1 -1
- package/getPushBasedLogExport.d.ts +115 -0
- package/getPushBasedLogExport.js +95 -0
- package/getPushBasedLogExport.js.map +1 -0
- package/getServerlessInstance.d.ts +12 -0
- package/getServerlessInstance.js +1 -0
- package/getServerlessInstance.js.map +1 -1
- package/getStreamConnection.d.ts +109 -0
- package/getStreamConnection.js +53 -0
- package/getStreamConnection.js.map +1 -0
- package/getStreamConnections.d.ts +100 -0
- package/getStreamConnections.js +52 -0
- package/getStreamConnections.js.map +1 -0
- package/getStreamInstance.d.ts +80 -0
- package/getStreamInstance.js +50 -0
- package/getStreamInstance.js.map +1 -0
- package/getStreamInstances.d.ts +86 -0
- package/getStreamInstances.js +49 -0
- package/getStreamInstances.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +12 -7
- package/getThirdPartyIntegration.js +2 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +1 -1
- package/globalClusterConfig.d.ts +1 -1
- package/globalClusterConfig.js +1 -1
- package/index.d.ts +24 -0
- package/index.js +32 -2
- package/index.js.map +1 -1
- package/networkPeering.d.ts +3 -3
- package/networkPeering.js +3 -3
- package/onlineArchive.d.ts +26 -0
- package/onlineArchive.js +26 -0
- package/onlineArchive.js.map +1 -1
- package/package.json +1 -1
- package/project.d.ts +18 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +0 -24
- package/projectApiKey.js +0 -2
- package/projectApiKey.js.map +1 -1
- package/pushBasedLogExport.d.ts +142 -0
- package/pushBasedLogExport.js +107 -0
- package/pushBasedLogExport.js.map +1 -0
- package/serverlessInstance.d.ts +12 -0
- package/serverlessInstance.js +2 -0
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.d.ts +168 -0
- package/streamConnection.js +137 -0
- package/streamConnection.js.map +1 -0
- package/streamInstance.d.ts +107 -0
- package/streamInstance.js +79 -0
- package/streamInstance.js.map +1 -0
- package/thirdPartyIntegration.d.ts +9 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +135 -36
- package/types/output.d.ts +418 -87
package/project.d.ts
CHANGED
|
@@ -127,6 +127,12 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
127
127
|
* Designates that this project can be used for government regions only. If not set the project will default to standard regions. You cannot deploy clusters across government and standard regions in the same project. AWS is the only cloud provider for AtlasGov. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
|
|
128
128
|
*/
|
|
129
129
|
readonly regionUsageRestrictions: pulumi.Output<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. See below.
|
|
132
|
+
*/
|
|
133
|
+
readonly tags: pulumi.Output<{
|
|
134
|
+
[key: string]: string;
|
|
135
|
+
} | undefined>;
|
|
130
136
|
readonly teams: pulumi.Output<outputs.ProjectTeam[] | undefined>;
|
|
131
137
|
/**
|
|
132
138
|
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
|
@@ -198,6 +204,12 @@ export interface ProjectState {
|
|
|
198
204
|
* Designates that this project can be used for government regions only. If not set the project will default to standard regions. You cannot deploy clusters across government and standard regions in the same project. AWS is the only cloud provider for AtlasGov. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
|
|
199
205
|
*/
|
|
200
206
|
regionUsageRestrictions?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. See below.
|
|
209
|
+
*/
|
|
210
|
+
tags?: pulumi.Input<{
|
|
211
|
+
[key: string]: pulumi.Input<string>;
|
|
212
|
+
}>;
|
|
201
213
|
teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
|
|
202
214
|
/**
|
|
203
215
|
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
|
@@ -249,6 +261,12 @@ export interface ProjectArgs {
|
|
|
249
261
|
* Designates that this project can be used for government regions only. If not set the project will default to standard regions. You cannot deploy clusters across government and standard regions in the same project. AWS is the only cloud provider for AtlasGov. For more information see [MongoDB Atlas for Government](https://www.mongodb.com/docs/atlas/government/api/#creating-a-project).
|
|
250
262
|
*/
|
|
251
263
|
regionUsageRestrictions?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Map that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. See below.
|
|
266
|
+
*/
|
|
267
|
+
tags?: pulumi.Input<{
|
|
268
|
+
[key: string]: pulumi.Input<string>;
|
|
269
|
+
}>;
|
|
252
270
|
teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
|
|
253
271
|
/**
|
|
254
272
|
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
package/project.js
CHANGED
|
@@ -104,6 +104,7 @@ class Project extends pulumi.CustomResource {
|
|
|
104
104
|
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
105
105
|
resourceInputs["projectOwnerId"] = state ? state.projectOwnerId : undefined;
|
|
106
106
|
resourceInputs["regionUsageRestrictions"] = state ? state.regionUsageRestrictions : undefined;
|
|
107
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
107
108
|
resourceInputs["teams"] = state ? state.teams : undefined;
|
|
108
109
|
resourceInputs["withDefaultAlertsSettings"] = state ? state.withDefaultAlertsSettings : undefined;
|
|
109
110
|
}
|
|
@@ -123,6 +124,7 @@ class Project extends pulumi.CustomResource {
|
|
|
123
124
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
124
125
|
resourceInputs["projectOwnerId"] = args ? args.projectOwnerId : undefined;
|
|
125
126
|
resourceInputs["regionUsageRestrictions"] = args ? args.regionUsageRestrictions : undefined;
|
|
127
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
126
128
|
resourceInputs["teams"] = args ? args.teams : undefined;
|
|
127
129
|
resourceInputs["withDefaultAlertsSettings"] = args ? args.withDefaultAlertsSettings : undefined;
|
|
128
130
|
resourceInputs["clusterCount"] = undefined /*out*/;
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAlJL,0BAmJC;AArIG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
|
package/projectApiKey.d.ts
CHANGED
|
@@ -78,14 +78,6 @@ export declare class ProjectApiKey extends pulumi.CustomResource {
|
|
|
78
78
|
readonly description: pulumi.Output<string>;
|
|
79
79
|
readonly privateKey: pulumi.Output<string>;
|
|
80
80
|
readonly projectAssignments: pulumi.Output<outputs.ProjectApiKeyProjectAssignment[]>;
|
|
81
|
-
/**
|
|
82
|
-
* Unique 24-hexadecimal digit string that identifies your project. **WARNING:** this parameter is deprecated as it no longer needs to be defined. It will be removed in version 1.16.0.
|
|
83
|
-
*
|
|
84
|
-
* > **NOTE:** Project created by API Keys must belong to an existing organization.
|
|
85
|
-
*
|
|
86
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
87
|
-
*/
|
|
88
|
-
readonly projectId: pulumi.Output<string>;
|
|
89
81
|
readonly publicKey: pulumi.Output<string>;
|
|
90
82
|
/**
|
|
91
83
|
* Create a ProjectApiKey resource with the given unique name, arguments, and options.
|
|
@@ -110,14 +102,6 @@ export interface ProjectApiKeyState {
|
|
|
110
102
|
description?: pulumi.Input<string>;
|
|
111
103
|
privateKey?: pulumi.Input<string>;
|
|
112
104
|
projectAssignments?: pulumi.Input<pulumi.Input<inputs.ProjectApiKeyProjectAssignment>[]>;
|
|
113
|
-
/**
|
|
114
|
-
* Unique 24-hexadecimal digit string that identifies your project. **WARNING:** this parameter is deprecated as it no longer needs to be defined. It will be removed in version 1.16.0.
|
|
115
|
-
*
|
|
116
|
-
* > **NOTE:** Project created by API Keys must belong to an existing organization.
|
|
117
|
-
*
|
|
118
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
119
|
-
*/
|
|
120
|
-
projectId?: pulumi.Input<string>;
|
|
121
105
|
publicKey?: pulumi.Input<string>;
|
|
122
106
|
}
|
|
123
107
|
/**
|
|
@@ -129,12 +113,4 @@ export interface ProjectApiKeyArgs {
|
|
|
129
113
|
*/
|
|
130
114
|
description: pulumi.Input<string>;
|
|
131
115
|
projectAssignments: pulumi.Input<pulumi.Input<inputs.ProjectApiKeyProjectAssignment>[]>;
|
|
132
|
-
/**
|
|
133
|
-
* Unique 24-hexadecimal digit string that identifies your project. **WARNING:** this parameter is deprecated as it no longer needs to be defined. It will be removed in version 1.16.0.
|
|
134
|
-
*
|
|
135
|
-
* > **NOTE:** Project created by API Keys must belong to an existing organization.
|
|
136
|
-
*
|
|
137
|
-
* @deprecated this parameter is deprecated and will be removed in version 1.16.0
|
|
138
|
-
*/
|
|
139
|
-
projectId?: pulumi.Input<string>;
|
|
140
116
|
}
|
package/projectApiKey.js
CHANGED
|
@@ -88,7 +88,6 @@ class ProjectApiKey extends pulumi.CustomResource {
|
|
|
88
88
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
89
89
|
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
90
90
|
resourceInputs["projectAssignments"] = state ? state.projectAssignments : undefined;
|
|
91
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
92
91
|
resourceInputs["publicKey"] = state ? state.publicKey : undefined;
|
|
93
92
|
}
|
|
94
93
|
else {
|
|
@@ -101,7 +100,6 @@ class ProjectApiKey extends pulumi.CustomResource {
|
|
|
101
100
|
}
|
|
102
101
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
103
102
|
resourceInputs["projectAssignments"] = args ? args.projectAssignments : undefined;
|
|
104
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
105
103
|
resourceInputs["apiKeyId"] = undefined /*out*/;
|
|
106
104
|
resourceInputs["privateKey"] = undefined /*out*/;
|
|
107
105
|
resourceInputs["publicKey"] = undefined /*out*/;
|
package/projectApiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectApiKey.js","sourceRoot":"","sources":["../projectApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;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,aAAa,CAAC,YAAY,CAA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,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA5EL,sCA6EC;AA/DG,gBAAgB;AACO,0BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `mongodbatlas.PushBasedLogExport` provides a resource for push-based log export feature. The resource lets you configure, enable & disable the project level settings for the push-based log export feature. Using this resource you
|
|
6
|
+
* can continually push logs from mongod, mongos, and audit logs to an Amazon S3 bucket. Atlas exports logs every 5 minutes.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ### S
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
17
|
+
* name: atlasProjectName,
|
|
18
|
+
* orgId: atlasOrgId,
|
|
19
|
+
* });
|
|
20
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
21
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
22
|
+
* projectId: project_tf.id,
|
|
23
|
+
* providerName: "AWS",
|
|
24
|
+
* });
|
|
25
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
26
|
+
* projectId: project_tf.id,
|
|
27
|
+
* roleId: setupOnly.roleId,
|
|
28
|
+
* aws: {
|
|
29
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* // Set up push-based log export with authorized IAM role
|
|
33
|
+
* const test = new mongodbatlas.PushBasedLogExport("test", {
|
|
34
|
+
* projectId: project_tf.id,
|
|
35
|
+
* bucketName: logBucket.bucket,
|
|
36
|
+
* iamRoleId: authRole.roleId,
|
|
37
|
+
* prefixPath: "push-based-log-test",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class PushBasedLogExport extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing PushBasedLogExport resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PushBasedLogExportState, opts?: pulumi.CustomResourceOptions): PushBasedLogExport;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of PushBasedLogExport. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is PushBasedLogExport;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the bucket to which the agent sends the logs to.
|
|
59
|
+
*/
|
|
60
|
+
readonly bucketName: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Date and time that this feature was enabled on.
|
|
63
|
+
*/
|
|
64
|
+
readonly createDate: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* ID of the AWS IAM role that is used to write to the S3 bucket.
|
|
67
|
+
*/
|
|
68
|
+
readonly iamRoleId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
|
|
71
|
+
*/
|
|
72
|
+
readonly prefixPath: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
75
|
+
*/
|
|
76
|
+
readonly projectId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Describes whether or not the feature is enabled and what status it is in.
|
|
79
|
+
*/
|
|
80
|
+
readonly state: pulumi.Output<string>;
|
|
81
|
+
readonly timeouts: pulumi.Output<outputs.PushBasedLogExportTimeouts | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a PushBasedLogExport resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: PushBasedLogExportArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering PushBasedLogExport resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface PushBasedLogExportState {
|
|
95
|
+
/**
|
|
96
|
+
* The name of the bucket to which the agent sends the logs to.
|
|
97
|
+
*/
|
|
98
|
+
bucketName?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Date and time that this feature was enabled on.
|
|
101
|
+
*/
|
|
102
|
+
createDate?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* ID of the AWS IAM role that is used to write to the S3 bucket.
|
|
105
|
+
*/
|
|
106
|
+
iamRoleId?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
|
|
109
|
+
*/
|
|
110
|
+
prefixPath?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
113
|
+
*/
|
|
114
|
+
projectId?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Describes whether or not the feature is enabled and what status it is in.
|
|
117
|
+
*/
|
|
118
|
+
state?: pulumi.Input<string>;
|
|
119
|
+
timeouts?: pulumi.Input<inputs.PushBasedLogExportTimeouts>;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The set of arguments for constructing a PushBasedLogExport resource.
|
|
123
|
+
*/
|
|
124
|
+
export interface PushBasedLogExportArgs {
|
|
125
|
+
/**
|
|
126
|
+
* The name of the bucket to which the agent sends the logs to.
|
|
127
|
+
*/
|
|
128
|
+
bucketName: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* ID of the AWS IAM role that is used to write to the S3 bucket.
|
|
131
|
+
*/
|
|
132
|
+
iamRoleId: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* S3 directory in which vector writes in order to store the logs. An empty string denotes the root directory.
|
|
135
|
+
*/
|
|
136
|
+
prefixPath?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
139
|
+
*/
|
|
140
|
+
projectId: pulumi.Input<string>;
|
|
141
|
+
timeouts?: pulumi.Input<inputs.PushBasedLogExportTimeouts>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PushBasedLogExport = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.PushBasedLogExport` provides a resource for push-based log export feature. The resource lets you configure, enable & disable the project level settings for the push-based log export feature. Using this resource you
|
|
10
|
+
* can continually push logs from mongod, mongos, and audit logs to an Amazon S3 bucket. Atlas exports logs every 5 minutes.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ### S
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const project_tf = new mongodbatlas.Project("project-tf", {
|
|
21
|
+
* name: atlasProjectName,
|
|
22
|
+
* orgId: atlasOrgId,
|
|
23
|
+
* });
|
|
24
|
+
* // Set up cloud provider access in Atlas using the created IAM role
|
|
25
|
+
* const setupOnly = new mongodbatlas.CloudProviderAccessSetup("setup_only", {
|
|
26
|
+
* projectId: project_tf.id,
|
|
27
|
+
* providerName: "AWS",
|
|
28
|
+
* });
|
|
29
|
+
* const authRole = new mongodbatlas.CloudProviderAccessAuthorization("auth_role", {
|
|
30
|
+
* projectId: project_tf.id,
|
|
31
|
+
* roleId: setupOnly.roleId,
|
|
32
|
+
* aws: {
|
|
33
|
+
* iamAssumedRoleArn: testRole.arn,
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* // Set up push-based log export with authorized IAM role
|
|
37
|
+
* const test = new mongodbatlas.PushBasedLogExport("test", {
|
|
38
|
+
* projectId: project_tf.id,
|
|
39
|
+
* bucketName: logBucket.bucket,
|
|
40
|
+
* iamRoleId: authRole.roleId,
|
|
41
|
+
* prefixPath: "push-based-log-test",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
class PushBasedLogExport extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing PushBasedLogExport resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new PushBasedLogExport(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of PushBasedLogExport. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === PushBasedLogExport.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
constructor(name, argsOrState, opts) {
|
|
69
|
+
let resourceInputs = {};
|
|
70
|
+
opts = opts || {};
|
|
71
|
+
if (opts.id) {
|
|
72
|
+
const state = argsOrState;
|
|
73
|
+
resourceInputs["bucketName"] = state ? state.bucketName : undefined;
|
|
74
|
+
resourceInputs["createDate"] = state ? state.createDate : undefined;
|
|
75
|
+
resourceInputs["iamRoleId"] = state ? state.iamRoleId : undefined;
|
|
76
|
+
resourceInputs["prefixPath"] = state ? state.prefixPath : undefined;
|
|
77
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
78
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
79
|
+
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.bucketName === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'bucketName'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.iamRoleId === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'iamRoleId'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'projectId'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["bucketName"] = args ? args.bucketName : undefined;
|
|
93
|
+
resourceInputs["iamRoleId"] = args ? args.iamRoleId : undefined;
|
|
94
|
+
resourceInputs["prefixPath"] = args ? args.prefixPath : undefined;
|
|
95
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
96
|
+
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
97
|
+
resourceInputs["createDate"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
99
|
+
}
|
|
100
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
+
super(PushBasedLogExport.__pulumiType, name, resourceInputs, opts);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PushBasedLogExport = PushBasedLogExport;
|
|
105
|
+
/** @internal */
|
|
106
|
+
PushBasedLogExport.__pulumiType = 'mongodbatlas:index/pushBasedLogExport:PushBasedLogExport';
|
|
107
|
+
//# sourceMappingURL=pushBasedLogExport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pushBasedLogExport.js","sourceRoot":"","sources":["../pushBasedLogExport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,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IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/FL,gDAgGC;AAlFG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/serverlessInstance.d.ts
CHANGED
|
@@ -58,6 +58,10 @@ export declare class ServerlessInstance extends pulumi.CustomResource {
|
|
|
58
58
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
59
|
*/
|
|
60
60
|
static isInstance(obj: any): obj is ServerlessInstance;
|
|
61
|
+
/**
|
|
62
|
+
* Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/). This parameter defaults to true.
|
|
63
|
+
*/
|
|
64
|
+
readonly autoIndexing: pulumi.Output<boolean>;
|
|
61
65
|
/**
|
|
62
66
|
* List of Serverless Private Endpoint Connections
|
|
63
67
|
*/
|
|
@@ -124,6 +128,10 @@ export declare class ServerlessInstance extends pulumi.CustomResource {
|
|
|
124
128
|
* Input properties used for looking up and filtering ServerlessInstance resources.
|
|
125
129
|
*/
|
|
126
130
|
export interface ServerlessInstanceState {
|
|
131
|
+
/**
|
|
132
|
+
* Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/). This parameter defaults to true.
|
|
133
|
+
*/
|
|
134
|
+
autoIndexing?: pulumi.Input<boolean>;
|
|
127
135
|
/**
|
|
128
136
|
* List of Serverless Private Endpoint Connections
|
|
129
137
|
*/
|
|
@@ -182,6 +190,10 @@ export interface ServerlessInstanceState {
|
|
|
182
190
|
* The set of arguments for constructing a ServerlessInstance resource.
|
|
183
191
|
*/
|
|
184
192
|
export interface ServerlessInstanceArgs {
|
|
193
|
+
/**
|
|
194
|
+
* Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/). This parameter defaults to true.
|
|
195
|
+
*/
|
|
196
|
+
autoIndexing?: pulumi.Input<boolean>;
|
|
185
197
|
/**
|
|
186
198
|
* Flag that indicates whether the serverless instance uses [Serverless Continuous Backup](https://www.mongodb.com/docs/atlas/configure-serverless-backup). If this parameter is false or not used, the serverless instance uses [Basic Backup](https://www.mongodb.com/docs/atlas/configure-serverless-backup).
|
|
187
199
|
*/
|
package/serverlessInstance.js
CHANGED
|
@@ -74,6 +74,7 @@ class ServerlessInstance extends pulumi.CustomResource {
|
|
|
74
74
|
opts = opts || {};
|
|
75
75
|
if (opts.id) {
|
|
76
76
|
const state = argsOrState;
|
|
77
|
+
resourceInputs["autoIndexing"] = state ? state.autoIndexing : undefined;
|
|
77
78
|
resourceInputs["connectionStringsPrivateEndpointSrvs"] = state ? state.connectionStringsPrivateEndpointSrvs : undefined;
|
|
78
79
|
resourceInputs["connectionStringsStandardSrv"] = state ? state.connectionStringsStandardSrv : undefined;
|
|
79
80
|
resourceInputs["continuousBackupEnabled"] = state ? state.continuousBackupEnabled : undefined;
|
|
@@ -103,6 +104,7 @@ class ServerlessInstance extends pulumi.CustomResource {
|
|
|
103
104
|
if ((!args || args.providerSettingsRegionName === undefined) && !opts.urn) {
|
|
104
105
|
throw new Error("Missing required property 'providerSettingsRegionName'");
|
|
105
106
|
}
|
|
107
|
+
resourceInputs["autoIndexing"] = args ? args.autoIndexing : undefined;
|
|
106
108
|
resourceInputs["continuousBackupEnabled"] = args ? args.continuousBackupEnabled : undefined;
|
|
107
109
|
resourceInputs["links"] = args ? args.links : undefined;
|
|
108
110
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessInstance.js","sourceRoot":"","sources":["../serverlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;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AC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3E,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAlJL,gDAmJC;AArIG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* `mongodbatlas.StreamConnection` provides a Stream Connection resource. The resource lets you create, edit, and delete stream instance connections.
|
|
6
|
+
*
|
|
7
|
+
* > **IMPORTANT:** All arguments including the Kafka authentication password will be stored in the raw state as plaintext. Read more about sensitive data in state.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ### Example Cluster Connection
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const test = new mongodbatlas.StreamConnection("test", {
|
|
18
|
+
* projectId: projectId,
|
|
19
|
+
* instanceName: "InstanceName",
|
|
20
|
+
* connectionName: "ConnectionName",
|
|
21
|
+
* type: "Cluster",
|
|
22
|
+
* clusterName: "Cluster0",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ### Example Kafka Plaintext Connection
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
31
|
+
*
|
|
32
|
+
* const test = new mongodbatlas.StreamConnection("test", {
|
|
33
|
+
* projectId: projectId,
|
|
34
|
+
* instanceName: "NewInstance",
|
|
35
|
+
* connectionName: "KafkaConnection",
|
|
36
|
+
* type: "Kafka",
|
|
37
|
+
* authentication: {
|
|
38
|
+
* mechanism: "SCRAM-256",
|
|
39
|
+
* username: "user",
|
|
40
|
+
* password: "somepassword",
|
|
41
|
+
* },
|
|
42
|
+
* security: {
|
|
43
|
+
* protocol: "PLAINTEXT",
|
|
44
|
+
* },
|
|
45
|
+
* config: {
|
|
46
|
+
* "auto.offset.reset": "latest",
|
|
47
|
+
* },
|
|
48
|
+
* bootstrapServers: "localhost:9091,localhost:9092",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* You can import a stream connection resource using the instance name, project ID, and connection name. The format must be `INSTANCE_NAME-PROJECT_ID-CONNECTION_NAME`. For example:
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import mongodbatlas:index/streamConnection:StreamConnection test "DefaultInstance-12251446ae5f3f6ec7968b13-NewConnection"
|
|
58
|
+
* ```
|
|
59
|
+
* To learn more, see: [MongoDB Atlas API - Stream Connection](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Streams/operation/createStreamConnection) Documentation.
|
|
60
|
+
* The Terraform Provider Examples Section also contains details on the overall support for Atlas Streams Processing in Terraform.
|
|
61
|
+
*/
|
|
62
|
+
export declare class StreamConnection extends pulumi.CustomResource {
|
|
63
|
+
/**
|
|
64
|
+
* Get an existing StreamConnection resource's state with the given name, ID, and optional extra
|
|
65
|
+
* properties used to qualify the lookup.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resulting resource.
|
|
68
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
69
|
+
* @param state Any extra arguments used during the lookup.
|
|
70
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
71
|
+
*/
|
|
72
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StreamConnectionState, opts?: pulumi.CustomResourceOptions): StreamConnection;
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of StreamConnection. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj: any): obj is StreamConnection;
|
|
78
|
+
readonly authentication: pulumi.Output<outputs.StreamConnectionAuthentication | undefined>;
|
|
79
|
+
readonly bootstrapServers: pulumi.Output<string | undefined>;
|
|
80
|
+
readonly clusterName: pulumi.Output<string | undefined>;
|
|
81
|
+
readonly config: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
} | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
86
|
+
*/
|
|
87
|
+
readonly connectionName: pulumi.Output<string>;
|
|
88
|
+
readonly dbRoleToExecute: pulumi.Output<outputs.StreamConnectionDbRoleToExecute | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Human-readable label that identifies the stream instance.
|
|
91
|
+
*/
|
|
92
|
+
readonly instanceName: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Unique 24-hexadecimal digit string that identifies your project.
|
|
95
|
+
*/
|
|
96
|
+
readonly projectId: pulumi.Output<string>;
|
|
97
|
+
readonly security: pulumi.Output<outputs.StreamConnectionSecurity | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Type of connection. Can be either `Cluster`, `Kafka` or `Sample`.
|
|
100
|
+
*/
|
|
101
|
+
readonly type: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Create a StreamConnection resource with the given unique name, arguments, and options.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resource.
|
|
106
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
107
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
108
|
+
*/
|
|
109
|
+
constructor(name: string, args: StreamConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Input properties used for looking up and filtering StreamConnection resources.
|
|
113
|
+
*/
|
|
114
|
+
export interface StreamConnectionState {
|
|
115
|
+
authentication?: pulumi.Input<inputs.StreamConnectionAuthentication>;
|
|
116
|
+
bootstrapServers?: pulumi.Input<string>;
|
|
117
|
+
clusterName?: pulumi.Input<string>;
|
|
118
|
+
config?: pulumi.Input<{
|
|
119
|
+
[key: string]: pulumi.Input<string>;
|
|
120
|
+
}>;
|
|
121
|
+
/**
|
|
122
|
+
* Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
123
|
+
*/
|
|
124
|
+
connectionName?: pulumi.Input<string>;
|
|
125
|
+
dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
|
|
126
|
+
/**
|
|
127
|
+
* Human-readable label that identifies the stream instance.
|
|
128
|
+
*/
|
|
129
|
+
instanceName?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Unique 24-hexadecimal digit string that identifies your project.
|
|
132
|
+
*/
|
|
133
|
+
projectId?: pulumi.Input<string>;
|
|
134
|
+
security?: pulumi.Input<inputs.StreamConnectionSecurity>;
|
|
135
|
+
/**
|
|
136
|
+
* Type of connection. Can be either `Cluster`, `Kafka` or `Sample`.
|
|
137
|
+
*/
|
|
138
|
+
type?: pulumi.Input<string>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The set of arguments for constructing a StreamConnection resource.
|
|
142
|
+
*/
|
|
143
|
+
export interface StreamConnectionArgs {
|
|
144
|
+
authentication?: pulumi.Input<inputs.StreamConnectionAuthentication>;
|
|
145
|
+
bootstrapServers?: pulumi.Input<string>;
|
|
146
|
+
clusterName?: pulumi.Input<string>;
|
|
147
|
+
config?: pulumi.Input<{
|
|
148
|
+
[key: string]: pulumi.Input<string>;
|
|
149
|
+
}>;
|
|
150
|
+
/**
|
|
151
|
+
* Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
|
|
152
|
+
*/
|
|
153
|
+
connectionName: pulumi.Input<string>;
|
|
154
|
+
dbRoleToExecute?: pulumi.Input<inputs.StreamConnectionDbRoleToExecute>;
|
|
155
|
+
/**
|
|
156
|
+
* Human-readable label that identifies the stream instance.
|
|
157
|
+
*/
|
|
158
|
+
instanceName: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Unique 24-hexadecimal digit string that identifies your project.
|
|
161
|
+
*/
|
|
162
|
+
projectId: pulumi.Input<string>;
|
|
163
|
+
security?: pulumi.Input<inputs.StreamConnectionSecurity>;
|
|
164
|
+
/**
|
|
165
|
+
* Type of connection. Can be either `Cluster`, `Kafka` or `Sample`.
|
|
166
|
+
*/
|
|
167
|
+
type: pulumi.Input<string>;
|
|
168
|
+
}
|