@pulumi/aiven 6.56.0-alpha.1781073342 → 6.56.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.
- package/billingGroup.d.ts +13 -13
- package/billingGroup.js +1 -1
- package/byocAwsEntity.d.ts +0 -49
- package/byocAwsEntity.d.ts.map +1 -1
- package/byocAwsEntity.js +0 -11
- package/byocAwsEntity.js.map +1 -1
- package/byocAwsProvision.d.ts +17 -1
- package/byocAwsProvision.d.ts.map +1 -1
- package/byocAwsProvision.js +5 -1
- package/byocAwsProvision.js.map +1 -1
- package/getBillingGroup.d.ts +2 -2
- package/getBillingGroup.js +2 -2
- package/getCmkAccessorAws.d.ts +72 -0
- package/getCmkAccessorAws.d.ts.map +1 -0
- package/getCmkAccessorAws.js +75 -0
- package/getCmkAccessorAws.js.map +1 -0
- package/getCmkAccessorAzure.d.ts +72 -0
- package/getCmkAccessorAzure.d.ts.map +1 -0
- package/getCmkAccessorAzure.js +75 -0
- package/getCmkAccessorAzure.js.map +1 -0
- package/getCmkAccessorGcp.d.ts +72 -0
- package/getCmkAccessorGcp.d.ts.map +1 -0
- package/getCmkAccessorGcp.js +75 -0
- package/getCmkAccessorGcp.js.map +1 -0
- package/getCmkAccessorOci.d.ts +76 -0
- package/getCmkAccessorOci.d.ts.map +1 -0
- package/getCmkAccessorOci.js +75 -0
- package/getCmkAccessorOci.js.map +1 -0
- package/getOrganizationAddress.d.ts +2 -8
- package/getOrganizationAddress.d.ts.map +1 -1
- package/getOrganizationAddress.js +0 -6
- package/getOrganizationAddress.js.map +1 -1
- package/getOrganizationBillingGroup.d.ts +4 -6
- package/getOrganizationBillingGroup.d.ts.map +1 -1
- package/getOrganizationBillingGroup.js +0 -6
- package/getOrganizationBillingGroup.js.map +1 -1
- package/getOrganizationBillingGroupList.d.ts +0 -6
- package/getOrganizationBillingGroupList.d.ts.map +1 -1
- package/getOrganizationBillingGroupList.js +0 -6
- package/getOrganizationBillingGroupList.js.map +1 -1
- package/getOrganizationPaymentMethodList.d.ts +0 -6
- package/getOrganizationPaymentMethodList.d.ts.map +1 -1
- package/getOrganizationPaymentMethodList.js +0 -6
- package/getOrganizationPaymentMethodList.js.map +1 -1
- package/getProjectVpc.d.ts +43 -20
- package/getProjectVpc.d.ts.map +1 -1
- package/getProjectVpc.js +10 -6
- package/getProjectVpc.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.d.ts.map +1 -1
- package/index.js +16 -4
- package/index.js.map +1 -1
- package/organizationAddress.d.ts +16 -19
- package/organizationAddress.d.ts.map +1 -1
- package/organizationAddress.js +1 -4
- package/organizationAddress.js.map +1 -1
- package/organizationBillingGroup.d.ts +8 -3
- package/organizationBillingGroup.d.ts.map +1 -1
- package/organizationBillingGroup.js +2 -3
- package/organizationBillingGroup.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +8 -0
- package/project.d.ts.map +1 -1
- package/project.js.map +1 -1
- package/projectVpc.d.ts +30 -17
- package/projectVpc.d.ts.map +1 -1
- package/projectVpc.js +10 -6
- package/projectVpc.js.map +1 -1
- package/types/input.d.ts +122 -12
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +118 -14
- package/types/output.d.ts.map +1 -1
package/billingGroup.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
|
|
5
|
+
* Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This resource will be removed in the next major release.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -86,11 +86,11 @@ export declare class BillingGroup extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly cardId: pulumi.Output<string | undefined>;
|
|
88
88
|
/**
|
|
89
|
-
* Address city. Maximum length: `
|
|
89
|
+
* Address city. Maximum length: `50`.
|
|
90
90
|
*/
|
|
91
91
|
readonly city: pulumi.Output<string>;
|
|
92
92
|
/**
|
|
93
|
-
* Name of a company. Maximum length: `
|
|
93
|
+
* Name of a company. Maximum length: `83`.
|
|
94
94
|
*/
|
|
95
95
|
readonly company: pulumi.Output<string>;
|
|
96
96
|
/**
|
|
@@ -110,7 +110,7 @@ export declare class BillingGroup extends pulumi.CustomResource {
|
|
|
110
110
|
*/
|
|
111
111
|
readonly parentId: pulumi.Output<string>;
|
|
112
112
|
/**
|
|
113
|
-
* Address state or province. Maximum length: `
|
|
113
|
+
* Address state or province. Maximum length: `30`.
|
|
114
114
|
*/
|
|
115
115
|
readonly state: pulumi.Output<string | undefined>;
|
|
116
116
|
readonly timeouts: pulumi.Output<outputs.BillingGroupTimeouts | undefined>;
|
|
@@ -119,7 +119,7 @@ export declare class BillingGroup extends pulumi.CustomResource {
|
|
|
119
119
|
*/
|
|
120
120
|
readonly vatId: pulumi.Output<string>;
|
|
121
121
|
/**
|
|
122
|
-
* Address zip code. Maximum length: `
|
|
122
|
+
* Address zip code. Maximum length: `36`.
|
|
123
123
|
*/
|
|
124
124
|
readonly zipCode: pulumi.Output<string | undefined>;
|
|
125
125
|
/**
|
|
@@ -170,11 +170,11 @@ export interface BillingGroupState {
|
|
|
170
170
|
*/
|
|
171
171
|
cardId?: pulumi.Input<string | undefined>;
|
|
172
172
|
/**
|
|
173
|
-
* Address city. Maximum length: `
|
|
173
|
+
* Address city. Maximum length: `50`.
|
|
174
174
|
*/
|
|
175
175
|
city?: pulumi.Input<string | undefined>;
|
|
176
176
|
/**
|
|
177
|
-
* Name of a company. Maximum length: `
|
|
177
|
+
* Name of a company. Maximum length: `83`.
|
|
178
178
|
*/
|
|
179
179
|
company?: pulumi.Input<string | undefined>;
|
|
180
180
|
/**
|
|
@@ -194,7 +194,7 @@ export interface BillingGroupState {
|
|
|
194
194
|
*/
|
|
195
195
|
parentId?: pulumi.Input<string | undefined>;
|
|
196
196
|
/**
|
|
197
|
-
* Address state or province. Maximum length: `
|
|
197
|
+
* Address state or province. Maximum length: `30`.
|
|
198
198
|
*/
|
|
199
199
|
state?: pulumi.Input<string | undefined>;
|
|
200
200
|
timeouts?: pulumi.Input<inputs.BillingGroupTimeouts | undefined>;
|
|
@@ -203,7 +203,7 @@ export interface BillingGroupState {
|
|
|
203
203
|
*/
|
|
204
204
|
vatId?: pulumi.Input<string | undefined>;
|
|
205
205
|
/**
|
|
206
|
-
* Address zip code. Maximum length: `
|
|
206
|
+
* Address zip code. Maximum length: `36`.
|
|
207
207
|
*/
|
|
208
208
|
zipCode?: pulumi.Input<string | undefined>;
|
|
209
209
|
}
|
|
@@ -242,11 +242,11 @@ export interface BillingGroupArgs {
|
|
|
242
242
|
*/
|
|
243
243
|
cardId?: pulumi.Input<string | undefined>;
|
|
244
244
|
/**
|
|
245
|
-
* Address city. Maximum length: `
|
|
245
|
+
* Address city. Maximum length: `50`.
|
|
246
246
|
*/
|
|
247
247
|
city?: pulumi.Input<string | undefined>;
|
|
248
248
|
/**
|
|
249
|
-
* Name of a company. Maximum length: `
|
|
249
|
+
* Name of a company. Maximum length: `83`.
|
|
250
250
|
*/
|
|
251
251
|
company?: pulumi.Input<string | undefined>;
|
|
252
252
|
/**
|
|
@@ -266,7 +266,7 @@ export interface BillingGroupArgs {
|
|
|
266
266
|
*/
|
|
267
267
|
parentId: pulumi.Input<string>;
|
|
268
268
|
/**
|
|
269
|
-
* Address state or province. Maximum length: `
|
|
269
|
+
* Address state or province. Maximum length: `30`.
|
|
270
270
|
*/
|
|
271
271
|
state?: pulumi.Input<string | undefined>;
|
|
272
272
|
timeouts?: pulumi.Input<inputs.BillingGroupTimeouts | undefined>;
|
|
@@ -275,7 +275,7 @@ export interface BillingGroupArgs {
|
|
|
275
275
|
*/
|
|
276
276
|
vatId?: pulumi.Input<string | undefined>;
|
|
277
277
|
/**
|
|
278
|
-
* Address zip code. Maximum length: `
|
|
278
|
+
* Address zip code. Maximum length: `36`.
|
|
279
279
|
*/
|
|
280
280
|
zipCode?: pulumi.Input<string | undefined>;
|
|
281
281
|
}
|
package/billingGroup.js
CHANGED
|
@@ -29,7 +29,7 @@ exports.BillingGroup = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
|
|
32
|
+
* Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This resource will be removed in the next major release.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
package/byocAwsEntity.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ import * as outputs from "./types/output";
|
|
|
20
20
|
* deploymentModel: "standard",
|
|
21
21
|
* displayName: "byoc-cloud-prod-eu-west-1",
|
|
22
22
|
* reservedCidr: "192.168.6.0/24",
|
|
23
|
-
* awsIamRoleArn: "arn:aws:iam::012345678901:root",
|
|
24
23
|
* contactEmails: [{
|
|
25
24
|
* email: "jane@example.com",
|
|
26
25
|
* realName: "Jane Smith",
|
|
@@ -78,10 +77,6 @@ export declare class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
78
77
|
* Google account identifier.
|
|
79
78
|
*/
|
|
80
79
|
readonly aivenObjectStorageCredentialsCreatorUser: pulumi.Output<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Amazon Resource Name. Maximum length: `2048`.
|
|
83
|
-
*/
|
|
84
|
-
readonly awsIamRoleArn: pulumi.Output<string | undefined>;
|
|
85
80
|
/**
|
|
86
81
|
* Subnets to build in the bastion VPC.
|
|
87
82
|
*/
|
|
@@ -126,10 +121,6 @@ export declare class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
126
121
|
* ID of a custom cloud environment.
|
|
127
122
|
*/
|
|
128
123
|
readonly customCloudEnvironmentId: pulumi.Output<string>;
|
|
129
|
-
/**
|
|
130
|
-
* Cloud names that can be used to provision a service on this BYOC.
|
|
131
|
-
*/
|
|
132
|
-
readonly customCloudNames: pulumi.Output<string[]>;
|
|
133
124
|
/**
|
|
134
125
|
* Deployment model for the BYOC cloud. The possible values are `directIpsecIngress`, `hipaa`, `ipsecIngress`, `pciDss`, `standard` and `standardPublic`. Changing this property forces recreation of the resource.
|
|
135
126
|
*/
|
|
@@ -138,10 +129,6 @@ export declare class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
138
129
|
* Short name for this BYOC cloud. Maximum length: `64`.
|
|
139
130
|
*/
|
|
140
131
|
readonly displayName: pulumi.Output<string>;
|
|
141
|
-
/**
|
|
142
|
-
* List of errors for this custom cloud environment.
|
|
143
|
-
*/
|
|
144
|
-
readonly errors: pulumi.Output<outputs.ByocAwsEntityError[] | undefined>;
|
|
145
132
|
/**
|
|
146
133
|
* ID of an organization. Changing this property forces recreation of the resource.
|
|
147
134
|
*/
|
|
@@ -150,10 +137,6 @@ export declare class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
150
137
|
* CIDR range reserved for Aiven provisioned networks in the BYOC cloud. Maximum length: `18`. Changing this property forces recreation of the resource.
|
|
151
138
|
*/
|
|
152
139
|
readonly reservedCidr: pulumi.Output<string>;
|
|
153
|
-
/**
|
|
154
|
-
* State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`.
|
|
155
|
-
*/
|
|
156
|
-
readonly state: pulumi.Output<string>;
|
|
157
140
|
/**
|
|
158
141
|
* Set of resource tags.
|
|
159
142
|
*/
|
|
@@ -161,10 +144,6 @@ export declare class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
161
144
|
[key: string]: string;
|
|
162
145
|
} | undefined>;
|
|
163
146
|
readonly timeouts: pulumi.Output<outputs.ByocAwsEntityTimeouts | undefined>;
|
|
164
|
-
/**
|
|
165
|
-
* Custom cloud environment last update timestamp (ISO 8601).
|
|
166
|
-
*/
|
|
167
|
-
readonly updateTime: pulumi.Output<string>;
|
|
168
147
|
/**
|
|
169
148
|
* True if this BYOC cloud is using customer owned storage.
|
|
170
149
|
*/
|
|
@@ -206,10 +185,6 @@ export interface ByocAwsEntityState {
|
|
|
206
185
|
* Google account identifier.
|
|
207
186
|
*/
|
|
208
187
|
aivenObjectStorageCredentialsCreatorUser?: pulumi.Input<string | undefined>;
|
|
209
|
-
/**
|
|
210
|
-
* Amazon Resource Name. Maximum length: `2048`.
|
|
211
|
-
*/
|
|
212
|
-
awsIamRoleArn?: pulumi.Input<string | undefined>;
|
|
213
188
|
/**
|
|
214
189
|
* Subnets to build in the bastion VPC.
|
|
215
190
|
*/
|
|
@@ -254,10 +229,6 @@ export interface ByocAwsEntityState {
|
|
|
254
229
|
* ID of a custom cloud environment.
|
|
255
230
|
*/
|
|
256
231
|
customCloudEnvironmentId?: pulumi.Input<string | undefined>;
|
|
257
|
-
/**
|
|
258
|
-
* Cloud names that can be used to provision a service on this BYOC.
|
|
259
|
-
*/
|
|
260
|
-
customCloudNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
261
232
|
/**
|
|
262
233
|
* Deployment model for the BYOC cloud. The possible values are `directIpsecIngress`, `hipaa`, `ipsecIngress`, `pciDss`, `standard` and `standardPublic`. Changing this property forces recreation of the resource.
|
|
263
234
|
*/
|
|
@@ -266,10 +237,6 @@ export interface ByocAwsEntityState {
|
|
|
266
237
|
* Short name for this BYOC cloud. Maximum length: `64`.
|
|
267
238
|
*/
|
|
268
239
|
displayName?: pulumi.Input<string | undefined>;
|
|
269
|
-
/**
|
|
270
|
-
* List of errors for this custom cloud environment.
|
|
271
|
-
*/
|
|
272
|
-
errors?: pulumi.Input<pulumi.Input<inputs.ByocAwsEntityError>[] | undefined>;
|
|
273
240
|
/**
|
|
274
241
|
* ID of an organization. Changing this property forces recreation of the resource.
|
|
275
242
|
*/
|
|
@@ -278,10 +245,6 @@ export interface ByocAwsEntityState {
|
|
|
278
245
|
* CIDR range reserved for Aiven provisioned networks in the BYOC cloud. Maximum length: `18`. Changing this property forces recreation of the resource.
|
|
279
246
|
*/
|
|
280
247
|
reservedCidr?: pulumi.Input<string | undefined>;
|
|
281
|
-
/**
|
|
282
|
-
* State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`.
|
|
283
|
-
*/
|
|
284
|
-
state?: pulumi.Input<string | undefined>;
|
|
285
248
|
/**
|
|
286
249
|
* Set of resource tags.
|
|
287
250
|
*/
|
|
@@ -289,10 +252,6 @@ export interface ByocAwsEntityState {
|
|
|
289
252
|
[key: string]: pulumi.Input<string>;
|
|
290
253
|
} | undefined>;
|
|
291
254
|
timeouts?: pulumi.Input<inputs.ByocAwsEntityTimeouts | undefined>;
|
|
292
|
-
/**
|
|
293
|
-
* Custom cloud environment last update timestamp (ISO 8601).
|
|
294
|
-
*/
|
|
295
|
-
updateTime?: pulumi.Input<string | undefined>;
|
|
296
255
|
/**
|
|
297
256
|
* True if this BYOC cloud is using customer owned storage.
|
|
298
257
|
*/
|
|
@@ -302,10 +261,6 @@ export interface ByocAwsEntityState {
|
|
|
302
261
|
* The set of arguments for constructing a ByocAwsEntity resource.
|
|
303
262
|
*/
|
|
304
263
|
export interface ByocAwsEntityArgs {
|
|
305
|
-
/**
|
|
306
|
-
* Amazon Resource Name. Maximum length: `2048`.
|
|
307
|
-
*/
|
|
308
|
-
awsIamRoleArn?: pulumi.Input<string | undefined>;
|
|
309
264
|
/**
|
|
310
265
|
* Cloud provider for the BYOC cloud. The possible values are `aws`, `azure`, `google` and `oracle`. Changing this property forces recreation of the resource.
|
|
311
266
|
*/
|
|
@@ -326,10 +281,6 @@ export interface ByocAwsEntityArgs {
|
|
|
326
281
|
* Short name for this BYOC cloud. Maximum length: `64`.
|
|
327
282
|
*/
|
|
328
283
|
displayName: pulumi.Input<string>;
|
|
329
|
-
/**
|
|
330
|
-
* List of errors for this custom cloud environment.
|
|
331
|
-
*/
|
|
332
|
-
errors?: pulumi.Input<pulumi.Input<inputs.ByocAwsEntityError>[] | undefined>;
|
|
333
284
|
/**
|
|
334
285
|
* ID of an organization. Changing this property forces recreation of the resource.
|
|
335
286
|
*/
|
package/byocAwsEntity.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byocAwsEntity.d.ts","sourceRoot":"","sources":["../byocAwsEntity.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"byocAwsEntity.d.ts","sourceRoot":"","sources":["../byocAwsEntity.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAgC,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC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AC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3F;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;CACrE"}
|
package/byocAwsEntity.js
CHANGED
|
@@ -47,7 +47,6 @@ const utilities = __importStar(require("./utilities"));
|
|
|
47
47
|
* deploymentModel: "standard",
|
|
48
48
|
* displayName: "byoc-cloud-prod-eu-west-1",
|
|
49
49
|
* reservedCidr: "192.168.6.0/24",
|
|
50
|
-
* awsIamRoleArn: "arn:aws:iam::012345678901:root",
|
|
51
50
|
* contactEmails: [{
|
|
52
51
|
* email: "jane@example.com",
|
|
53
52
|
* realName: "Jane Smith",
|
|
@@ -101,7 +100,6 @@ class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
101
100
|
resourceInputs["aivenAwsObjectStorageUserArn"] = state?.aivenAwsObjectStorageUserArn;
|
|
102
101
|
resourceInputs["aivenManagementCidrBlocks"] = state?.aivenManagementCidrBlocks;
|
|
103
102
|
resourceInputs["aivenObjectStorageCredentialsCreatorUser"] = state?.aivenObjectStorageCredentialsCreatorUser;
|
|
104
|
-
resourceInputs["awsIamRoleArn"] = state?.awsIamRoleArn;
|
|
105
103
|
resourceInputs["awsSubnetsBastion"] = state?.awsSubnetsBastion;
|
|
106
104
|
resourceInputs["awsSubnetsWorkload"] = state?.awsSubnetsWorkload;
|
|
107
105
|
resourceInputs["bucketNames"] = state?.bucketNames;
|
|
@@ -111,16 +109,12 @@ class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
111
109
|
resourceInputs["cloudRegion"] = state?.cloudRegion;
|
|
112
110
|
resourceInputs["contactEmails"] = state?.contactEmails;
|
|
113
111
|
resourceInputs["customCloudEnvironmentId"] = state?.customCloudEnvironmentId;
|
|
114
|
-
resourceInputs["customCloudNames"] = state?.customCloudNames;
|
|
115
112
|
resourceInputs["deploymentModel"] = state?.deploymentModel;
|
|
116
113
|
resourceInputs["displayName"] = state?.displayName;
|
|
117
|
-
resourceInputs["errors"] = state?.errors;
|
|
118
114
|
resourceInputs["organizationId"] = state?.organizationId;
|
|
119
115
|
resourceInputs["reservedCidr"] = state?.reservedCidr;
|
|
120
|
-
resourceInputs["state"] = state?.state;
|
|
121
116
|
resourceInputs["tags"] = state?.tags;
|
|
122
117
|
resourceInputs["timeouts"] = state?.timeouts;
|
|
123
|
-
resourceInputs["updateTime"] = state?.updateTime;
|
|
124
118
|
resourceInputs["useCustomerOwnedStorage"] = state?.useCustomerOwnedStorage;
|
|
125
119
|
}
|
|
126
120
|
else {
|
|
@@ -143,13 +137,11 @@ class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
143
137
|
if (args?.reservedCidr === undefined && !opts.urn) {
|
|
144
138
|
throw new Error("Missing required property 'reservedCidr'");
|
|
145
139
|
}
|
|
146
|
-
resourceInputs["awsIamRoleArn"] = args?.awsIamRoleArn;
|
|
147
140
|
resourceInputs["cloudProvider"] = args?.cloudProvider;
|
|
148
141
|
resourceInputs["cloudRegion"] = args?.cloudRegion;
|
|
149
142
|
resourceInputs["contactEmails"] = args?.contactEmails;
|
|
150
143
|
resourceInputs["deploymentModel"] = args?.deploymentModel;
|
|
151
144
|
resourceInputs["displayName"] = args?.displayName;
|
|
152
|
-
resourceInputs["errors"] = args?.errors;
|
|
153
145
|
resourceInputs["organizationId"] = args?.organizationId;
|
|
154
146
|
resourceInputs["reservedCidr"] = args?.reservedCidr;
|
|
155
147
|
resourceInputs["tags"] = args?.tags;
|
|
@@ -166,9 +158,6 @@ class ByocAwsEntity extends pulumi.CustomResource {
|
|
|
166
158
|
resourceInputs["byocResourceTags"] = undefined /*out*/;
|
|
167
159
|
resourceInputs["byocUniqueName"] = undefined /*out*/;
|
|
168
160
|
resourceInputs["customCloudEnvironmentId"] = undefined /*out*/;
|
|
169
|
-
resourceInputs["customCloudNames"] = undefined /*out*/;
|
|
170
|
-
resourceInputs["state"] = undefined /*out*/;
|
|
171
|
-
resourceInputs["updateTime"] = undefined /*out*/;
|
|
172
161
|
resourceInputs["useCustomerOwnedStorage"] = undefined /*out*/;
|
|
173
162
|
}
|
|
174
163
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/byocAwsEntity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byocAwsEntity.js","sourceRoot":"","sources":["../byocAwsEntity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"byocAwsEntity.js","sourceRoot":"","sources":["../byocAwsEntity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACx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AAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,0CAA0C,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/E,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAlML,sCAmMC"}
|
package/byocAwsProvision.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provisions a BYOC custom cloud environment by handing Aiven the IAM role ARN created in the customer AWS account. Transitions the environment from `draft` to `active` so services can be deployed into it. Create this resource after the customer-side AWS infrastructure (IAM role, VPC, subnets, security groups, buckets) has been
|
|
5
|
+
* Provisions a BYOC custom cloud environment by handing Aiven the IAM role ARN created in the customer AWS account. Transitions the environment from `draft` to `active` so services can be deployed into it. Create this resource after the customer-side AWS infrastructure (IAM role, VPC, subnets, security groups, buckets) has been defined.
|
|
6
6
|
*
|
|
7
7
|
* **This resource is in the beta stage and may change without notice.** Set
|
|
8
8
|
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
@@ -58,10 +58,18 @@ export declare class ByocAwsProvision extends pulumi.CustomResource {
|
|
|
58
58
|
* ID of a custom cloud environment. Length must be exactly `36`. Changing this property forces recreation of the resource.
|
|
59
59
|
*/
|
|
60
60
|
readonly customCloudEnvironmentId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Cloud names that can be used to provision a service on this BYOC.
|
|
63
|
+
*/
|
|
64
|
+
readonly customCloudNames: pulumi.Output<string[]>;
|
|
61
65
|
/**
|
|
62
66
|
* ID of an organization. Changing this property forces recreation of the resource.
|
|
63
67
|
*/
|
|
64
68
|
readonly organizationId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`.
|
|
71
|
+
*/
|
|
72
|
+
readonly state: pulumi.Output<string>;
|
|
65
73
|
readonly timeouts: pulumi.Output<outputs.ByocAwsProvisionTimeouts | undefined>;
|
|
66
74
|
/**
|
|
67
75
|
* Create a ByocAwsProvision resource with the given unique name, arguments, and options.
|
|
@@ -92,10 +100,18 @@ export interface ByocAwsProvisionState {
|
|
|
92
100
|
* ID of a custom cloud environment. Length must be exactly `36`. Changing this property forces recreation of the resource.
|
|
93
101
|
*/
|
|
94
102
|
customCloudEnvironmentId?: pulumi.Input<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Cloud names that can be used to provision a service on this BYOC.
|
|
105
|
+
*/
|
|
106
|
+
customCloudNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
95
107
|
/**
|
|
96
108
|
* ID of an organization. Changing this property forces recreation of the resource.
|
|
97
109
|
*/
|
|
98
110
|
organizationId?: pulumi.Input<string | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* State of this BYOC cloud. The possible values are `active`, `creating`, `creationFailed`, `deleted`, `deleting`, `deletionFailed`, `disconnected`, `draft`, `reconnecting` and `validating`.
|
|
113
|
+
*/
|
|
114
|
+
state?: pulumi.Input<string | undefined>;
|
|
99
115
|
timeouts?: pulumi.Input<inputs.ByocAwsProvisionTimeouts | undefined>;
|
|
100
116
|
}
|
|
101
117
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byocAwsProvision.d.ts","sourceRoot":"","sources":["../byocAwsProvision.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAgC,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChF;;OAEG;IACH,SAAgC,4BAA4B,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;I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OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;CACxE"}
|
package/byocAwsProvision.js
CHANGED
|
@@ -29,7 +29,7 @@ exports.ByocAwsProvision = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* Provisions a BYOC custom cloud environment by handing Aiven the IAM role ARN created in the customer AWS account. Transitions the environment from `draft` to `active` so services can be deployed into it. Create this resource after the customer-side AWS infrastructure (IAM role, VPC, subnets, security groups, buckets) has been
|
|
32
|
+
* Provisions a BYOC custom cloud environment by handing Aiven the IAM role ARN created in the customer AWS account. Transitions the environment from `draft` to `active` so services can be deployed into it. Create this resource after the customer-side AWS infrastructure (IAM role, VPC, subnets, security groups, buckets) has been defined.
|
|
33
33
|
*
|
|
34
34
|
* **This resource is in the beta stage and may change without notice.** Set
|
|
35
35
|
* the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
@@ -87,7 +87,9 @@ class ByocAwsProvision extends pulumi.CustomResource {
|
|
|
87
87
|
resourceInputs["aivenAwsAssumeRoleExternalId"] = state?.aivenAwsAssumeRoleExternalId;
|
|
88
88
|
resourceInputs["awsIamRoleArn"] = state?.awsIamRoleArn;
|
|
89
89
|
resourceInputs["customCloudEnvironmentId"] = state?.customCloudEnvironmentId;
|
|
90
|
+
resourceInputs["customCloudNames"] = state?.customCloudNames;
|
|
90
91
|
resourceInputs["organizationId"] = state?.organizationId;
|
|
92
|
+
resourceInputs["state"] = state?.state;
|
|
91
93
|
resourceInputs["timeouts"] = state?.timeouts;
|
|
92
94
|
}
|
|
93
95
|
else {
|
|
@@ -107,6 +109,8 @@ class ByocAwsProvision extends pulumi.CustomResource {
|
|
|
107
109
|
resourceInputs["timeouts"] = args?.timeouts;
|
|
108
110
|
resourceInputs["aivenAwsAccountPrincipal"] = undefined /*out*/;
|
|
109
111
|
resourceInputs["aivenAwsAssumeRoleExternalId"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["customCloudNames"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
110
114
|
}
|
|
111
115
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
112
116
|
super(ByocAwsProvision.__pulumiType, name, resourceInputs, opts);
|
package/byocAwsProvision.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byocAwsProvision.js","sourceRoot":"","sources":["../byocAwsProvision.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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,+CAA+C,CAAC;IAEtF;;;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,CA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G,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AArGL,4CAsGC"}
|
package/getBillingGroup.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Gets information about a billing group.
|
|
5
|
+
* Gets information about a billing group. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This data source will be removed in the next major release.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -107,7 +107,7 @@ export interface GetBillingGroupResult {
|
|
|
107
107
|
readonly zipCode: string;
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Gets information about a billing group.
|
|
110
|
+
* Gets information about a billing group. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This data source will be removed in the next major release.
|
|
111
111
|
*
|
|
112
112
|
* ## Example Usage
|
|
113
113
|
*
|
package/getBillingGroup.js
CHANGED
|
@@ -29,7 +29,7 @@ exports.getBillingGroupOutput = exports.getBillingGroup = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* Gets information about a billing group.
|
|
32
|
+
* Gets information about a billing group. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This data source will be removed in the next major release.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
|
@@ -51,7 +51,7 @@ function getBillingGroup(args, opts) {
|
|
|
51
51
|
}
|
|
52
52
|
exports.getBillingGroup = getBillingGroup;
|
|
53
53
|
/**
|
|
54
|
-
* Gets information about a billing group.
|
|
54
|
+
* Gets information about a billing group. **Deprecated**: Use `aiven.OrganizationBillingGroup` instead. This data source will be removed in the next major release.
|
|
55
55
|
*
|
|
56
56
|
* ## Example Usage
|
|
57
57
|
*
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Gets the AWS CMK accessor for an Aiven project. The accessor is used to authenticate Aiven to your AWS Key Management Service (KMS).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aiven from "@pulumi/aiven";
|
|
12
|
+
*
|
|
13
|
+
* const example = aiven.getCmkAccessorAws({
|
|
14
|
+
* project: "my-project",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getCmkAccessorAws(args: GetCmkAccessorAwsArgs, opts?: pulumi.InvokeOptions): Promise<GetCmkAccessorAwsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getCmkAccessorAws.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCmkAccessorAwsArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Project name.
|
|
25
|
+
*/
|
|
26
|
+
project: string;
|
|
27
|
+
timeouts?: inputs.GetCmkAccessorAwsTimeouts;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getCmkAccessorAws.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetCmkAccessorAwsResult {
|
|
33
|
+
/**
|
|
34
|
+
* Resource ID, equal to `project`.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
/**
|
|
38
|
+
* The AWS IAM principal ARN that Aiven uses to access your KMS key.
|
|
39
|
+
*/
|
|
40
|
+
readonly principal: string;
|
|
41
|
+
/**
|
|
42
|
+
* Project name.
|
|
43
|
+
*/
|
|
44
|
+
readonly project: string;
|
|
45
|
+
readonly timeouts?: outputs.GetCmkAccessorAwsTimeouts;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Gets the AWS CMK accessor for an Aiven project. The accessor is used to authenticate Aiven to your AWS Key Management Service (KMS).
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as aiven from "@pulumi/aiven";
|
|
55
|
+
*
|
|
56
|
+
* const example = aiven.getCmkAccessorAws({
|
|
57
|
+
* project: "my-project",
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare function getCmkAccessorAwsOutput(args: GetCmkAccessorAwsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCmkAccessorAwsResult>;
|
|
62
|
+
/**
|
|
63
|
+
* A collection of arguments for invoking getCmkAccessorAws.
|
|
64
|
+
*/
|
|
65
|
+
export interface GetCmkAccessorAwsOutputArgs {
|
|
66
|
+
/**
|
|
67
|
+
* Project name.
|
|
68
|
+
*/
|
|
69
|
+
project: pulumi.Input<string>;
|
|
70
|
+
timeouts?: pulumi.Input<inputs.GetCmkAccessorAwsTimeoutsArgs | undefined>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=getCmkAccessorAws.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCmkAccessorAws.d.ts","sourceRoot":"","sources":["../getCmkAccessorAws.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAM5H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,yBAAyB,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC;CACzD;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAMpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;CAC7E"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.getCmkAccessorAwsOutput = exports.getCmkAccessorAws = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Gets the AWS CMK accessor for an Aiven project. The accessor is used to authenticate Aiven to your AWS Key Management Service (KMS).
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as aiven from "@pulumi/aiven";
|
|
39
|
+
*
|
|
40
|
+
* const example = aiven.getCmkAccessorAws({
|
|
41
|
+
* project: "my-project",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getCmkAccessorAws(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invoke("aiven:index/getCmkAccessorAws:getCmkAccessorAws", {
|
|
48
|
+
"project": args.project,
|
|
49
|
+
"timeouts": args.timeouts,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getCmkAccessorAws = getCmkAccessorAws;
|
|
53
|
+
/**
|
|
54
|
+
* Gets the AWS CMK accessor for an Aiven project. The accessor is used to authenticate Aiven to your AWS Key Management Service (KMS).
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as aiven from "@pulumi/aiven";
|
|
61
|
+
*
|
|
62
|
+
* const example = aiven.getCmkAccessorAws({
|
|
63
|
+
* project: "my-project",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
function getCmkAccessorAwsOutput(args, opts) {
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
|
+
return pulumi.runtime.invokeOutput("aiven:index/getCmkAccessorAws:getCmkAccessorAws", {
|
|
70
|
+
"project": args.project,
|
|
71
|
+
"timeouts": args.timeouts,
|
|
72
|
+
}, opts);
|
|
73
|
+
}
|
|
74
|
+
exports.getCmkAccessorAwsOutput = getCmkAccessorAwsOutput;
|
|
75
|
+
//# sourceMappingURL=getCmkAccessorAws.js.map
|