pulumi-cloudamqp 3.18.0a1718169430__py3-none-any.whl → 3.18.1__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.

@@ -273,13 +273,11 @@ class IntegrationMetricArgs:
273
273
 
274
274
  @property
275
275
  @pulumi.getter(name="queueWhitelist")
276
+ @_utilities.deprecated("""use queue_allowlist instead""")
276
277
  def queue_whitelist(self) -> Optional[pulumi.Input[str]]:
277
278
  """
278
279
  **Deprecated**
279
280
  """
280
- warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
281
- pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
282
-
283
281
  return pulumi.get(self, "queue_whitelist")
284
282
 
285
283
  @queue_whitelist.setter
@@ -336,13 +334,11 @@ class IntegrationMetricArgs:
336
334
 
337
335
  @property
338
336
  @pulumi.getter(name="vhostWhitelist")
337
+ @_utilities.deprecated("""use vhost_allowlist instead""")
339
338
  def vhost_whitelist(self) -> Optional[pulumi.Input[str]]:
340
339
  """
341
340
  **Deprecated**
342
341
  """
343
- warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
344
- pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
345
-
346
342
  return pulumi.get(self, "vhost_whitelist")
347
343
 
348
344
  @vhost_whitelist.setter
@@ -613,13 +609,11 @@ class _IntegrationMetricState:
613
609
 
614
610
  @property
615
611
  @pulumi.getter(name="queueWhitelist")
612
+ @_utilities.deprecated("""use queue_allowlist instead""")
616
613
  def queue_whitelist(self) -> Optional[pulumi.Input[str]]:
617
614
  """
618
615
  **Deprecated**
619
616
  """
620
- warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
621
- pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
622
-
623
617
  return pulumi.get(self, "queue_whitelist")
624
618
 
625
619
  @queue_whitelist.setter
@@ -676,13 +670,11 @@ class _IntegrationMetricState:
676
670
 
677
671
  @property
678
672
  @pulumi.getter(name="vhostWhitelist")
673
+ @_utilities.deprecated("""use vhost_allowlist instead""")
679
674
  def vhost_whitelist(self) -> Optional[pulumi.Input[str]]:
680
675
  """
681
676
  **Deprecated**
682
677
  """
683
- warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
684
- pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
685
-
686
678
  return pulumi.get(self, "vhost_whitelist")
687
679
 
688
680
  @vhost_whitelist.setter
@@ -717,7 +709,162 @@ class IntegrationMetric(pulumi.CustomResource):
717
709
  vhost_whitelist: Optional[pulumi.Input[str]] = None,
718
710
  __props__=None):
