@pulumi/cloudamqp 3.17.0 → 3.17.2
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/instance.d.ts +1 -1
- package/instance.js +1 -1
- package/integrationLog.d.ts +41 -3
- package/integrationLog.js +8 -0
- package/integrationLog.js.map +1 -1
- package/package.json +1 -1
- package/privatelinkAws.d.ts +3 -1
- package/privatelinkAws.js +3 -1
- package/privatelinkAws.js.map +1 -1
- package/privatelinkAzure.d.ts +3 -1
- package/privatelinkAzure.js +3 -1
- package/privatelinkAzure.js.map +1 -1
- package/vpcConnect.d.ts +68 -0
- package/vpcConnect.js +68 -0
- package/vpcConnect.js.map +1 -1
package/instance.d.ts
CHANGED
|
@@ -236,7 +236,7 @@ import * as outputs from "./types/output";
|
|
|
236
236
|
* $ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
237
237
|
* ```
|
|
238
238
|
*
|
|
239
|
-
* To retrieve the identifier for
|
|
239
|
+
* To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md) to list all available instances for an account.
|
|
240
240
|
*/
|
|
241
241
|
export declare class Instance extends pulumi.CustomResource {
|
|
242
242
|
/**
|
package/instance.js
CHANGED
|
@@ -240,7 +240,7 @@ const utilities = require("./utilities");
|
|
|
240
240
|
* $ pulumi import cloudamqp:index/instance:Instance instance <id>`
|
|
241
241
|
* ```
|
|
242
242
|
*
|
|
243
|
-
* To retrieve the identifier for
|
|
243
|
+
* To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md) to list all available instances for an account.
|
|
244
244
|
*/
|
|
245
245
|
class Instance extends pulumi.CustomResource {
|
|
246
246
|
/**
|
package/integrationLog.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* | datadog | Create a Datadog API key at app.datadoghq.com |
|
|
29
29
|
* | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
|
|
30
30
|
* | scalyr | Create a Log write token at https://app.scalyr.com/keys |
|
|
31
|
+
* | coralogix | Create Send-Your-Data API key https://coralogix.com/docs/send-your-data-api-key/ |
|
|
31
32
|
*
|
|
32
33
|
* ## Integration Type reference
|
|
33
34
|
*
|
|
@@ -45,6 +46,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
46
|
* | Data Dog | datadog | region, api_keys, tags |
|
|
46
47
|
* | Stackdriver | stackdriver | credentials |
|
|
47
48
|
* | Scalyr | scalyr | token, host |
|
|
49
|
+
* | Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
48
50
|
*
|
|
49
51
|
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments : project_id, private_key, clientEmail
|
|
50
52
|
*
|
|
@@ -84,6 +86,10 @@ export declare class IntegrationLog extends pulumi.CustomResource {
|
|
|
84
86
|
* The API key.
|
|
85
87
|
*/
|
|
86
88
|
readonly apiKey: pulumi.Output<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The application name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
91
|
+
*/
|
|
92
|
+
readonly application: pulumi.Output<string | undefined>;
|
|
87
93
|
/**
|
|
88
94
|
* The client email registered for the integration service.
|
|
89
95
|
*/
|
|
@@ -92,6 +98,10 @@ export declare class IntegrationLog extends pulumi.CustomResource {
|
|
|
92
98
|
* Google Service Account private key credentials.
|
|
93
99
|
*/
|
|
94
100
|
readonly credentials: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* The syslog destination to send the logs to for Coralogix. See endpoint [documentations](https://coralogix.com/docs/coralogix-endpoints/).
|
|
103
|
+
*/
|
|
104
|
+
readonly endpoint: pulumi.Output<string | undefined>;
|
|
95
105
|
/**
|
|
96
106
|
* The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
|
|
97
107
|
*/
|
|
@@ -130,10 +140,14 @@ export declare class IntegrationLog extends pulumi.CustomResource {
|
|
|
130
140
|
readonly secretAccessKey: pulumi.Output<string | undefined>;
|
|
131
141
|
/**
|
|
132
142
|
* Assign source type to the data exported, eg. generic_single_line. (Splunk)
|
|
143
|
+
*/
|
|
144
|
+
readonly sourcetype: pulumi.Output<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The subsystem name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
133
147
|
*
|
|
134
148
|
* This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
|
|
135
149
|
*/
|
|
136
|
-
readonly
|
|
150
|
+
readonly subsystem: pulumi.Output<string | undefined>;
|
|
137
151
|
/**
|
|
138
152
|
* Tag the integration, e.g. env=prod, region=europe.
|
|
139
153
|
*/
|
|
@@ -167,6 +181,10 @@ export interface IntegrationLogState {
|
|
|
167
181
|
* The API key.
|
|
168
182
|
*/
|
|
169
183
|
apiKey?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The application name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
186
|
+
*/
|
|
187
|
+
application?: pulumi.Input<string>;
|
|
170
188
|
/**
|
|
171
189
|
* The client email registered for the integration service.
|
|
172
190
|
*/
|
|
@@ -175,6 +193,10 @@ export interface IntegrationLogState {
|
|
|
175
193
|
* Google Service Account private key credentials.
|
|
176
194
|
*/
|
|
177
195
|
credentials?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The syslog destination to send the logs to for Coralogix. See endpoint [documentations](https://coralogix.com/docs/coralogix-endpoints/).
|
|
198
|
+
*/
|
|
199
|
+
endpoint?: pulumi.Input<string>;
|
|
178
200
|
/**
|
|
179
201
|
* The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
|
|
180
202
|
*/
|
|
@@ -213,10 +235,14 @@ export interface IntegrationLogState {
|
|
|
213
235
|
secretAccessKey?: pulumi.Input<string>;
|
|
214
236
|
/**
|
|
215
237
|
* Assign source type to the data exported, eg. generic_single_line. (Splunk)
|
|
238
|
+
*/
|
|
239
|
+
sourcetype?: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* The subsystem name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
216
242
|
*
|
|
217
243
|
* This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
|
|
218
244
|
*/
|
|
219
|
-
|
|
245
|
+
subsystem?: pulumi.Input<string>;
|
|
220
246
|
/**
|
|
221
247
|
* Tag the integration, e.g. env=prod, region=europe.
|
|
222
248
|
*/
|
|
@@ -242,6 +268,10 @@ export interface IntegrationLogArgs {
|
|
|
242
268
|
* The API key.
|
|
243
269
|
*/
|
|
244
270
|
apiKey?: pulumi.Input<string>;
|
|
271
|
+
/**
|
|
272
|
+
* The application name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
273
|
+
*/
|
|
274
|
+
application?: pulumi.Input<string>;
|
|
245
275
|
/**
|
|
246
276
|
* The client email registered for the integration service.
|
|
247
277
|
*/
|
|
@@ -250,6 +280,10 @@ export interface IntegrationLogArgs {
|
|
|
250
280
|
* Google Service Account private key credentials.
|
|
251
281
|
*/
|
|
252
282
|
credentials?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* The syslog destination to send the logs to for Coralogix. See endpoint [documentations](https://coralogix.com/docs/coralogix-endpoints/).
|
|
285
|
+
*/
|
|
286
|
+
endpoint?: pulumi.Input<string>;
|
|
253
287
|
/**
|
|
254
288
|
* The host for Scalyr integration. (app.scalyr.com, app.eu.scalyr.com)
|
|
255
289
|
*/
|
|
@@ -288,10 +322,14 @@ export interface IntegrationLogArgs {
|
|
|
288
322
|
secretAccessKey?: pulumi.Input<string>;
|
|
289
323
|
/**
|
|
290
324
|
* Assign source type to the data exported, eg. generic_single_line. (Splunk)
|
|
325
|
+
*/
|
|
326
|
+
sourcetype?: pulumi.Input<string>;
|
|
327
|
+
/**
|
|
328
|
+
* The subsystem name for Coralogix. See application [documentations](https://coralogix.com/docs/application-and-subsystem-names/)
|
|
291
329
|
*
|
|
292
330
|
* This is the full list of all arguments. Only a subset of arguments are used based on which type of integration used. See Integration Type reference table below for more information.
|
|
293
331
|
*/
|
|
294
|
-
|
|
332
|
+
subsystem?: pulumi.Input<string>;
|
|
295
333
|
/**
|
|
296
334
|
* Tag the integration, e.g. env=prod, region=europe.
|
|
297
335
|
*/
|
package/integrationLog.js
CHANGED
|
@@ -34,6 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* | datadog | Create a Datadog API key at app.datadoghq.com |
|
|
35
35
|
* | stackdriver | Create a service account and add 'monitor metrics writer' role from your Google Cloud Account |
|
|
36
36
|
* | scalyr | Create a Log write token at https://app.scalyr.com/keys |
|
|
37
|
+
* | coralogix | Create Send-Your-Data API key https://coralogix.com/docs/send-your-data-api-key/ |
|
|
37
38
|
*
|
|
38
39
|
* ## Integration Type reference
|
|
39
40
|
*
|
|
@@ -51,6 +52,7 @@ const utilities = require("./utilities");
|
|
|
51
52
|
* | Data Dog | datadog | region, api_keys, tags |
|
|
52
53
|
* | Stackdriver | stackdriver | credentials |
|
|
53
54
|
* | Scalyr | scalyr | token, host |
|
|
55
|
+
* | Coralogix | coralogix | private_key, endpoint, application, subsystem |
|
|
54
56
|
*
|
|
55
57
|
* ***Note:*** Stackdriver (v1.20.2 or earlier versions) required arguments : project_id, private_key, clientEmail
|
|
56
58
|
*
|
|
@@ -96,8 +98,10 @@ class IntegrationLog extends pulumi.CustomResource {
|
|
|
96
98
|
const state = argsOrState;
|
|
97
99
|
resourceInputs["accessKeyId"] = state ? state.accessKeyId : undefined;
|
|
98
100
|
resourceInputs["apiKey"] = state ? state.apiKey : undefined;
|
|
101
|
+
resourceInputs["application"] = state ? state.application : undefined;
|
|
99
102
|
resourceInputs["clientEmail"] = state ? state.clientEmail : undefined;
|
|
100
103
|
resourceInputs["credentials"] = state ? state.credentials : undefined;
|
|
104
|
+
resourceInputs["endpoint"] = state ? state.endpoint : undefined;
|
|
101
105
|
resourceInputs["host"] = state ? state.host : undefined;
|
|
102
106
|
resourceInputs["hostPort"] = state ? state.hostPort : undefined;
|
|
103
107
|
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
@@ -108,6 +112,7 @@ class IntegrationLog extends pulumi.CustomResource {
|
|
|
108
112
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
109
113
|
resourceInputs["secretAccessKey"] = state ? state.secretAccessKey : undefined;
|
|
110
114
|
resourceInputs["sourcetype"] = state ? state.sourcetype : undefined;
|
|
115
|
+
resourceInputs["subsystem"] = state ? state.subsystem : undefined;
|
|
111
116
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
112
117
|
resourceInputs["token"] = state ? state.token : undefined;
|
|
113
118
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
@@ -119,8 +124,10 @@ class IntegrationLog extends pulumi.CustomResource {
|
|
|
119
124
|
}
|
|
120
125
|
resourceInputs["accessKeyId"] = (args === null || args === void 0 ? void 0 : args.accessKeyId) ? pulumi.secret(args.accessKeyId) : undefined;
|
|
121
126
|
resourceInputs["apiKey"] = (args === null || args === void 0 ? void 0 : args.apiKey) ? pulumi.secret(args.apiKey) : undefined;
|
|
127
|
+
resourceInputs["application"] = args ? args.application : undefined;
|
|
122
128
|
resourceInputs["clientEmail"] = args ? args.clientEmail : undefined;
|
|
123
129
|
resourceInputs["credentials"] = (args === null || args === void 0 ? void 0 : args.credentials) ? pulumi.secret(args.credentials) : undefined;
|
|
130
|
+
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
124
131
|
resourceInputs["host"] = args ? args.host : undefined;
|
|
125
132
|
resourceInputs["hostPort"] = args ? args.hostPort : undefined;
|
|
126
133
|
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
@@ -131,6 +138,7 @@ class IntegrationLog extends pulumi.CustomResource {
|
|
|
131
138
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
132
139
|
resourceInputs["secretAccessKey"] = (args === null || args === void 0 ? void 0 : args.secretAccessKey) ? pulumi.secret(args.secretAccessKey) : undefined;
|
|
133
140
|
resourceInputs["sourcetype"] = args ? args.sourcetype : undefined;
|
|
141
|
+
resourceInputs["subsystem"] = args ? args.subsystem : undefined;
|
|
134
142
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
135
143
|
resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
|
|
136
144
|
resourceInputs["url"] = args ? args.url : undefined;
|
package/integrationLog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationLog.js","sourceRoot":"","sources":["../integrationLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"integrationLog.js","sourceRoot":"","sources":["../integrationLog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;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C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,CAAC;QACnJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA9KL,wCA+KC;AAjKG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/package.json
CHANGED
package/privatelinkAws.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
113
113
|
* instanceId: instance.id,
|
|
114
114
|
* rules: [
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
116
|
+
* description: "Custom PrivateLink setup",
|
|
117
117
|
* ip: vpc.subnet,
|
|
118
118
|
* ports: [],
|
|
119
119
|
* services: [
|
|
@@ -157,6 +157,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
157
157
|
* ```sh
|
|
158
158
|
* $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
159
159
|
* ```
|
|
160
|
+
*
|
|
161
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
160
162
|
*/
|
|
161
163
|
export declare class PrivatelinkAws extends pulumi.CustomResource {
|
|
162
164
|
/**
|
package/privatelinkAws.js
CHANGED
|
@@ -119,7 +119,7 @@ const utilities = require("./utilities");
|
|
|
119
119
|
* instanceId: instance.id,
|
|
120
120
|
* rules: [
|
|
121
121
|
* {
|
|
122
|
-
*
|
|
122
|
+
* description: "Custom PrivateLink setup",
|
|
123
123
|
* ip: vpc.subnet,
|
|
124
124
|
* ports: [],
|
|
125
125
|
* services: [
|
|
@@ -163,6 +163,8 @@ const utilities = require("./utilities");
|
|
|
163
163
|
* ```sh
|
|
164
164
|
* $ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
165
165
|
* ```
|
|
166
|
+
*
|
|
167
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
166
168
|
*/
|
|
167
169
|
class PrivatelinkAws extends pulumi.CustomResource {
|
|
168
170
|
/**
|
package/privatelinkAws.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privatelinkAws.js","sourceRoot":"","sources":["../privatelinkAws.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privatelinkAws.js","sourceRoot":"","sources":["../privatelinkAws.ts"],"names":[],"mappings":";AAAA,wFAAwF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,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtGL,wCAuGC;AAzFG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/privatelinkAzure.d.ts
CHANGED
|
@@ -113,7 +113,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
113
113
|
* instanceId: instance.id,
|
|
114
114
|
* rules: [
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
116
|
+
* description: "Custom PrivateLink setup",
|
|
117
117
|
* ip: vpc.subnet,
|
|
118
118
|
* ports: [],
|
|
119
119
|
* services: [
|
|
@@ -157,6 +157,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
157
157
|
* ```sh
|
|
158
158
|
* $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
159
159
|
* ```
|
|
160
|
+
*
|
|
161
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
160
162
|
*/
|
|
161
163
|
export declare class PrivatelinkAzure extends pulumi.CustomResource {
|
|
162
164
|
/**
|
package/privatelinkAzure.js
CHANGED
|
@@ -119,7 +119,7 @@ const utilities = require("./utilities");
|
|
|
119
119
|
* instanceId: instance.id,
|
|
120
120
|
* rules: [
|
|
121
121
|
* {
|
|
122
|
-
*
|
|
122
|
+
* description: "Custom PrivateLink setup",
|
|
123
123
|
* ip: vpc.subnet,
|
|
124
124
|
* ports: [],
|
|
125
125
|
* services: [
|
|
@@ -163,6 +163,8 @@ const utilities = require("./utilities");
|
|
|
163
163
|
* ```sh
|
|
164
164
|
* $ pulumi import cloudamqp:index/privatelinkAzure:PrivatelinkAzure privatelink <id>`
|
|
165
165
|
* ```
|
|
166
|
+
*
|
|
167
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
166
168
|
*/
|
|
167
169
|
class PrivatelinkAzure extends pulumi.CustomResource {
|
|
168
170
|
/**
|
package/privatelinkAzure.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privatelinkAzure.js","sourceRoot":"","sources":["../privatelinkAzure.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"privatelinkAzure.js","sourceRoot":"","sources":["../privatelinkAzure.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgKG;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,kCAA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G,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/vpcConnect.d.ts
CHANGED
|
@@ -135,6 +135,63 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
135
135
|
* ```
|
|
136
136
|
*
|
|
137
137
|
* </details>
|
|
138
|
+
* ### With Additional Firewall Rules
|
|
139
|
+
*
|
|
140
|
+
* <details>
|
|
141
|
+
* <summary>
|
|
142
|
+
* <b>
|
|
143
|
+
* <i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
144
|
+
* </b>
|
|
145
|
+
* </summary>
|
|
146
|
+
*
|
|
147
|
+
* ```typescript
|
|
148
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
149
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
150
|
+
*
|
|
151
|
+
* const vpc = new cloudamqp.Vpc("vpc", {
|
|
152
|
+
* region: "amazon-web-services::us-west-1",
|
|
153
|
+
* subnet: "10.56.72.0/24",
|
|
154
|
+
* tags: [],
|
|
155
|
+
* });
|
|
156
|
+
* const instance = new cloudamqp.Instance("instance", {
|
|
157
|
+
* plan: "bunny-1",
|
|
158
|
+
* region: "amazon-web-services::us-west-1",
|
|
159
|
+
* tags: [],
|
|
160
|
+
* vpcId: vpc.id,
|
|
161
|
+
* keepAssociatedVpc: true,
|
|
162
|
+
* });
|
|
163
|
+
* const vpcConnect = new cloudamqp.VpcConnect("vpcConnect", {
|
|
164
|
+
* instanceId: instance.id,
|
|
165
|
+
* allowedPrincipals: ["arn:aws:iam::aws-account-id:user/user-name"],
|
|
166
|
+
* });
|
|
167
|
+
* const firewallSettings = new cloudamqp.SecurityFirewall("firewallSettings", {
|
|
168
|
+
* instanceId: instance.id,
|
|
169
|
+
* rules: [
|
|
170
|
+
* {
|
|
171
|
+
* description: "Custom PrivateLink setup",
|
|
172
|
+
* ip: vpc.subnet,
|
|
173
|
+
* ports: [],
|
|
174
|
+
* services: [
|
|
175
|
+
* "AMQP",
|
|
176
|
+
* "AMQPS",
|
|
177
|
+
* "HTTPS",
|
|
178
|
+
* "STREAM",
|
|
179
|
+
* "STREAM_SSL",
|
|
180
|
+
* ],
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* description: "MGMT interface",
|
|
184
|
+
* ip: "0.0.0.0/0",
|
|
185
|
+
* ports: [],
|
|
186
|
+
* services: ["HTTPS"],
|
|
187
|
+
* },
|
|
188
|
+
* ],
|
|
189
|
+
* }, {
|
|
190
|
+
* dependsOn: [vpcConnect],
|
|
191
|
+
* });
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* </details>
|
|
138
195
|
* ## Depedency
|
|
139
196
|
*
|
|
140
197
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -142,6 +199,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
142
199
|
* Since `region` also is required, suggest to reuse the argument from CloudAMQP instance,
|
|
143
200
|
* `cloudamqp_instance.instance.region`.
|
|
144
201
|
*
|
|
202
|
+
* ## Create VPC Connect with additional firewall rules
|
|
203
|
+
*
|
|
204
|
+
* To create a PrivateLink/Private Service Connect configuration with additional firewall rules, it's required to chain the cloudamqp.SecurityFirewall
|
|
205
|
+
* resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
206
|
+
* resource depend on the VPC Connect resource, `cloudamqp_vpc_connect.vpc_connect`.
|
|
207
|
+
*
|
|
208
|
+
* Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
209
|
+
* the VPC Connect also needs to be added.
|
|
210
|
+
*
|
|
145
211
|
* ## Import
|
|
146
212
|
*
|
|
147
213
|
* `cloudamqp_vpc_connect` can be imported using CloudAMQP internal identifier.
|
|
@@ -149,6 +215,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
149
215
|
* ```sh
|
|
150
216
|
* $ pulumi import cloudamqp:index/vpcConnect:VpcConnect vpc_connect <id>`
|
|
151
217
|
* ```
|
|
218
|
+
*
|
|
219
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
152
220
|
*/
|
|
153
221
|
export declare class VpcConnect extends pulumi.CustomResource {
|
|
154
222
|
/**
|
package/vpcConnect.js
CHANGED
|
@@ -141,6 +141,63 @@ const utilities = require("./utilities");
|
|
|
141
141
|
* ```
|
|
142
142
|
*
|
|
143
143
|
* </details>
|
|
144
|
+
* ### With Additional Firewall Rules
|
|
145
|
+
*
|
|
146
|
+
* <details>
|
|
147
|
+
* <summary>
|
|
148
|
+
* <b>
|
|
149
|
+
* <i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
150
|
+
* </b>
|
|
151
|
+
* </summary>
|
|
152
|
+
*
|
|
153
|
+
* ```typescript
|
|
154
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
155
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
156
|
+
*
|
|
157
|
+
* const vpc = new cloudamqp.Vpc("vpc", {
|
|
158
|
+
* region: "amazon-web-services::us-west-1",
|
|
159
|
+
* subnet: "10.56.72.0/24",
|
|
160
|
+
* tags: [],
|
|
161
|
+
* });
|
|
162
|
+
* const instance = new cloudamqp.Instance("instance", {
|
|
163
|
+
* plan: "bunny-1",
|
|
164
|
+
* region: "amazon-web-services::us-west-1",
|
|
165
|
+
* tags: [],
|
|
166
|
+
* vpcId: vpc.id,
|
|
167
|
+
* keepAssociatedVpc: true,
|
|
168
|
+
* });
|
|
169
|
+
* const vpcConnect = new cloudamqp.VpcConnect("vpcConnect", {
|
|
170
|
+
* instanceId: instance.id,
|
|
171
|
+
* allowedPrincipals: ["arn:aws:iam::aws-account-id:user/user-name"],
|
|
172
|
+
* });
|
|
173
|
+
* const firewallSettings = new cloudamqp.SecurityFirewall("firewallSettings", {
|
|
174
|
+
* instanceId: instance.id,
|
|
175
|
+
* rules: [
|
|
176
|
+
* {
|
|
177
|
+
* description: "Custom PrivateLink setup",
|
|
178
|
+
* ip: vpc.subnet,
|
|
179
|
+
* ports: [],
|
|
180
|
+
* services: [
|
|
181
|
+
* "AMQP",
|
|
182
|
+
* "AMQPS",
|
|
183
|
+
* "HTTPS",
|
|
184
|
+
* "STREAM",
|
|
185
|
+
* "STREAM_SSL",
|
|
186
|
+
* ],
|
|
187
|
+
* },
|
|
188
|
+
* {
|
|
189
|
+
* description: "MGMT interface",
|
|
190
|
+
* ip: "0.0.0.0/0",
|
|
191
|
+
* ports: [],
|
|
192
|
+
* services: ["HTTPS"],
|
|
193
|
+
* },
|
|
194
|
+
* ],
|
|
195
|
+
* }, {
|
|
196
|
+
* dependsOn: [vpcConnect],
|
|
197
|
+
* });
|
|
198
|
+
* ```
|
|
199
|
+
*
|
|
200
|
+
* </details>
|
|
144
201
|
* ## Depedency
|
|
145
202
|
*
|
|
146
203
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
@@ -148,6 +205,15 @@ const utilities = require("./utilities");
|
|
|
148
205
|
* Since `region` also is required, suggest to reuse the argument from CloudAMQP instance,
|
|
149
206
|
* `cloudamqp_instance.instance.region`.
|
|
150
207
|
*
|
|
208
|
+
* ## Create VPC Connect with additional firewall rules
|
|
209
|
+
*
|
|
210
|
+
* To create a PrivateLink/Private Service Connect configuration with additional firewall rules, it's required to chain the cloudamqp.SecurityFirewall
|
|
211
|
+
* resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
212
|
+
* resource depend on the VPC Connect resource, `cloudamqp_vpc_connect.vpc_connect`.
|
|
213
|
+
*
|
|
214
|
+
* Furthermore, since all firewall rules are overwritten, the otherwise automatically added rules for
|
|
215
|
+
* the VPC Connect also needs to be added.
|
|
216
|
+
*
|
|
151
217
|
* ## Import
|
|
152
218
|
*
|
|
153
219
|
* `cloudamqp_vpc_connect` can be imported using CloudAMQP internal identifier.
|
|
@@ -155,6 +221,8 @@ const utilities = require("./utilities");
|
|
|
155
221
|
* ```sh
|
|
156
222
|
* $ pulumi import cloudamqp:index/vpcConnect:VpcConnect vpc_connect <id>`
|
|
157
223
|
* ```
|
|
224
|
+
*
|
|
225
|
+
* The resource uses the same identifier as the CloudAMQP instance. To retrieve the identifier for an instance, either use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances) or use the data source [`cloudamqp_account`](./data-sources/account.md).
|
|
158
226
|
*/
|
|
159
227
|
class VpcConnect extends pulumi.CustomResource {
|
|
160
228
|
/**
|
package/vpcConnect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcConnect.js","sourceRoot":"","sources":["../vpcConnect.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"vpcConnect.js","sourceRoot":"","sources":["../vpcConnect.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0NG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SA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