pulumi-cloudamqp 3.21.0a1743485311__py3-none-any.whl → 3.21.0a1744082841__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-cloudamqp might be problematic. Click here for more details.
- pulumi_cloudamqp/__init__.py +9 -0
- pulumi_cloudamqp/_inputs.py +28 -9
- pulumi_cloudamqp/account_action.py +14 -7
- pulumi_cloudamqp/alarm.py +90 -30
- pulumi_cloudamqp/custom_domain.py +52 -10
- pulumi_cloudamqp/extra_disk_size.py +117 -101
- pulumi_cloudamqp/get_account.py +8 -2
- pulumi_cloudamqp/get_account_vpcs.py +13 -40
- pulumi_cloudamqp/get_alarm.py +50 -44
- pulumi_cloudamqp/get_credentials.py +10 -18
- pulumi_cloudamqp/get_instance.py +51 -2
- pulumi_cloudamqp/get_nodes.py +3 -50
- pulumi_cloudamqp/get_notification.py +17 -20
- pulumi_cloudamqp/get_plugins.py +15 -42
- pulumi_cloudamqp/get_plugins_community.py +16 -40
- pulumi_cloudamqp/get_upgradable_versions.py +10 -16
- pulumi_cloudamqp/get_vpc_gcp_info.py +23 -118
- pulumi_cloudamqp/get_vpc_info.py +18 -112
- pulumi_cloudamqp/instance.py +400 -177
- pulumi_cloudamqp/integration_aws_eventbridge.py +90 -26
- pulumi_cloudamqp/integration_log.py +135 -50
- pulumi_cloudamqp/integration_metric.py +50 -2
- pulumi_cloudamqp/maintenance_window.py +515 -0
- pulumi_cloudamqp/node_actions.py +32 -10
- pulumi_cloudamqp/notification.py +103 -22
- pulumi_cloudamqp/outputs.py +118 -28
- pulumi_cloudamqp/plugin.py +89 -25
- pulumi_cloudamqp/plugin_community.py +87 -27
- pulumi_cloudamqp/privatelink_aws.py +62 -270
- pulumi_cloudamqp/privatelink_azure.py +64 -268
- pulumi_cloudamqp/pulumi-plugin.json +1 -1
- pulumi_cloudamqp/rabbit_configuration.py +209 -86
- pulumi_cloudamqp/security_firewall.py +76 -23
- pulumi_cloudamqp/upgrade_lavinmq.py +0 -74
- pulumi_cloudamqp/upgrade_rabbitmq.py +14 -261
- pulumi_cloudamqp/vpc.py +48 -16
- pulumi_cloudamqp/vpc_connect.py +111 -499
- pulumi_cloudamqp/vpc_gcp_peering.py +141 -506
- pulumi_cloudamqp/vpc_peering.py +50 -36
- pulumi_cloudamqp/webhook.py +48 -9
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/METADATA +1 -1
- pulumi_cloudamqp-3.21.0a1744082841.dist-info/RECORD +50 -0
- pulumi_cloudamqp-3.21.0a1743485311.dist-info/RECORD +0 -49
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/WHEEL +0 -0
- {pulumi_cloudamqp-3.21.0a1743485311.dist-info → pulumi_cloudamqp-3.21.0a1744082841.dist-info}/top_level.txt +0 -0
|
@@ -28,9 +28,13 @@ class PrivatelinkAwsArgs:
|
|
|
28
28
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
29
29
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
30
30
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
31
|
-
Default set to 10 seconds.
|
|
31
|
+
Default set to 10 seconds.
|
|
32
|
+
|
|
33
|
+
***Note:*** Available from [v1.29.0]
|
|
32
34
|
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
33
|
-
Default set to 1800 seconds.
|
|
35
|
+
Default set to 1800 seconds.
|
|
36
|
+
|
|
37
|
+
***Note:*** Available from [v1.29.0]
|
|
34
38
|
|
|
35
39
|
Allowed principals format: <br>
|
|
36
40
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -73,7 +77,9 @@ class PrivatelinkAwsArgs:
|
|
|
73
77
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
74
78
|
"""
|
|
75
79
|
Configurable sleep time (seconds) when enable PrivateLink.
|
|
76
|
-
Default set to 10 seconds.
|
|
80
|
+
Default set to 10 seconds.
|
|
81
|
+
|
|
82
|
+
***Note:*** Available from [v1.29.0]
|
|
77
83
|
"""
|
|
78
84
|
return pulumi.get(self, "sleep")
|
|
79
85
|
|
|
@@ -86,7 +92,9 @@ class PrivatelinkAwsArgs:
|
|
|
86
92
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
87
93
|
"""
|
|
88
94
|
Configurable timeout time (seconds) when enable PrivateLink.
|
|
89
|
-
Default set to 1800 seconds.
|
|
95
|
+
Default set to 1800 seconds.
|
|
96
|
+
|
|
97
|
+
***Note:*** Available from [v1.29.0]
|
|
90
98
|
|
|
91
99
|
Allowed principals format: <br>
|
|
92
100
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -117,10 +125,14 @@ class _PrivatelinkAwsState:
|
|
|
117
125
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
118
126
|
:param pulumi.Input[str] service_name: Service name of the PrivateLink used when creating the endpoint from other VPC.
|
|
119
127
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
120
|
-
Default set to 10 seconds.
|
|
128
|
+
Default set to 10 seconds.
|
|
129
|
+
|
|
130
|
+
***Note:*** Available from [v1.29.0]
|
|
121
131
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
122
132
|
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
123
|
-
Default set to 1800 seconds.
|
|
133
|
+
Default set to 1800 seconds.
|
|
134
|
+
|
|
135
|
+
***Note:*** Available from [v1.29.0]
|
|
124
136
|
|
|
125
137
|
Allowed principals format: <br>
|
|
126
138
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -195,7 +207,9 @@ class _PrivatelinkAwsState:
|
|
|
195
207
|
def sleep(self) -> Optional[pulumi.Input[int]]:
|
|
196
208
|
"""
|
|
197
209
|
Configurable sleep time (seconds) when enable PrivateLink.
|
|
198
|
-
Default set to 10 seconds.
|
|
210
|
+
Default set to 10 seconds.
|
|
211
|
+
|
|
212
|
+
***Note:*** Available from [v1.29.0]
|
|
199
213
|
"""
|
|
200
214
|
return pulumi.get(self, "sleep")
|
|
201
215
|
|
|
@@ -220,7 +234,9 @@ class _PrivatelinkAwsState:
|
|
|
220
234
|
def timeout(self) -> Optional[pulumi.Input[int]]:
|
|
221
235
|
"""
|
|
222
236
|
Configurable timeout time (seconds) when enable PrivateLink.
|
|
223
|
-
Default set to 1800 seconds.
|
|
237
|
+
Default set to 1800 seconds.
|
|
238
|
+
|
|
239
|
+
***Note:*** Available from [v1.29.0]
|
|
224
240
|
|
|
225
241
|
Allowed principals format: <br>
|
|
226
242
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -245,156 +261,42 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
245
261
|
timeout: Optional[pulumi.Input[int]] = None,
|
|
246
262
|
__props__=None):
|
|
247
263
|
"""
|
|
248
|
-
|
|
249
|
-
PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
250
|
-
|
|
251
|
-
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
252
|
-
<details>
|
|
253
|
-
<summary>
|
|
254
|
-
<i>Default PrivateLink firewall rule</i>
|
|
255
|
-
</summary>
|
|
256
|
-
|
|
257
|
-
## Example Usage
|
|
258
|
-
|
|
259
|
-
<details>
|
|
260
|
-
<summary>
|
|
261
|
-
<b>
|
|
262
|
-
<i>CloudAMQP instance without existing VPC</i>
|
|
263
|
-
</b>
|
|
264
|
-
</summary>
|
|
265
|
-
|
|
266
|
-
```python
|
|
267
|
-
import pulumi
|
|
268
|
-
import pulumi_cloudamqp as cloudamqp
|
|
269
|
-
|
|
270
|
-
instance = cloudamqp.Instance("instance",
|
|
271
|
-
name="Instance 01",
|
|
272
|
-
plan="bunny-1",
|
|
273
|
-
region="amazon-web-services::us-west-1",
|
|
274
|
-
tags=[])
|
|
275
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
276
|
-
instance_id=instance.id,
|
|
277
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
</details>
|
|
281
|
-
|
|
282
|
-
<details>
|
|
283
|
-
<summary>
|
|
284
|
-
<b>
|
|
285
|
-
<i>CloudAMQP instance in an existing VPC</i>
|
|
286
|
-
</b>
|
|
287
|
-
</summary>
|
|
288
|
-
|
|
289
|
-
```python
|
|
290
|
-
import pulumi
|
|
291
|
-
import pulumi_cloudamqp as cloudamqp
|
|
292
|
-
|
|
293
|
-
vpc = cloudamqp.Vpc("vpc",
|
|
294
|
-
name="Standalone VPC",
|
|
295
|
-
region="amazon-web-services::us-west-1",
|
|
296
|
-
subnet="10.56.72.0/24",
|
|
297
|
-
tags=[])
|
|
298
|
-
instance = cloudamqp.Instance("instance",
|
|
299
|
-
name="Instance 01",
|
|
300
|
-
plan="bunny-1",
|
|
301
|
-
region="amazon-web-services::us-west-1",
|
|
302
|
-
tags=[],
|
|
303
|
-
vpc_id=vpc.id,
|
|
304
|
-
keep_associated_vpc=True)
|
|
305
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
306
|
-
instance_id=instance.id,
|
|
307
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
308
|
-
```
|
|
264
|
+
## Import
|
|
309
265
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
### With Additional Firewall Rules
|
|
313
|
-
|
|
314
|
-
<details>
|
|
315
|
-
<summary>
|
|
316
|
-
<b>
|
|
317
|
-
<i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
318
|
-
</b>
|
|
319
|
-
</summary>
|
|
320
|
-
|
|
321
|
-
```python
|
|
322
|
-
import pulumi
|
|
323
|
-
import pulumi_cloudamqp as cloudamqp
|
|
324
|
-
|
|
325
|
-
vpc = cloudamqp.Vpc("vpc",
|
|
326
|
-
name="Standalone VPC",
|
|
327
|
-
region="amazon-web-services::us-west-1",
|
|
328
|
-
subnet="10.56.72.0/24",
|
|
329
|
-
tags=[])
|
|
330
|
-
instance = cloudamqp.Instance("instance",
|
|
331
|
-
name="Instance 01",
|
|
332
|
-
plan="bunny-1",
|
|
333
|
-
region="amazon-web-services::us-west-1",
|
|
334
|
-
tags=[],
|
|
335
|
-
vpc_id=vpc.id,
|
|
336
|
-
keep_associated_vpc=True)
|
|
337
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
338
|
-
instance_id=instance.id,
|
|
339
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
340
|
-
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
341
|
-
instance_id=instance.id,
|
|
342
|
-
rules=[
|
|
343
|
-
{
|
|
344
|
-
"description": "Custom PrivateLink setup",
|
|
345
|
-
"ip": vpc.subnet,
|
|
346
|
-
"ports": [],
|
|
347
|
-
"services": [
|
|
348
|
-
"AMQP",
|
|
349
|
-
"AMQPS",
|
|
350
|
-
"HTTPS",
|
|
351
|
-
"STREAM",
|
|
352
|
-
"STREAM_SSL",
|
|
353
|
-
],
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"description": "MGMT interface",
|
|
357
|
-
"ip": "0.0.0.0/0",
|
|
358
|
-
"ports": [],
|
|
359
|
-
"services": ["HTTPS"],
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
opts = pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
363
|
-
```
|
|
266
|
+
`cloudamqp_privatelink_aws` can be imported using CloudAMQP instance identifier. To retrieve the
|
|
364
267
|
|
|
365
|
-
|
|
268
|
+
identifier, use [CloudAMQP API list intances].
|
|
366
269
|
|
|
367
|
-
|
|
270
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
368
271
|
|
|
369
|
-
|
|
272
|
+
hcl
|
|
370
273
|
|
|
371
|
-
|
|
274
|
+
import {
|
|
372
275
|
|
|
373
|
-
|
|
374
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
375
|
-
resource depend on the PrivateLink resource, `cloudamqp_privatelink_aws.privatelink`.
|
|
276
|
+
to = cloudamqp_privatelink_aws.privatelink
|
|
376
277
|
|
|
377
|
-
|
|
378
|
-
the PrivateLink also needs to be added.
|
|
278
|
+
id = cloudamqp_instance.instance.id
|
|
379
279
|
|
|
380
|
-
|
|
280
|
+
}
|
|
381
281
|
|
|
382
|
-
|
|
282
|
+
Or use Terraform CLI:
|
|
383
283
|
|
|
384
284
|
```sh
|
|
385
285
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
386
286
|
```
|
|
387
287
|
|
|
388
|
-
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).
|
|
389
|
-
|
|
390
288
|
:param str resource_name: The name of the resource.
|
|
391
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
392
290
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_principals: Allowed principals to access the endpoint service.
|
|
393
291
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
394
292
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
395
|
-
Default set to 10 seconds.
|
|
293
|
+
Default set to 10 seconds.
|
|
294
|
+
|
|
295
|
+
***Note:*** Available from [v1.29.0]
|
|
396
296
|
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
397
|
-
Default set to 1800 seconds.
|
|
297
|
+
Default set to 1800 seconds.
|
|
298
|
+
|
|
299
|
+
***Note:*** Available from [v1.29.0]
|
|
398
300
|
|
|
399
301
|
Allowed principals format: <br>
|
|
400
302
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -408,148 +310,30 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
408
310
|
args: PrivatelinkAwsArgs,
|
|
409
311
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
410
312
|
"""
|
|
411
|
-
|
|
412
|
-
PrivateLink, a new VPC will be created with subnet `10.52.72.0/24`.
|
|
413
|
-
|
|
414
|
-
> **Note:** Enabling PrivateLink will automatically add firewall rules for the peered subnet.
|
|
415
|
-
<details>
|
|
416
|
-
<summary>
|
|
417
|
-
<i>Default PrivateLink firewall rule</i>
|
|
418
|
-
</summary>
|
|
419
|
-
|
|
420
|
-
## Example Usage
|
|
421
|
-
|
|
422
|
-
<details>
|
|
423
|
-
<summary>
|
|
424
|
-
<b>
|
|
425
|
-
<i>CloudAMQP instance without existing VPC</i>
|
|
426
|
-
</b>
|
|
427
|
-
</summary>
|
|
428
|
-
|
|
429
|
-
```python
|
|
430
|
-
import pulumi
|
|
431
|
-
import pulumi_cloudamqp as cloudamqp
|
|
432
|
-
|
|
433
|
-
instance = cloudamqp.Instance("instance",
|
|
434
|
-
name="Instance 01",
|
|
435
|
-
plan="bunny-1",
|
|
436
|
-
region="amazon-web-services::us-west-1",
|
|
437
|
-
tags=[])
|
|
438
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
439
|
-
instance_id=instance.id,
|
|
440
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
441
|
-
```
|
|
442
|
-
|
|
443
|
-
</details>
|
|
444
|
-
|
|
445
|
-
<details>
|
|
446
|
-
<summary>
|
|
447
|
-
<b>
|
|
448
|
-
<i>CloudAMQP instance in an existing VPC</i>
|
|
449
|
-
</b>
|
|
450
|
-
</summary>
|
|
451
|
-
|
|
452
|
-
```python
|
|
453
|
-
import pulumi
|
|
454
|
-
import pulumi_cloudamqp as cloudamqp
|
|
455
|
-
|
|
456
|
-
vpc = cloudamqp.Vpc("vpc",
|
|
457
|
-
name="Standalone VPC",
|
|
458
|
-
region="amazon-web-services::us-west-1",
|
|
459
|
-
subnet="10.56.72.0/24",
|
|
460
|
-
tags=[])
|
|
461
|
-
instance = cloudamqp.Instance("instance",
|
|
462
|
-
name="Instance 01",
|
|
463
|
-
plan="bunny-1",
|
|
464
|
-
region="amazon-web-services::us-west-1",
|
|
465
|
-
tags=[],
|
|
466
|
-
vpc_id=vpc.id,
|
|
467
|
-
keep_associated_vpc=True)
|
|
468
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
469
|
-
instance_id=instance.id,
|
|
470
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
471
|
-
```
|
|
313
|
+
## Import
|
|
472
314
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
### With Additional Firewall Rules
|
|
476
|
-
|
|
477
|
-
<details>
|
|
478
|
-
<summary>
|
|
479
|
-
<b>
|
|
480
|
-
<i>CloudAMQP instance in an existing VPC with managed firewall rules</i>
|
|
481
|
-
</b>
|
|
482
|
-
</summary>
|
|
483
|
-
|
|
484
|
-
```python
|
|
485
|
-
import pulumi
|
|
486
|
-
import pulumi_cloudamqp as cloudamqp
|
|
487
|
-
|
|
488
|
-
vpc = cloudamqp.Vpc("vpc",
|
|
489
|
-
name="Standalone VPC",
|
|
490
|
-
region="amazon-web-services::us-west-1",
|
|
491
|
-
subnet="10.56.72.0/24",
|
|
492
|
-
tags=[])
|
|
493
|
-
instance = cloudamqp.Instance("instance",
|
|
494
|
-
name="Instance 01",
|
|
495
|
-
plan="bunny-1",
|
|
496
|
-
region="amazon-web-services::us-west-1",
|
|
497
|
-
tags=[],
|
|
498
|
-
vpc_id=vpc.id,
|
|
499
|
-
keep_associated_vpc=True)
|
|
500
|
-
privatelink = cloudamqp.PrivatelinkAws("privatelink",
|
|
501
|
-
instance_id=instance.id,
|
|
502
|
-
allowed_principals=["arn:aws:iam::aws-account-id:user/user-name"])
|
|
503
|
-
firewall_settings = cloudamqp.SecurityFirewall("firewall_settings",
|
|
504
|
-
instance_id=instance.id,
|
|
505
|
-
rules=[
|
|
506
|
-
{
|
|
507
|
-
"description": "Custom PrivateLink setup",
|
|
508
|
-
"ip": vpc.subnet,
|
|
509
|
-
"ports": [],
|
|
510
|
-
"services": [
|
|
511
|
-
"AMQP",
|
|
512
|
-
"AMQPS",
|
|
513
|
-
"HTTPS",
|
|
514
|
-
"STREAM",
|
|
515
|
-
"STREAM_SSL",
|
|
516
|
-
],
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
"description": "MGMT interface",
|
|
520
|
-
"ip": "0.0.0.0/0",
|
|
521
|
-
"ports": [],
|
|
522
|
-
"services": ["HTTPS"],
|
|
523
|
-
},
|
|
524
|
-
],
|
|
525
|
-
opts = pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
526
|
-
```
|
|
315
|
+
`cloudamqp_privatelink_aws` can be imported using CloudAMQP instance identifier. To retrieve the
|
|
527
316
|
|
|
528
|
-
|
|
317
|
+
identifier, use [CloudAMQP API list intances].
|
|
529
318
|
|
|
530
|
-
|
|
319
|
+
From Terraform v1.5.0, the `import` block can be used to import this resource:
|
|
531
320
|
|
|
532
|
-
|
|
321
|
+
hcl
|
|
533
322
|
|
|
534
|
-
|
|
323
|
+
import {
|
|
535
324
|
|
|
536
|
-
|
|
537
|
-
resource to avoid parallel conflicting resource calls. You can do this by making the firewall
|
|
538
|
-
resource depend on the PrivateLink resource, `cloudamqp_privatelink_aws.privatelink`.
|
|
325
|
+
to = cloudamqp_privatelink_aws.privatelink
|
|
539
326
|
|
|
540
|
-
|
|
541
|
-
the PrivateLink also needs to be added.
|
|
327
|
+
id = cloudamqp_instance.instance.id
|
|
542
328
|
|
|
543
|
-
|
|
329
|
+
}
|
|
544
330
|
|
|
545
|
-
|
|
331
|
+
Or use Terraform CLI:
|
|
546
332
|
|
|
547
333
|
```sh
|
|
548
334
|
$ pulumi import cloudamqp:index/privatelinkAws:PrivatelinkAws privatelink <id>`
|
|
549
335
|
```
|
|
550
336
|
|
|
551
|
-
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).
|
|
552
|
-
|
|
553
337
|
:param str resource_name: The name of the resource.
|
|
554
338
|
:param PrivatelinkAwsArgs args: The arguments to use to populate this resource's properties.
|
|
555
339
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -618,10 +402,14 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
618
402
|
:param pulumi.Input[int] instance_id: The CloudAMQP instance identifier.
|
|
619
403
|
:param pulumi.Input[str] service_name: Service name of the PrivateLink used when creating the endpoint from other VPC.
|
|
620
404
|
:param pulumi.Input[int] sleep: Configurable sleep time (seconds) when enable PrivateLink.
|
|
621
|
-
Default set to 10 seconds.
|
|
405
|
+
Default set to 10 seconds.
|
|
406
|
+
|
|
407
|
+
***Note:*** Available from [v1.29.0]
|
|
622
408
|
:param pulumi.Input[str] status: PrivateLink status [enable, pending, disable]
|
|
623
409
|
:param pulumi.Input[int] timeout: Configurable timeout time (seconds) when enable PrivateLink.
|
|
624
|
-
Default set to 1800 seconds.
|
|
410
|
+
Default set to 1800 seconds.
|
|
411
|
+
|
|
412
|
+
***Note:*** Available from [v1.29.0]
|
|
625
413
|
|
|
626
414
|
Allowed principals format: <br>
|
|
627
415
|
`arn:aws:iam::aws-account-id:root` <br>
|
|
@@ -678,7 +466,9 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
678
466
|
def sleep(self) -> pulumi.Output[Optional[int]]:
|
|
679
467
|
"""
|
|
680
468
|
Configurable sleep time (seconds) when enable PrivateLink.
|
|
681
|
-
Default set to 10 seconds.
|
|
469
|
+
Default set to 10 seconds.
|
|
470
|
+
|
|
471
|
+
***Note:*** Available from [v1.29.0]
|
|
682
472
|
"""
|
|
683
473
|
return pulumi.get(self, "sleep")
|
|
684
474
|
|
|
@@ -695,7 +485,9 @@ class PrivatelinkAws(pulumi.CustomResource):
|
|
|
695
485
|
def timeout(self) -> pulumi.Output[Optional[int]]:
|
|
696
486
|
"""
|
|
697
487
|
Configurable timeout time (seconds) when enable PrivateLink.
|
|
698
|
-
Default set to 1800 seconds.
|
|
488
|
+
Default set to 1800 seconds.
|
|
489
|
+
|
|
490
|
+
***Note:*** Available from [v1.29.0]
|
|
699
491
|
|
|
700
492
|
Allowed principals format: <br>
|
|
701
493
|
`arn:aws:iam::aws-account-id:root` <br>
|