@pulumi/cloudamqp 3.25.0-alpha.1766554038 → 3.25.0

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.
@@ -66,8 +66,15 @@ class RabbitConfiguration extends pulumi.CustomResource {
66
66
  resourceInputs["instanceId"] = state?.instanceId;
67
67
  resourceInputs["logExchangeLevel"] = state?.logExchangeLevel;
68
68
  resourceInputs["maxMessageSize"] = state?.maxMessageSize;
69
+ resourceInputs["messageInterceptorsTimestampOverwrite"] = state?.messageInterceptorsTimestampOverwrite;
70
+ resourceInputs["mqttExchange"] = state?.mqttExchange;
71
+ resourceInputs["mqttSslCertLogin"] = state?.mqttSslCertLogin;
72
+ resourceInputs["mqttVhost"] = state?.mqttVhost;
69
73
  resourceInputs["queueIndexEmbedMsgsBelow"] = state?.queueIndexEmbedMsgsBelow;
70
74
  resourceInputs["sleep"] = state?.sleep;
75
+ resourceInputs["sslCertLoginFrom"] = state?.sslCertLoginFrom;
76
+ resourceInputs["sslOptionsFailIfNoPeerCert"] = state?.sslOptionsFailIfNoPeerCert;
77
+ resourceInputs["sslOptionsVerify"] = state?.sslOptionsVerify;
71
78
  resourceInputs["timeout"] = state?.timeout;
72
79
  resourceInputs["vmMemoryHighWatermark"] = state?.vmMemoryHighWatermark;
73
80
  }
