pulumi-cloudamqp 3.16.0a1695822250__py3-none-any.whl → 3.17.0a1696359693__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.

Files changed (41) hide show
  1. pulumi_cloudamqp/_inputs.py +49 -10
  2. pulumi_cloudamqp/alarm.py +85 -23
  3. pulumi_cloudamqp/config/vars.py +1 -1
  4. pulumi_cloudamqp/custom_domain.py +31 -5
  5. pulumi_cloudamqp/extra_disk_size.py +52 -12
  6. pulumi_cloudamqp/get_account.py +43 -1
  7. pulumi_cloudamqp/get_account_vpcs.py +44 -1
  8. pulumi_cloudamqp/get_alarm.py +1 -1
  9. pulumi_cloudamqp/get_credentials.py +1 -1
  10. pulumi_cloudamqp/get_instance.py +1 -1
  11. pulumi_cloudamqp/get_nodes.py +1 -1
  12. pulumi_cloudamqp/get_notification.py +1 -1
  13. pulumi_cloudamqp/get_plugins.py +1 -1
  14. pulumi_cloudamqp/get_plugins_community.py +1 -1
  15. pulumi_cloudamqp/get_upgradable_versions.py +1 -1
  16. pulumi_cloudamqp/get_vpc_gcp_info.py +1 -1
  17. pulumi_cloudamqp/get_vpc_info.py +1 -1
  18. pulumi_cloudamqp/instance.py +109 -31
  19. pulumi_cloudamqp/integration_aws_eventbridge.py +58 -14
  20. pulumi_cloudamqp/integration_log.py +121 -35
  21. pulumi_cloudamqp/integration_metric.py +139 -47
  22. pulumi_cloudamqp/node_actions.py +40 -8
  23. pulumi_cloudamqp/notification.py +49 -11
  24. pulumi_cloudamqp/outputs.py +165 -37
  25. pulumi_cloudamqp/plugin.py +43 -9
  26. pulumi_cloudamqp/plugin_community.py +43 -9
  27. pulumi_cloudamqp/privatelink_aws.py +52 -12
  28. pulumi_cloudamqp/privatelink_azure.py +52 -12
  29. pulumi_cloudamqp/provider.py +21 -4
  30. pulumi_cloudamqp/rabbit_configuration.py +91 -25
  31. pulumi_cloudamqp/security_firewall.py +43 -9
  32. pulumi_cloudamqp/upgrade_rabbitmq.py +25 -3
  33. pulumi_cloudamqp/vpc.py +46 -10
  34. pulumi_cloudamqp/vpc_gcp_peering.py +52 -12
  35. pulumi_cloudamqp/vpc_peering.py +52 -12
  36. pulumi_cloudamqp/webhook.py +55 -13
  37. {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/METADATA +1 -1
  38. pulumi_cloudamqp-3.17.0a1696359693.dist-info/RECORD +45 -0
  39. pulumi_cloudamqp-3.16.0a1695822250.dist-info/RECORD +0 -45
  40. {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/WHEEL +0 -0
  41. {pulumi_cloudamqp-3.16.0a1695822250.dist-info → pulumi_cloudamqp-3.17.0a1696359693.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['IntegrationMetricArgs', 'IntegrationMetric']
@@ -57,51 +57,98 @@ class IntegrationMetricArgs:
57
57
  :param pulumi.Input[str] vhost_allowlist: (optional) allowlist using regular expression
58
58
  :param pulumi.Input[str] vhost_whitelist: **Deprecated**
59
59
  """
60
- pulumi.set(__self__, "instance_id", instance_id)
60
+ IntegrationMetricArgs._configure(
61
+ lambda key, value: pulumi.set(__self__, key, value),
62
+ instance_id=instance_id,
63
+ access_key_id=access_key_id,
64
+ api_key=api_key,
65
+ client_email=client_email,
66
+ credentials=credentials,
67
+ email=email,
68
+ iam_external_id=iam_external_id,
69
+ iam_role=iam_role,
70
+ license_key=license_key,
71
+ name=name,
72
+ private_key=private_key,
73
+ private_key_id=private_key_id,
74
+ project_id=project_id,
75
+ queue_allowlist=queue_allowlist,
76
+ queue_whitelist=queue_whitelist,
77
+ region=region,
78
+ secret_access_key=secret_access_key,
79
+ tags=tags,
80
+ vhost_allowlist=vhost_allowlist,
81
+ vhost_whitelist=vhost_whitelist,
82
+ )
83
+ @staticmethod
84
+ def _configure(
85
+ _setter: Callable[[Any, Any], None],
86
+ instance_id: pulumi.Input[int],
87
+ access_key_id: Optional[pulumi.Input[str]] = None,
88
+ api_key: Optional[pulumi.Input[str]] = None,
89
+ client_email: Optional[pulumi.Input[str]] = None,
90
+ credentials: Optional[pulumi.Input[str]] = None,
91
+ email: Optional[pulumi.Input[str]] = None,
92
+ iam_external_id: Optional[pulumi.Input[str]] = None,
93
+ iam_role: Optional[pulumi.Input[str]] = None,
94
+ license_key: Optional[pulumi.Input[str]] = None,
95
+ name: Optional[pulumi.Input[str]] = None,
96
+ private_key: Optional[pulumi.Input[str]] = None,
97
+ private_key_id: Optional[pulumi.Input[str]] = None,
98
+ project_id: Optional[pulumi.Input[str]] = None,
99
+ queue_allowlist: Optional[pulumi.Input[str]] = None,
100
+ queue_whitelist: Optional[pulumi.Input[str]] = None,
101
+ region: Optional[pulumi.Input[str]] = None,
102
+ secret_access_key: Optional[pulumi.Input[str]] = None,
103
+ tags: Optional[pulumi.Input[str]] = None,
104
+ vhost_allowlist: Optional[pulumi.Input[str]] = None,
105
+ vhost_whitelist: Optional[pulumi.Input[str]] = None,
106
+ opts: Optional[pulumi.ResourceOptions]=None):
107
+ _setter("instance_id", instance_id)
61
108
  if access_key_id is not None:
62
- pulumi.set(__self__, "access_key_id", access_key_id)
109
+ _setter("access_key_id", access_key_id)
63
110
  if api_key is not None:
64
- pulumi.set(__self__, "api_key", api_key)
111
+ _setter("api_key", api_key)
65
112
  if client_email is not None:
66
- pulumi.set(__self__, "client_email", client_email)
113
+ _setter("client_email", client_email)
67
114
  if credentials is not None:
68
- pulumi.set(__self__, "credentials", credentials)
115
+ _setter("credentials", credentials)
69
116
  if email is not None:
70
- pulumi.set(__self__, "email", email)
117
+ _setter("email", email)
71
118
  if iam_external_id is not None:
72
- pulumi.set(__self__, "iam_external_id", iam_external_id)
119
+ _setter("iam_external_id", iam_external_id)
73
120
  if iam_role is not None:
74
- pulumi.set(__self__, "iam_role", iam_role)
121
+ _setter("iam_role", iam_role)
75
122
  if license_key is not None:
76
- pulumi.set(__self__, "license_key", license_key)
123
+ _setter("license_key", license_key)
77
124
  if name is not None:
78
- pulumi.set(__self__, "name", name)
125
+ _setter("name", name)
79
126
  if private_key is not None:
80
- pulumi.set(__self__, "private_key", private_key)
127
+ _setter("private_key", private_key)
81
128
  if private_key_id is not None:
82
- pulumi.set(__self__, "private_key_id", private_key_id)
129
+ _setter("private_key_id", private_key_id)
83
130
  if project_id is not None:
84
- pulumi.set(__self__, "project_id", project_id)
131
+ _setter("project_id", project_id)
85
132
  if queue_allowlist is not None:
86
- pulumi.set(__self__, "queue_allowlist", queue_allowlist)
133
+ _setter("queue_allowlist", queue_allowlist)
87
134
  if queue_whitelist is not None:
88
135
  warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
89
136
  pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
90
137
  if queue_whitelist is not None:
91
- pulumi.set(__self__, "queue_whitelist", queue_whitelist)
138
+ _setter("queue_whitelist", queue_whitelist)
92
139
  if region is not None:
93
- pulumi.set(__self__, "region", region)
140
+ _setter("region", region)
94
141
  if secret_access_key is not None:
95
- pulumi.set(__self__, "secret_access_key", secret_access_key)
142
+ _setter("secret_access_key", secret_access_key)
96
143
  if tags is not None:
97
- pulumi.set(__self__, "tags", tags)
144
+ _setter("tags", tags)
98
145
  if vhost_allowlist is not None:
99
- pulumi.set(__self__, "vhost_allowlist", vhost_allowlist)
146
+ _setter("vhost_allowlist", vhost_allowlist)
100
147
  if vhost_whitelist is not None:
101
148
  warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
102
149
  pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
103
150
  if vhost_whitelist is not None:
104
- pulumi.set(__self__, "vhost_whitelist", vhost_whitelist)
151
+ _setter("vhost_whitelist", vhost_whitelist)
105
152
 
106
153
  @property
107
154
  @pulumi.getter(name="instanceId")
@@ -396,52 +443,99 @@ class _IntegrationMetricState:
396
443
  :param pulumi.Input[str] vhost_allowlist: (optional) allowlist using regular expression
397
444
  :param pulumi.Input[str] vhost_whitelist: **Deprecated**
398
445
  """
446
+ _IntegrationMetricState._configure(
447
+ lambda key, value: pulumi.set(__self__, key, value),
448
+ access_key_id=access_key_id,
449
+ api_key=api_key,
450
+ client_email=client_email,
451
+ credentials=credentials,
452
+ email=email,
453
+ iam_external_id=iam_external_id,
454
+ iam_role=iam_role,
455
+ instance_id=instance_id,
456
+ license_key=license_key,
457
+ name=name,
458
+ private_key=private_key,
459
+ private_key_id=private_key_id,
460
+ project_id=project_id,
461
+ queue_allowlist=queue_allowlist,
462
+ queue_whitelist=queue_whitelist,
463
+ region=region,
464
+ secret_access_key=secret_access_key,
465
+ tags=tags,
466
+ vhost_allowlist=vhost_allowlist,
467
+ vhost_whitelist=vhost_whitelist,
468
+ )
469
+ @staticmethod
470
+ def _configure(
471
+ _setter: Callable[[Any, Any], None],
472
+ access_key_id: Optional[pulumi.Input[str]] = None,
473
+ api_key: Optional[pulumi.Input[str]] = None,
474
+ client_email: Optional[pulumi.Input[str]] = None,
475
+ credentials: Optional[pulumi.Input[str]] = None,
476
+ email: Optional[pulumi.Input[str]] = None,
477
+ iam_external_id: Optional[pulumi.Input[str]] = None,
478
+ iam_role: Optional[pulumi.Input[str]] = None,
479
+ instance_id: Optional[pulumi.Input[int]] = None,
480
+ license_key: Optional[pulumi.Input[str]] = None,
481
+ name: Optional[pulumi.Input[str]] = None,
482
+ private_key: Optional[pulumi.Input[str]] = None,
483
+ private_key_id: Optional[pulumi.Input[str]] = None,
484
+ project_id: Optional[pulumi.Input[str]] = None,
485
+ queue_allowlist: Optional[pulumi.Input[str]] = None,
486
+ queue_whitelist: Optional[pulumi.Input[str]] = None,
487
+ region: Optional[pulumi.Input[str]] = None,
488
+ secret_access_key: Optional[pulumi.Input[str]] = None,
489
+ tags: Optional[pulumi.Input[str]] = None,
490
+ vhost_allowlist: Optional[pulumi.Input[str]] = None,
491
+ vhost_whitelist: Optional[pulumi.Input[str]] = None,
492
+ opts: Optional[pulumi.ResourceOptions]=None):
399
493
  if access_key_id is not None:
400
- pulumi.set(__self__, "access_key_id", access_key_id)
494
+ _setter("access_key_id", access_key_id)
401
495
  if api_key is not None:
402
- pulumi.set(__self__, "api_key", api_key)
496
+ _setter("api_key", api_key)
403
497
  if client_email is not None:
404
- pulumi.set(__self__, "client_email", client_email)
498
+ _setter("client_email", client_email)
405
499
  if credentials is not None:
406
- pulumi.set(__self__, "credentials", credentials)
500
+ _setter("credentials", credentials)
407
501
  if email is not None:
408
- pulumi.set(__self__, "email", email)
502
+ _setter("email", email)
409
503
  if iam_external_id is not None:
410
- pulumi.set(__self__, "iam_external_id", iam_external_id)
504
+ _setter("iam_external_id", iam_external_id)
411
505
  if iam_role is not None:
412
- pulumi.set(__self__, "iam_role", iam_role)
506
+ _setter("iam_role", iam_role)
413
507
  if instance_id is not None:
414
- pulumi.set(__self__, "instance_id", instance_id)
508
+ _setter("instance_id", instance_id)
415
509
  if license_key is not None:
416
- pulumi.set(__self__, "license_key", license_key)
510
+ _setter("license_key", license_key)
417
511
  if name is not None:
418
- pulumi.set(__self__, "name", name)
512
+ _setter("name", name)
419
513
  if private_key is not None:
420
- pulumi.set(__self__, "private_key", private_key)
514
+ _setter("private_key", private_key)
421
515
  if private_key_id is not None:
422
- pulumi.set(__self__, "private_key_id", private_key_id)
516
+ _setter("private_key_id", private_key_id)
423
517
  if project_id is not None:
424
- pulumi.set(__self__, "project_id", project_id)
518
+ _setter("project_id", project_id)
425
519
  if queue_allowlist is not None:
426
- pulumi.set(__self__, "queue_allowlist", queue_allowlist)
520
+ _setter("queue_allowlist", queue_allowlist)
427
521
  if queue_whitelist is not None:
428
522
  warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
429
523
  pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
430
524
  if queue_whitelist is not None:
431
- pulumi.set(__self__, "queue_whitelist", queue_whitelist)
525
+ _setter("queue_whitelist", queue_whitelist)
432
526
  if region is not None:
433
- pulumi.set(__self__, "region", region)
527
+ _setter("region", region)
434
528
  if secret_access_key is not None:
435
- pulumi.set(__self__, "secret_access_key", secret_access_key)
529
+ _setter("secret_access_key", secret_access_key)
436
530
  if tags is not None:
437
- pulumi.set(__self__, "tags", tags)
531
+ _setter("tags", tags)
438
532
  if vhost_allowlist is not None:
439
- pulumi.set(__self__, "vhost_allowlist", vhost_allowlist)
533
+ _setter("vhost_allowlist", vhost_allowlist)
440
534
  if vhost_whitelist is not None:
441
535
  warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
442
536
  pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
443
537
  if vhost_whitelist is not None:
444
- pulumi.set(__self__, "vhost_whitelist", vhost_whitelist)
538
+ _setter("vhost_whitelist", vhost_whitelist)
445
539
 
446
540
  @property
447
541
  @pulumi.getter(name="accessKeyId")
@@ -759,6 +853,10 @@ class IntegrationMetric(pulumi.CustomResource):
759
853
  if resource_args is not None:
760
854
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
761
855
  else:
856
+ kwargs = kwargs or {}
857
+ def _setter(key, value):
858
+ kwargs[key] = value
859
+ IntegrationMetricArgs._configure(_setter, **kwargs)
762
860
  __self__._internal_init(resource_name, *args, **kwargs)
763
861
 
764
862
  def _internal_init(__self__,
@@ -809,17 +907,11 @@ class IntegrationMetric(pulumi.CustomResource):
809
907
  __props__.__dict__["private_key_id"] = None if private_key_id is None else pulumi.Output.secret(private_key_id)
810
908
  __props__.__dict__["project_id"] = project_id
811
909
  __props__.__dict__["queue_allowlist"] = queue_allowlist
812
- if queue_whitelist is not None and not opts.urn:
813
- warnings.warn("""use queue_allowlist instead""", DeprecationWarning)
814
- pulumi.log.warn("""queue_whitelist is deprecated: use queue_allowlist instead""")
815
910
  __props__.__dict__["queue_whitelist"] = queue_whitelist
816
911
  __props__.__dict__["region"] = region
817
912
  __props__.__dict__["secret_access_key"] = None if secret_access_key is None else pulumi.Output.secret(secret_access_key)
818
913
  __props__.__dict__["tags"] = tags
819
914
  __props__.__dict__["vhost_allowlist"] = vhost_allowlist
820
- if vhost_whitelist is not None and not opts.urn:
821
- warnings.warn("""use vhost_allowlist instead""", DeprecationWarning)
822
- pulumi.log.warn("""vhost_whitelist is deprecated: use vhost_allowlist instead""")
823
915
  __props__.__dict__["vhost_whitelist"] = vhost_whitelist
824
916
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["credentials", "privateKey", "privateKeyId", "secretAccessKey"])
825
917
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['NodeActionsArgs', 'NodeActions']
@@ -23,9 +23,22 @@ class NodeActionsArgs:
23
23
  :param pulumi.Input[int] instance_id: The CloudAMQP instance ID.
24
24
  :param pulumi.Input[str] node_name: The node name, e.g `green-guinea-pig-01`.
25
25
  """
26
- pulumi.set(__self__, "action", action)
27
- pulumi.set(__self__, "instance_id", instance_id)
28
- pulumi.set(__self__, "node_name", node_name)
26
+ NodeActionsArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ action=action,
29
+ instance_id=instance_id,
30
+ node_name=node_name,
31
+ )
32
+ @staticmethod
33
+ def _configure(
34
+ _setter: Callable[[Any, Any], None],
35
+ action: pulumi.Input[str],
36
+ instance_id: pulumi.Input[int],
37
+ node_name: pulumi.Input[str],
38
+ opts: Optional[pulumi.ResourceOptions]=None):
39
+ _setter("action", action)
40
+ _setter("instance_id", instance_id)
41
+ _setter("node_name", node_name)
29
42
 
30
43
  @property
31
44
  @pulumi.getter
@@ -78,14 +91,29 @@ class _NodeActionsState:
78
91
  :param pulumi.Input[str] node_name: The node name, e.g `green-guinea-pig-01`.
79
92
  :param pulumi.Input[bool] running: If the node is running.
80
93
  """
94
+ _NodeActionsState._configure(
95
+ lambda key, value: pulumi.set(__self__, key, value),
96
+ action=action,
97
+ instance_id=instance_id,
98
+ node_name=node_name,
99
+ running=running,
100
+ )
101
+ @staticmethod
102
+ def _configure(
103
+ _setter: Callable[[Any, Any], None],
104
+ action: Optional[pulumi.Input[str]] = None,
105
+ instance_id: Optional[pulumi.Input[int]] = None,
106
+ node_name: Optional[pulumi.Input[str]] = None,
107
+ running: Optional[pulumi.Input[bool]] = None,
108
+ opts: Optional[pulumi.ResourceOptions]=None):
81
109
  if action is not None:
82
- pulumi.set(__self__, "action", action)
110
+ _setter("action", action)
83
111
  if instance_id is not None:
84
- pulumi.set(__self__, "instance_id", instance_id)
112
+ _setter("instance_id", instance_id)
85
113
  if node_name is not None:
86
- pulumi.set(__self__, "node_name", node_name)
114
+ _setter("node_name", node_name)
87
115
  if running is not None:
88
- pulumi.set(__self__, "running", running)
116
+ _setter("running", running)
89
117
 
90
118
  @property
91
119
  @pulumi.getter
@@ -407,6 +435,10 @@ class NodeActions(pulumi.CustomResource):
407
435
  if resource_args is not None:
408
436
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
409
437
  else:
438
+ kwargs = kwargs or {}
439
+ def _setter(key, value):
440
+ kwargs[key] = value
441
+ NodeActionsArgs._configure(_setter, **kwargs)
410
442
  __self__._internal_init(resource_name, *args, **kwargs)
411
443
 
412
444
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['NotificationArgs', 'Notification']
@@ -27,13 +27,30 @@ class NotificationArgs:
27
27
  :param pulumi.Input[str] name: Display name of the recipient.
28
28
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] options: Options argument (e.g. `rk` used for VictorOps routing key).
29
29
  """
30
- pulumi.set(__self__, "instance_id", instance_id)
31
- pulumi.set(__self__, "type", type)
32
- pulumi.set(__self__, "value", value)
30
+ NotificationArgs._configure(
31
+ lambda key, value: pulumi.set(__self__, key, value),
32
+ instance_id=instance_id,
33
+ type=type,
34
+ value=value,
35
+ name=name,
36
+ options=options,
37
+ )
38
+ @staticmethod
39
+ def _configure(
40
+ _setter: Callable[[Any, Any], None],
41
+ instance_id: pulumi.Input[int],
42
+ type: pulumi.Input[str],
43
+ value: pulumi.Input[str],
44
+ name: Optional[pulumi.Input[str]] = None,
45
+ options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
46
+ opts: Optional[pulumi.ResourceOptions]=None):
47
+ _setter("instance_id", instance_id)
48
+ _setter("type", type)
49
+ _setter("value", value)
33
50
  if name is not None:
34
- pulumi.set(__self__, "name", name)
51
+ _setter("name", name)
35
52
  if options is not None:
36
- pulumi.set(__self__, "options", options)
53
+ _setter("options", options)
37
54
 
38
55
  @property
39
56
  @pulumi.getter(name="instanceId")
@@ -112,16 +129,33 @@ class _NotificationState:
112
129
  :param pulumi.Input[str] type: Type of the notification. See valid options below.
113
130
  :param pulumi.Input[str] value: Integration/API key or endpoint to send the notification.
114
131
  """
132
+ _NotificationState._configure(
133
+ lambda key, value: pulumi.set(__self__, key, value),
134
+ instance_id=instance_id,
135
+ name=name,
136
+ options=options,
137
+ type=type,
138
+ value=value,
139
+ )
140
+ @staticmethod
141
+ def _configure(
142
+ _setter: Callable[[Any, Any], None],
143
+ instance_id: Optional[pulumi.Input[int]] = None,
144
+ name: Optional[pulumi.Input[str]] = None,
145
+ options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
146
+ type: Optional[pulumi.Input[str]] = None,
147
+ value: Optional[pulumi.Input[str]] = None,
148
+ opts: Optional[pulumi.ResourceOptions]=None):
115
149
  if instance_id is not None:
116
- pulumi.set(__self__, "instance_id", instance_id)
150
+ _setter("instance_id", instance_id)
117
151
  if name is not None:
118
- pulumi.set(__self__, "name", name)
152
+ _setter("name", name)
119
153
  if options is not None:
120
- pulumi.set(__self__, "options", options)
154
+ _setter("options", options)
121
155
  if type is not None:
122
- pulumi.set(__self__, "type", type)
156
+ _setter("type", type)
123
157
  if value is not None:
124
- pulumi.set(__self__, "value", value)
158
+ _setter("value", value)
125
159
 
126
160
  @property
127
161
  @pulumi.getter(name="instanceId")
@@ -345,6 +379,10 @@ class Notification(pulumi.CustomResource):
345
379
  if resource_args is not None:
346
380
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
347
381
  else:
382
+ kwargs = kwargs or {}
383
+ def _setter(key, value):
384
+ kwargs[key] = value
385
+ NotificationArgs._configure(_setter, **kwargs)
348
386
  __self__._internal_init(resource_name, *args, **kwargs)
349
387
 
350
388
  def _internal_init(__self__,