719
711
  """
720
- Create a IntegrationMetric resource with the given unique name, props, and options.
712
+ This resource allows you to create and manage, forwarding metrics to third party integrations for a CloudAMQP instance. Once configured, the metrics produced will be forward to corresponding integration.
713
+
714
+ Only available for dedicated subscription plans.
715
+
716
+ ## Example Usage
717
+
718
+ <details>
719
+ <summary>
720
+ <b>
721
+ <i>Cloudwatch v1 and v2 metric integration</i>
722
+ </b>
723
+ </summary>
724
+
725
+ ***Access key***
726
+
727
+ ```python
728
+ import pulumi
729
+ import pulumi_cloudamqp as cloudamqp
730
+
731
+ cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
732
+ instance_id=instance["id"],
733
+ name="cloudwatch",
734
+ access_key_id=aws_access_key_id,
735
+ secret_access_key=var_aws_secret_acccess_key,
736
+ region=aws_region)
737
+ cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
738
+ instance_id=instance["id"],
739
+ name="cloudwatch_v2",
740
+ access_key_id=aws_access_key_id,
741
+ secret_access_key=var_aws_secret_acccess_key,
742
+ region=aws_region)
743
+ ```
744
+
745
+ ***Assume role***
746
+
747
+ ```python
748
+ import pulumi
749
+ import pulumi_cloudamqp as cloudamqp
750
+
751
+ cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
752
+ instance_id=instance["id"],
753
+ name="cloudwatch",
754
+ iam_role=aws_iam_role,
755
+ iam_external_id=external_id,
756
+ region=aws_region)
757
+ cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
758
+ instance_id=instance["id"],
759
+ name="cloudwatch_v2",
760
+ iam_role=aws_iam_role,
761
+ iam_external_id=external_id,
762
+ region=aws_region)
763
+ ```
764
+
765
+ * AWS IAM role: arn:aws:iam::ACCOUNT-ID:role/ROLE-NAME
766
+ * External id: Create own external identifier that match the role created. E.g. "cloudamqp-abc123".
767
+
768
+ </details>
769
+
770
+ <details>
771
+ <summary>
772
+ <b>
773
+ <i>Datadog v1 and v2 metric integration</i>
774
+ </b>
775
+ </summary>
776
+
777
+ ```python
778
+ import pulumi
779
+ import pulumi_cloudamqp as cloudamqp
780
+
781
+ datadog = cloudamqp.IntegrationMetric("datadog",
782
+ instance_id=instance["id"],
783
+ name="datadog",
784
+ api_key=datadog_api_key,
785
+ region=datadog_region,
786
+ tags="env=prod,region=us1,version=v1.0")
787
+ datadog_v2 = cloudamqp.IntegrationMetric("datadog_v2",
788
+ instance_id=instance["id"],
789
+ name="datadog_v2",
790
+ api_key=datadog_api_key,
791
+ region=datadog_region,
792
+ tags="env=prod,region=us1,version=v1.0")
793
+ ```
794
+
795
+ </details>
796
+
797
+ <details>
798
+ <summary>
799
+ <b>
800
+ <i>Librato metric integration</i>
801
+ </b>
802
+ </summary>
803
+
804
+ ```python
805
+ import pulumi
806
+ import pulumi_cloudamqp as cloudamqp
807
+
808
+ librato = cloudamqp.IntegrationMetric("librato",
809
+ instance_id=instance["id"],
810
+ name="librato",
811
+ email=librato_email,
812
+ api_key=librato_api_key)
813
+ ```
814
+
815
+ </details>
816
+
817
+ <details>
818
+ <summary>
819
+ <b>
820
+ <i>New relic v2 metric integration</i>
821
+ </b>
822
+ </summary>
823
+
824
+ ```python
825
+ import pulumi
826
+ import pulumi_cloudamqp as cloudamqp
827
+
828
+ newrelic = cloudamqp.IntegrationMetric("newrelic",
829
+ instance_id=instance["id"],
830
+ name="newrelic_v2",
831
+ api_key=newrelic_api_key,
832
+ region=newrelic_region)
833
+ ```
834
+
835
+ </details>
836
+
837
+ <details>
838
+ <summary>
839
+ <b>
840
+ <i>Stackdriver metric integration (v1.20.2 or earlier versions)</i>
841
+ </b>
842
+ </summary>
843
+
844
+ Use variable file populated with project_id, private_key and client_email
845
+
846
+ ```python
847
+ import pulumi
848
+ import pulumi_cloudamqp as cloudamqp
849
+
850
+ stackdriver = cloudamqp.IntegrationMetric("stackdriver",
851
+ instance_id=instance["id"],
852
+ name="stackdriver",
853
+ project_id=stackdriver_project_id,
854
+ private_key=stackdriver_private_key,
855
+ client_email=stackriver_email)
856
+ ```
857
+
858
+ or by using google_service_account_key resource from Google provider
859
+
860
+ ## Import
861
+
862
+ `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
863
+
864
+ ```sh
865
+ $ pulumi import cloudamqp:index/integrationMetric:IntegrationMetric <resource_name> <resource_id>,<instance_id>`
866
+ ```
867
+
721
868
  :param str resource_name: The name of the resource.
722
869
  :param pulumi.ResourceOptions opts: Options for the resource.
723
870
  :param pulumi.Input[str] access_key_id: AWS access key identifier. (Cloudwatch)
@@ -748,7 +895,162 @@ class IntegrationMetric(pulumi.CustomResource):
748
895
  args: IntegrationMetricArgs,
749
896
  opts: Optional[pulumi.ResourceOptions] = None):
750
897
  """