@@ -84,8 +91,15 @@ class RabbitConfiguration extends pulumi.CustomResource {
84
91
  resourceInputs["instanceId"] = args?.instanceId;
85
92
  resourceInputs["logExchangeLevel"] = args?.logExchangeLevel;
86
93
  resourceInputs["maxMessageSize"] = args?.maxMessageSize;
94
+ resourceInputs["messageInterceptorsTimestampOverwrite"] = args?.messageInterceptorsTimestampOverwrite;
95
+ resourceInputs["mqttExchange"] = args?.mqttExchange;
96
+ resourceInputs["mqttSslCertLogin"] = args?.mqttSslCertLogin;
97
+ resourceInputs["mqttVhost"] = args?.mqttVhost;
87
98
  resourceInputs["queueIndexEmbedMsgsBelow"] = args?.queueIndexEmbedMsgsBelow;
88
99
  resourceInputs["sleep"] = args?.sleep;
100
+ resourceInputs["sslCertLoginFrom"] = args?.sslCertLoginFrom;
101
+ resourceInputs["sslOptionsFailIfNoPeerCert"] = args?.sslOptionsFailIfNoPeerCert;
102
+ resourceInputs["sslOptionsVerify"] = args?.sslOptionsVerify;
89
103
  resourceInputs["timeout"] = args?.timeout;
90
104
  resourceInputs["vmMemoryHighWatermark"] = args?.vmMemoryHighWatermark;
91
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"rabbitConfiguration.js","sourceRoot":"","sources":["../rabbitConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAwED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,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A0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtKL,kDAuKC;AAzJG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
@@ -0,0 +1,177 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This resource allows you to configure a trust store for your RabbitMQ instance. The trust store enables RabbitMQ to fetch and use CA certificates from an external source for validating client certificates.
6
+ *
7
+ * Only available for dedicated subscription plans running ***RabbitMQ***.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * <details>
12
+ * <summary>
13
+ * <b>
14
+ * <i>Basic trust store configuration</i>
15
+ * </b>
16
+ * </summary>
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as cloudamqp from "@pulumi/cloudamqp";
21
+ *
22
+ * const trustStore = new cloudamqp.TrustStore("trust_store", {
23
+ * instanceId: instance.id,
24
+ * http: {
25
+ * url: "https://example.com/trust-store-certs",
26
+ * },
27
+ * refreshInterval: 30,
28
+ * });
29
+ * ```
30
+ *
31
+ * </details>
32
+ *
33
+ * <details>
34
+ * <summary>
35
+ * <b>
36
+ * <i>Trust store with CA certificate</i>
37
+ * </b>
38
+ * </summary>
39
+ *
40
+ * ## Import
41
+ *
42
+ * `cloudamqp_trust_store` can be imported using the CloudAMQP instance identifier.
43
+ *
44
+ * From Terraform v1.5.0, the `import` block can be used to import this resource:
45
+ *
46
+ * hcl
47
+ *
48
+ * import {
49
+ *
50
+ * to = cloudamqp_trust_store.trust_store
51
+ *
52
+ * id = cloudamqp_instance.instance.id
53
+ *
54
+ * }
55
+ *
56
+ * Or use Terraform CLI:
57
+ *
58
+ * ```sh
59
+ * $ pulumi import cloudamqp:index/trustStore:TrustStore trust_store <instance_id>`
60
+ * ```
61
+ */
62
+ export declare class TrustStore extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing TrustStore 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?: TrustStoreState, opts?: pulumi.CustomResourceOptions): TrustStore;
73
+ /**
74
+ * Returns true if the given object is an instance of TrustStore. 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 TrustStore;
78
+ /**
79
+ * HTTP trust store configuration block. See HTTP Block below.
80
+ */
81
+ readonly http: pulumi.Output<outputs.TrustStoreHttp | undefined>;
82
+ /**
83
+ * The CloudAMQP instance ID.
84
+ */
85
+ readonly instanceId: pulumi.Output<number>;
86
+ /**
87
+ * Interval in seconds to refresh the trust store certificates. Defaults to 30 seconds.
88
+ * Defaults to 30 seconds.
89
+ */
90
+ readonly refreshInterval: pulumi.Output<number>;
91
+ /**
92
+ * Configurable sleep time in seconds between retries for
93
+ * trust store operations. Defaults to 10 seconds.
94
+ */
95
+ readonly sleep: pulumi.Output<number>;
96
+ /**
97
+ * Configurable timeout time in seconds for trust store
98
+ * operations. Defaults to 1800 seconds (30 minutes).
99
+ */
100
+ readonly timeout: pulumi.Output<number>;
101
+ /**
102
+ * Version of write-only certificates. Increment this value to force an update of write-only fields like `cacert`. Defaults to 1.
103
+ */
104
+ readonly version: pulumi.Output<number>;
105
+ /**
106
+ * Create a TrustStore resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args: TrustStoreArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering TrustStore resources.
116
+ */
117
+ export interface TrustStoreState {
118
+ /**
119
+ * HTTP trust store configuration block. See HTTP Block below.
120
+ */
121
+ http?: pulumi.Input<inputs.TrustStoreHttp>;
122
+ /**
123
+ * The CloudAMQP instance ID.
124
+ */
125
+ instanceId?: pulumi.Input<number>;
126
+ /**
127
+ * Interval in seconds to refresh the trust store certificates. Defaults to 30 seconds.
128
+ * Defaults to 30 seconds.
129
+ */
130
+ refreshInterval?: pulumi.Input<number>;
131
+ /**
132
+ * Configurable sleep time in seconds between retries for
133
+ * trust store operations. Defaults to 10 seconds.
134
+ */
135
+ sleep?: pulumi.Input<number>;
136
+ /**
137
+ * Configurable timeout time in seconds for trust store
138
+ * operations. Defaults to 1800 seconds (30 minutes).
139
+ */
140
+ timeout?: pulumi.Input<number>;
141
+ /**
142
+ * Version of write-only certificates. Increment this value to force an update of write-only fields like `cacert`. Defaults to 1.
143
+ */
144
+ version?: pulumi.Input<number>;
145
+ }
146
+ /**
147
+ * The set of arguments for constructing a TrustStore resource.
148
+ */
149
+ export interface TrustStoreArgs {
150
+ /**
151
+ * HTTP trust store configuration block. See HTTP Block below.
152
+ */
153
+ http?: pulumi.Input<inputs.TrustStoreHttp>;
154
+ /**
155
+ * The CloudAMQP instance ID.
156
+ */
157
+ instanceId: pulumi.Input<number>;
158
+ /**
159
+ * Interval in seconds to refresh the trust store certificates. Defaults to 30 seconds.
160
+ * Defaults to 30 seconds.
161
+ */
162
+ refreshInterval?: pulumi.Input<number>;
163
+ /**
164
+ * Configurable sleep time in seconds between retries for
165
+ * trust store operations. Defaults to 10 seconds.
166
+ */
167
+ sleep?: pulumi.Input<number>;
168
+ /**
169
+ * Configurable timeout time in seconds for trust store
170
+ * operations. Defaults to 1800 seconds (30 minutes).
171
+ */
172
+ timeout?: pulumi.Input<number>;
173
+ /**
174
+ * Version of write-only certificates. Increment this value to force an update of write-only fields like `cacert`. Defaults to 1.
175
+ */
176
+ version?: pulumi.Input<number>;
177
+ }
package/trustStore.js ADDED
@@ -0,0 +1,120 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.TrustStore = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to configure a trust store for your RabbitMQ instance. The trust store enables RabbitMQ to fetch and use CA certificates from an external source for validating client certificates.
10
+ *
11
+ * Only available for dedicated subscription plans running ***RabbitMQ***.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * <details>
16
+ * <summary>
17
+ * <b>
18
+ * <i>Basic trust store configuration</i>
19
+ * </b>
20
+ * </summary>
21
+ *
22
+ * ```typescript
23
+ * import * as pulumi from "@pulumi/pulumi";
24
+ * import * as cloudamqp from "@pulumi/cloudamqp";
25
+ *
26
+ * const trustStore = new cloudamqp.TrustStore("trust_store", {
27
+ * instanceId: instance.id,
28
+ * http: {
29
+ * url: "https://example.com/trust-store-certs",
30
+ * },
31
+ * refreshInterval: 30,
32
+ * });
33
+ * ```
34
+ *
35
+ * </details>
36
+ *
37
+ * <details>
38
+ * <summary>
39
+ * <b>
40
+ * <i>Trust store with CA certificate</i>
41
+ * </b>
42
+ * </summary>
43
+ *
44
+ * ## Import
45
+ *
46
+ * `cloudamqp_trust_store` can be imported using the CloudAMQP instance identifier.
47
+ *
48
+ * From Terraform v1.5.0, the `import` block can be used to import this resource:
49
+ *
50
+ * hcl
51
+ *
52
+ * import {
53
+ *
54
+ * to = cloudamqp_trust_store.trust_store
55
+ *
56
+ * id = cloudamqp_instance.instance.id
57
+ *
58
+ * }
59
+ *
60
+ * Or use Terraform CLI:
61
+ *
62
+ * ```sh
63
+ * $ pulumi import cloudamqp:index/trustStore:TrustStore trust_store <instance_id>`
64
+ * ```
65
+ */
66
+ class TrustStore extends pulumi.CustomResource {
67
+ /**
68
+ * Get an existing TrustStore resource's state with the given name, ID, and optional extra
69
+ * properties used to qualify the lookup.
70
+ *
71
+ * @param name The _unique_ name of the resulting resource.
72
+ * @param id The _unique_ provider ID of the resource to lookup.
73
+ * @param state Any extra arguments used during the lookup.
74
+ * @param opts Optional settings to control the behavior of the CustomResource.
75
+ */
76
+ static get(name, id, state, opts) {
77
+ return new TrustStore(name, state, { ...opts, id: id });
78
+ }
79
+ /**
80
+ * Returns true if the given object is an instance of TrustStore. This is designed to work even
81
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
82
+ */
83
+ static isInstance(obj) {
84
+ if (obj === undefined || obj === null) {
85
+ return false;
86
+ }
87
+ return obj['__pulumiType'] === TrustStore.__pulumiType;
88
+ }
89
+ constructor(name, argsOrState, opts) {
90
+ let resourceInputs = {};
91
+ opts = opts || {};
92
+ if (opts.id) {
93
+ const state = argsOrState;
94
+ resourceInputs["http"] = state?.http;
95
+ resourceInputs["instanceId"] = state?.instanceId;
96
+ resourceInputs["refreshInterval"] = state?.refreshInterval;
97
+ resourceInputs["sleep"] = state?.sleep;
98
+ resourceInputs["timeout"] = state?.timeout;
99
+ resourceInputs["version"] = state?.version;
100
+ }
101
+ else {
102
+ const args = argsOrState;
103
+ if (args?.instanceId === undefined && !opts.urn) {
104
+ throw new Error("Missing required property 'instanceId'");
105
+ }
106
+ resourceInputs["http"] = args?.http;
107
+ resourceInputs["instanceId"] = args?.instanceId;
108
+ resourceInputs["refreshInterval"] = args?.refreshInterval;
109
+ resourceInputs["sleep"] = args?.sleep;
110
+ resourceInputs["timeout"] = args?.timeout;
111
+ resourceInputs["version"] = args?.version;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(TrustStore.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.TrustStore = TrustStore;
118
+ /** @internal */
119
+ TrustStore.__pulumiType = 'cloudamqp:index/trustStore:TrustStore';
120
+ //# sourceMappingURL=trustStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustStore.js","sourceRoot":"","sources":["../trustStore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAsCD,YAAY,IAAY,EAAE,WAA8C,E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E,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzFL,gCA0FC;AA5EG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
package/types/input.d.ts CHANGED
@@ -202,3 +202,17 @@ export interface SecurityFirewallRule {
202
202
  */
203
203
  services?: pulumi.Input<pulumi.Input<string>[]>;
204
204
  }
205
+ export interface TrustStoreHttp {
206
+ /**
207
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
208
+ * PEM encoded CA certificates used to verify the HTTPS connection to the
209
+ * trust store URL. This is a write-only field - changes are only applied when `version`
210
+ * is incremented.
211
+ */
212
+ cacert?: pulumi.Input<string>;
213
+ /**
214
+ * URL to fetch trust store certificates from. RabbitMQ will periodically
215
+ * fetch CA certificates from this URL.
216
+ */
217
+ url: pulumi.Input<string>;
218
+ }
package/types/output.d.ts CHANGED
@@ -401,3 +401,17 @@ export interface SecurityFirewallRule {
401
401
  */
402
402
  services?: string[];
403
403
  }
404
+ export interface TrustStoreHttp {
405
+ /**
406
+ * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
407
+ * PEM encoded CA certificates used to verify the HTTPS connection to the
408
+ * trust store URL. This is a write-only field - changes are only applied when `version`
409
+ * is incremented.
410
+ */
411
+ cacert?: string;
412
+ /**
413
+ * URL to fetch trust store certificates from. RabbitMQ will periodically
414
+ * fetch CA certificates from this URL.
415
+ */
416
+ url: string;
417
+ }