751
- Create a IntegrationMetric resource with the given unique name, props, and options.
898
+ This resource allows you to create and manage, forwarding metrics to third party integrations for a CloudAMQP instance. Once configured, the metrics produced will be forward to corresponding integration.
899
+
900
+ Only available for dedicated subscription plans.
901
+
902
+ ## Example Usage
903
+
904
+ <details>
905
+ <summary>
906
+ <b>
907
+ <i>Cloudwatch v1 and v2 metric integration</i>
908
+ </b>
909
+ </summary>
910
+
911
+ ***Access key***
912
+
913
+ ```python
914
+ import pulumi
915
+ import pulumi_cloudamqp as cloudamqp
916
+
917
+ cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
918
+ instance_id=instance["id"],
919
+ name="cloudwatch",
920
+ access_key_id=aws_access_key_id,
921
+ secret_access_key=var_aws_secret_acccess_key,
922
+ region=aws_region)
923
+ cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
924
+ instance_id=instance["id"],
925
+ name="cloudwatch_v2",
926
+ access_key_id=aws_access_key_id,
927
+ secret_access_key=var_aws_secret_acccess_key,
928
+ region=aws_region)
929
+ ```
930
+
931
+ ***Assume role***
932
+
933
+ ```python
934
+ import pulumi
935
+ import pulumi_cloudamqp as cloudamqp
936
+
937
+ cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
938
+ instance_id=instance["id"],
939
+ name="cloudwatch",
940
+ iam_role=aws_iam_role,
941
+ iam_external_id=external_id,
942
+ region=aws_region)
943
+ cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
944
+ instance_id=instance["id"],
945
+ name="cloudwatch_v2",
946
+ iam_role=aws_iam_role,
947
+ iam_external_id=external_id,
948
+ region=aws_region)
949
+ ```
950
+
951
+ * AWS IAM role: arn:aws:iam::ACCOUNT-ID:role/ROLE-NAME
952
+ * External id: Create own external identifier that match the role created. E.g. "cloudamqp-abc123".
953
+
954
+ </details>
955
+
956
+ <details>
957
+ <summary>
958
+ <b>
959
+ <i>Datadog v1 and v2 metric integration</i>
960
+ </b>
961
+ </summary>
962
+
963
+ ```python
964
+ import pulumi
965
+ import pulumi_cloudamqp as cloudamqp
966
+
967
+ datadog = cloudamqp.IntegrationMetric("datadog",
968
+ instance_id=instance["id"],
969
+ name="datadog",
970
+ api_key=datadog_api_key,
971
+ region=datadog_region,
972
+ tags="env=prod,region=us1,version=v1.0")
973
+ datadog_v2 = cloudamqp.IntegrationMetric("datadog_v2",
974
+ instance_id=instance["id"],
975
+ name="datadog_v2",
976
+ api_key=datadog_api_key,
977
+ region=datadog_region,
978
+ tags="env=prod,region=us1,version=v1.0")
979
+ ```
980
+
981
+ </details>
982
+
983
+ <details>
984
+ <summary>
985
+ <b>
986
+ <i>Librato metric integration</i>
987
+ </b>
988
+ </summary>
989
+
990
+ ```python
991
+ import pulumi
992
+ import pulumi_cloudamqp as cloudamqp
993
+
994
+ librato = cloudamqp.IntegrationMetric("librato",
995
+ instance_id=instance["id"],
996
+ name="librato",
997
+ email=librato_email,
998
+ api_key=librato_api_key)
999
+ ```
1000
+
1001
+ </details>
1002
+
1003
+ <details>
1004
+ <summary>
1005
+ <b>
1006
+ <i>New relic v2 metric integration</i>
1007
+ </b>
1008
+ </summary>
1009
+
1010
+ ```python
1011
+ import pulumi
1012
+ import pulumi_cloudamqp as cloudamqp
1013
+
1014
+ newrelic = cloudamqp.IntegrationMetric("newrelic",
1015
+ instance_id=instance["id"],
1016
+ name="newrelic_v2",
1017
+ api_key=newrelic_api_key,
1018
+ region=newrelic_region)
1019
+ ```
1020
+
1021
+ </details>
1022
+
1023
+ <details>
1024
+ <summary>
1025
+ <b>
1026
+ <i>Stackdriver metric integration (v1.20.2 or earlier versions)</i>
1027
+ </b>
1028
+ </summary>
1029
+
1030
+ Use variable file populated with project_id, private_key and client_email
1031
+
1032
+ ```python
1033
+ import pulumi
1034
+ import pulumi_cloudamqp as cloudamqp
1035
+
1036
+ stackdriver = cloudamqp.IntegrationMetric("stackdriver",
1037
+ instance_id=instance["id"],
1038
+ name="stackdriver",
1039
+ project_id=stackdriver_project_id,
1040
+ private_key=stackdriver_private_key,
1041
+ client_email=stackriver_email)
1042
+ ```
1043
+
1044
+ or by using google_service_account_key resource from Google provider
1045
+
1046
+ ## Import
1047
+
1048
+ `cloudamqp_integration_metric`can be imported using the resource identifier together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.
1049
+
1050
+ ```sh
1051
+ $ pulumi import cloudamqp:index/integrationMetric:IntegrationMetric <resource_name> <resource_id>,<instance_id>`
1052
+ ```
1053
+
752
1054
  :param str resource_name: The name of the resource.
753
1055
  :param IntegrationMetricArgs args: The arguments to use to populate this resource's properties.
754
1056
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -794,7 +1096,7 @@ class IntegrationMetric(pulumi.CustomResource):
794
1096
  __props__ = IntegrationMetricArgs.__new__(IntegrationMetricArgs)
795
1097
 
796
1098
  __props__.__dict__["access_key_id"] = access_key_id
797
- __props__.__dict__["api_key"] = api_key
1099
+ __props__.__dict__["api_key"] = None if api_key is None else pulumi.Output.secret(api_key)
798
1100
  __props__.__dict__["client_email"] = client_email
799
1101
  __props__.__dict__["credentials"] = None if credentials is None else pulumi.Output.secret(credentials)
800
1102
  __props__.__dict__["email"] = email
@@ -803,7 +1105,7 @@ class IntegrationMetric(pulumi.CustomResource):
803
1105
  if instance_id is None and not opts.urn:
804
1106
  raise TypeError("Missing required property 'instance_id'")
805
1107
  __props__.__dict__["instance_id"] = instance_id
806
- __props__.__dict__["license_key"] = license_key
1108
+ __props__.__dict__["license_key"] = None if license_key is None else pulumi.Output.secret(license_key)
807
1109
  __props__.__dict__["name"] = name
808
1110
  __props__.__dict__["private_key"] = None if private_key is None else pulumi.Output.secret(private_key)
809
1111
  __props__.__dict__["private_key_id"] = None if private_key_id is None else pulumi.Output.secret(private_key_id)
@@ -815,7 +1117,7 @@ class IntegrationMetric(pulumi.CustomResource):
815
1117
  __props__.__dict__["tags"] = tags
816
1118
  __props__.__dict__["vhost_allowlist"] = vhost_allowlist
817
1119
  __props__.__dict__["vhost_whitelist"] = vhost_whitelist
818
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials", "privateKey", "privateKeyId", "secretAccessKey"])
1120
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["apiKey", "credentials", "licenseKey", "privateKey", "privateKeyId", "secretAccessKey"])
819
1121
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
820
1122
  super(IntegrationMetric, __self__).__init__(
821
1123
  'cloudamqp:index/integrationMetric:IntegrationMetric',
@@ -1015,13 +1317,11 @@ class IntegrationMetric(pulumi.CustomResource):
1015
1317
 
1016
1318
  @property
1017
1319
  @pulumi.getter(name="queueWhitelist")
1320
+ @_utilities.deprecated("""use queue_allowlist instead""")
1018
1321
  def queue_whitelist(self) -> pulumi.Output[Optional[str]]:
1019
1322
  """
1020
1323
  **Deprecated**
1021
1324
  """
1022
- warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
1023
- pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
1024
-
1025
1325
  return pulumi.get(self, "queue_whitelist")
1026
1326
 
1027
1327
  @property
@@ -1058,12 +1358,10 @@ class IntegrationMetric(pulumi.CustomResource):
1058
1358
 
1059
1359
  @property
1060
1360
  @pulumi.getter(name="vhostWhitelist")
1361
+ @_utilities.deprecated("""use vhost_allowlist instead""")
1061
1362
  def vhost_whitelist(self) -> pulumi.Output[Optional[str]]:
1062
1363
  """
1063
1364
  **Deprecated**
1064
1365
  """
1065
- warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
1066
- pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
1067
-
1068
1366
  return pulumi.get(self, "vhost_whitelist")
1069
1367
 
@@ -169,6 +169,7 @@ class NodeActions(pulumi.CustomResource):
169
169
  node_name="<node name>",
170
170
  action="restart")
171
171
  ```
172
+
172
173
  </details>
173
174
 
174
175
  Using data source `get_nodes` to restart RabbitMQ on all nodes.</br>
@@ -194,16 +195,17 @@ class NodeActions(pulumi.CustomResource):
194
195
  instance_id=instance["id"],
195
196
  action="restart",
196
197
  node_name=list_nodes.nodes[1].name,
197
- opts=pulumi.ResourceOptions(depends_on=[restart01]))
198
+ opts = pulumi.ResourceOptions(depends_on=[restart01]))
198
199
  restart03 = cloudamqp.NodeActions("restart_03",
199
200
  instance_id=instance["id"],
200
201
  action="restart",
201
202
  node_name=list_nodes.nodes[2].name,
202
- opts=pulumi.ResourceOptions(depends_on=[
203
+ opts = pulumi.ResourceOptions(depends_on=[
203
204
  restart01,
204
205
  restart02,
205
206
  ]))
206
207
  ```
208
+
207
209
  </details>
208
210
 
209
211
  <details>
@@ -225,12 +227,12 @@ class NodeActions(pulumi.CustomResource):
225
227
  instance_id=instance["id"],
226
228
  action="restart",
227
229
  node_name=list_nodes.nodes[0].name,
228
- opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
230
+ opts = pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
229
231
  restart02 = cloudamqp.NodeActions("restart_02",
230
232
  instance_id=instance["id"],
231
233
  action="restart",
232
234
  node_name=list_nodes.nodes[1].name,
233
- opts=pulumi.ResourceOptions(depends_on=[
235
+ opts = pulumi.ResourceOptions(depends_on=[
234
236
  rabbitmq_config,
235
237
  restart01,
236
238
  ]))
@@ -238,12 +240,13 @@ class NodeActions(pulumi.CustomResource):
238
240
  instance_id=instance["id"],
239
241
  action="restart",
240
242
  node_name=list_nodes.nodes[2].name,
241
- opts=pulumi.ResourceOptions(depends_on=[
243
+ opts = pulumi.ResourceOptions(depends_on=[
242
244
  rabbitmq_config,
243
245
  restart01,
244
246
  restart02,
245
247
  ]))
246
248
  ```
249
+
247
250
  </details>
248
251
 
249
252
  ## Action reference
@@ -302,6 +305,7 @@ class NodeActions(pulumi.CustomResource):
302
305
  node_name="<node name>",
303
306
  action="restart")
304
307
  ```
308
+
305
309
  </details>
306
310
 
307
311
  Using data source `get_nodes` to restart RabbitMQ on all nodes.</br>
@@ -327,16 +331,17 @@ class NodeActions(pulumi.CustomResource):
327
331
  instance_id=instance["id"],
328
332
  action="restart",
329
333
  node_name=list_nodes.nodes[1].name,
330
- opts=pulumi.ResourceOptions(depends_on=[restart01]))
334
+ opts = pulumi.ResourceOptions(depends_on=[restart01]))
331
335
  restart03 = cloudamqp.NodeActions("restart_03",
332
336
  instance_id=instance["id"],
333
337
  action="restart",
334
338
  node_name=list_nodes.nodes[2].name,
335
- opts=pulumi.ResourceOptions(depends_on=[
339
+ opts = pulumi.ResourceOptions(depends_on=[
336
340
  restart01,
337
341
  restart02,
338
342
  ]))
339
343
  ```
344
+
340
345
  </details>
341
346
 
342
347
  <details>
@@ -358,12 +363,12 @@ class NodeActions(pulumi.CustomResource):
358
363
  instance_id=instance["id"],
359
364
  action="restart",
360
365
  node_name=list_nodes.nodes[0].name,
361
- opts=pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
366
+ opts = pulumi.ResourceOptions(depends_on=[rabbitmq_config]))
362
367
  restart02 = cloudamqp.NodeActions("restart_02",
363
368
  instance_id=instance["id"],
364
369
  action="restart",
365
370
  node_name=list_nodes.nodes[1].name,
366
- opts=pulumi.ResourceOptions(depends_on=[
371
+ opts = pulumi.ResourceOptions(depends_on=[
367
372
  rabbitmq_config,
368
373
  restart01,
369
374
  ]))
@@ -371,12 +376,13 @@ class NodeActions(pulumi.CustomResource):
371
376
  instance_id=instance["id"],
372
377
  action="restart",
373
378
  node_name=list_nodes.nodes[2].name,
374
- opts=pulumi.ResourceOptions(depends_on=[
379
+ opts = pulumi.ResourceOptions(depends_on=[
375
380
  rabbitmq_config,
376
381
  restart01,
377
382
  restart02,
378
383
  ]))
379
384
  ```
385
+
380
386
  </details>
381
387
 
382
388
  ## Action reference
@@ -383,6 +383,24 @@ class Notification(pulumi.CustomResource):
383
383
 
384
384
  </details>
385
385
 
386
+ <details>
387
+ <summary>
388
+ <b>Slack recipient</b>
389
+ </summary>
390
+
391
+ ```python
392
+ import pulumi
393
+ import pulumi_cloudamqp as cloudamqp
394
+
395
+ slack_recipient = cloudamqp.Notification("slack_recipient",
396
+ instance_id=instance["id"],
397
+ type="slack",
398
+ value="<slack-webhook-url>",
399
+ name="Slack webhook recipient")
400
+ ```
401
+
402
+ </details>
403
+
386
404
  <details>
387
405
  <summary>
388
406
  <b>Webhook recipient</b>
@@ -432,7 +450,7 @@ class Notification(pulumi.CustomResource):
432
450
 
433
451
  (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
434
452
 
435
- [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
453
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-recipients).
436
454
 
437
455
  ```sh
438
456
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -591,6 +609,24 @@ class Notification(pulumi.CustomResource):
591
609
 
592
610
  </details>
593
611
 
612
+ <details>
613
+ <summary>
614
+ <b>Slack recipient</b>
615
+ </summary>
616
+
617
+ ```python
618
+ import pulumi
619
+ import pulumi_cloudamqp as cloudamqp
620
+
621
+ slack_recipient = cloudamqp.Notification("slack_recipient",
622
+ instance_id=instance["id"],
623
+ type="slack",
624
+ value="<slack-webhook-url>",
625
+ name="Slack webhook recipient")
626
+ ```
627
+
628
+ </details>
629
+
594
630
  <details>
595
631
  <summary>
596
632
  <b>Webhook recipient</b>
@@ -640,7 +676,7 @@ class Notification(pulumi.CustomResource):
640
676
 
641
677
  (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use
642
678
 
643
- [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
679
+ [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-recipients).
644
680
 
645
681
  ```sh
646
682
  $ pulumi import cloudamqp:index/notification:Notification recipient <id>,<instance_id>`
@@ -384,20 +384,24 @@ class GetAccountVpcsVpcResult(dict):
384
384
  class GetNodesNodeResult(dict):
385
385
  def __init__(__self__, *,
386
386
  additional_disk_size: int,
387
+ availability_zone: str,
387
388
  configured: bool,
388
389
  disk_size: int,
389
390
  erlang_version: str,
390
391
  hipe: bool,
391
392
  hostname: str,
393
+ hostname_internal: str,
392
394
  name: str,
393
395
  rabbitmq_version: str,
394
396
  running: bool):
395
397
  pulumi.set(__self__, "additional_disk_size", additional_disk_size)
398
+ pulumi.set(__self__, "availability_zone", availability_zone)
396
399
  pulumi.set(__self__, "configured", configured)
397
400
  pulumi.set(__self__, "disk_size", disk_size)
398
401
  pulumi.set(__self__, "erlang_version", erlang_version)
399
402
  pulumi.set(__self__, "hipe", hipe)
400
403
  pulumi.set(__self__, "hostname", hostname)
404
+ pulumi.set(__self__, "hostname_internal", hostname_internal)
401
405
  pulumi.set(__self__, "name", name)
402
406
  pulumi.set(__self__, "rabbitmq_version", rabbitmq_version)
403
407
  pulumi.set(__self__, "running", running)
@@ -407,6 +411,11 @@ class GetNodesNodeResult(dict):
407
411
  def additional_disk_size(self) -> int:
408
412
  return pulumi.get(self, "additional_disk_size")
409
413
 
414
+ @property
415
+ @pulumi.getter(name="availabilityZone")
416
+ def availability_zone(self) -> str:
417
+ return pulumi.get(self, "availability_zone")
418
+
410
419
  @property
411
420
  @pulumi.getter
412
421
  def configured(self) -> bool:
@@ -432,6 +441,11 @@ class GetNodesNodeResult(dict):
432
441
  def hostname(self) -> str:
433
442
  return pulumi.get(self, "hostname")
434
443
 
444
+ @property
445
+ @pulumi.getter(name="hostnameInternal")
446
+ def hostname_internal(self) -> str:
447
+ return pulumi.get(self, "hostname_internal")
448
+
435
449
  @property
436
450
  @pulumi.getter
437
451
  def name(self) -> str:
@@ -354,7 +354,7 @@ class PrivatelinkAws(pulumi.CustomResource):
354
354
  services=["HTTPS"],
355
355
  ),
356
356
  ],
357
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
357
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
358
358
  ```
359
359
 
360
360
  </details>
@@ -517,7 +517,7 @@ class PrivatelinkAws(pulumi.CustomResource):
517
517
  services=["HTTPS"],
518
518
  ),
519
519
  ],
520
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
520
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
521
521
  ```
522
522
 
523
523
  </details>