pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.0a1751947305__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-alicloud might be problematic. Click here for more details.

Files changed (61) hide show
  1. pulumi_alicloud/__init__.py +40 -0
  2. pulumi_alicloud/alikafka/__init__.py +2 -0
  3. pulumi_alicloud/alikafka/_inputs.py +450 -0
  4. pulumi_alicloud/alikafka/instance.py +331 -95
  5. pulumi_alicloud/alikafka/outputs.py +346 -0
  6. pulumi_alicloud/cdn/get_service.py +4 -4
  7. pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
  8. pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
  9. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
  10. pulumi_alicloud/cen/outputs.py +56 -41
  11. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  12. pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
  13. pulumi_alicloud/cs/_inputs.py +54 -0
  14. pulumi_alicloud/cs/node_pool.py +158 -45
  15. pulumi_alicloud/cs/outputs.py +51 -0
  16. pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
  17. pulumi_alicloud/ecs/_inputs.py +66 -0
  18. pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
  19. pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
  20. pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
  21. pulumi_alicloud/ecs/get_key_pairs.py +1 -1
  22. pulumi_alicloud/ecs/instance.py +115 -0
  23. pulumi_alicloud/ecs/outputs.py +176 -80
  24. pulumi_alicloud/eflo/node_group.py +103 -7
  25. pulumi_alicloud/emrv2/_inputs.py +74 -0
  26. pulumi_alicloud/emrv2/outputs.py +65 -0
  27. pulumi_alicloud/esa/__init__.py +2 -0
  28. pulumi_alicloud/esa/certificate.py +7 -28
  29. pulumi_alicloud/esa/custom_scene_policy.py +484 -0
  30. pulumi_alicloud/esa/version.py +406 -0
  31. pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
  32. pulumi_alicloud/ga/forwarding_rule.py +2 -2
  33. pulumi_alicloud/gpdb/instance.py +28 -28
  34. pulumi_alicloud/hbr/__init__.py +1 -0
  35. pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
  36. pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
  37. pulumi_alicloud/hbr/outputs.py +96 -0
  38. pulumi_alicloud/hbr/replication_vault.py +167 -41
  39. pulumi_alicloud/hbr/vault.py +21 -7
  40. pulumi_alicloud/kms/secret.py +42 -28
  41. pulumi_alicloud/maxcompute/_inputs.py +26 -6
  42. pulumi_alicloud/maxcompute/outputs.py +18 -4
  43. pulumi_alicloud/maxcompute/project.py +50 -3
  44. pulumi_alicloud/message/__init__.py +1 -0
  45. pulumi_alicloud/message/service_service.py +132 -0
  46. pulumi_alicloud/message/service_subscription.py +37 -23
  47. pulumi_alicloud/mns/get_service.py +8 -4
  48. pulumi_alicloud/mongodb/instance.py +63 -16
  49. pulumi_alicloud/mongodb/sharding_instance.py +249 -0
  50. pulumi_alicloud/pulumi-plugin.json +1 -1
  51. pulumi_alicloud/ram/role.py +306 -105
  52. pulumi_alicloud/rds/_inputs.py +0 -9
  53. pulumi_alicloud/rds/custom.py +360 -31
  54. pulumi_alicloud/rds/outputs.py +0 -6
  55. pulumi_alicloud/threatdetection/__init__.py +1 -0
  56. pulumi_alicloud/threatdetection/cycle_task.py +731 -0
  57. pulumi_alicloud/vpc/network_interface.py +34 -0
  58. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/METADATA +1 -1
  59. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/RECORD +61 -53
  60. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/WHEEL +0 -0
  61. {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,406 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = ['VersionArgs', 'Version']
19
+
20
+ @pulumi.input_type
21
+ class VersionArgs:
22
+ def __init__(__self__, *,
23
+ origin_version: pulumi.Input[builtins.int],
24
+ site_id: pulumi.Input[builtins.int],
25
+ description: Optional[pulumi.Input[builtins.str]] = None):
26
+ """
27
+ The set of arguments for constructing a Version resource.
28
+ :param pulumi.Input[builtins.int] origin_version: The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
29
+ :param pulumi.Input[builtins.int] site_id: The site ID, which can be obtained by calling the ListSites API.
30
+ :param pulumi.Input[builtins.str] description: The Site version's description.
31
+ """
32
+ pulumi.set(__self__, "origin_version", origin_version)
33
+ pulumi.set(__self__, "site_id", site_id)
34
+ if description is not None:
35
+ pulumi.set(__self__, "description", description)
36
+
37
+ @property
38
+ @pulumi.getter(name="originVersion")
39
+ def origin_version(self) -> pulumi.Input[builtins.int]:
40
+ """
41
+ The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
42
+ """
43
+ return pulumi.get(self, "origin_version")
44
+
45
+ @origin_version.setter
46
+ def origin_version(self, value: pulumi.Input[builtins.int]):
47
+ pulumi.set(self, "origin_version", value)
48
+
49
+ @property
50
+ @pulumi.getter(name="siteId")
51
+ def site_id(self) -> pulumi.Input[builtins.int]:
52
+ """
53
+ The site ID, which can be obtained by calling the ListSites API.
54
+ """
55
+ return pulumi.get(self, "site_id")
56
+
57
+ @site_id.setter
58
+ def site_id(self, value: pulumi.Input[builtins.int]):
59
+ pulumi.set(self, "site_id", value)
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
64
+ """
65
+ The Site version's description.
66
+ """
67
+ return pulumi.get(self, "description")
68
+
69
+ @description.setter
70
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
71
+ pulumi.set(self, "description", value)
72
+
73
+
74
+ @pulumi.input_type
75
+ class _VersionState:
76
+ def __init__(__self__, *,
77
+ create_time: Optional[pulumi.Input[builtins.str]] = None,
78
+ description: Optional[pulumi.Input[builtins.str]] = None,
79
+ origin_version: Optional[pulumi.Input[builtins.int]] = None,
80
+ site_id: Optional[pulumi.Input[builtins.int]] = None,
81
+ site_version: Optional[pulumi.Input[builtins.int]] = None,
82
+ status: Optional[pulumi.Input[builtins.str]] = None):
83
+ """
84
+ Input properties used for looking up and filtering Version resources.
85
+ :param pulumi.Input[builtins.str] create_time: The creation time. The date format follows ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
86
+ :param pulumi.Input[builtins.str] description: The Site version's description.
87
+ :param pulumi.Input[builtins.int] origin_version: The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
88
+ :param pulumi.Input[builtins.int] site_id: The site ID, which can be obtained by calling the ListSites API.
89
+ :param pulumi.Input[builtins.int] site_version: The version number of the site configuration.
90
+ :param pulumi.Input[builtins.str] status: Site version status::`online`.:`configuring`._faild`:`configure_faild`.
91
+ """
92
+ if create_time is not None:
93
+ pulumi.set(__self__, "create_time", create_time)
94
+ if description is not None:
95
+ pulumi.set(__self__, "description", description)
96
+ if origin_version is not None:
97
+ pulumi.set(__self__, "origin_version", origin_version)
98
+ if site_id is not None:
99
+ pulumi.set(__self__, "site_id", site_id)
100
+ if site_version is not None:
101
+ pulumi.set(__self__, "site_version", site_version)
102
+ if status is not None:
103
+ pulumi.set(__self__, "status", status)
104
+
105
+ @property
106
+ @pulumi.getter(name="createTime")
107
+ def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
108
+ """
109
+ The creation time. The date format follows ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
110
+ """
111
+ return pulumi.get(self, "create_time")
112
+
113
+ @create_time.setter
114
+ def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
115
+ pulumi.set(self, "create_time", value)
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
120
+ """
121
+ The Site version's description.
122
+ """
123
+ return pulumi.get(self, "description")
124
+
125
+ @description.setter
126
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
127
+ pulumi.set(self, "description", value)
128
+
129
+ @property
130
+ @pulumi.getter(name="originVersion")
131
+ def origin_version(self) -> Optional[pulumi.Input[builtins.int]]:
132
+ """
133
+ The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
134
+ """
135
+ return pulumi.get(self, "origin_version")
136
+
137
+ @origin_version.setter
138
+ def origin_version(self, value: Optional[pulumi.Input[builtins.int]]):
139
+ pulumi.set(self, "origin_version", value)
140
+
141
+ @property
142
+ @pulumi.getter(name="siteId")
143
+ def site_id(self) -> Optional[pulumi.Input[builtins.int]]:
144
+ """
145
+ The site ID, which can be obtained by calling the ListSites API.
146
+ """
147
+ return pulumi.get(self, "site_id")
148
+
149
+ @site_id.setter
150
+ def site_id(self, value: Optional[pulumi.Input[builtins.int]]):
151
+ pulumi.set(self, "site_id", value)
152
+
153
+ @property
154
+ @pulumi.getter(name="siteVersion")
155
+ def site_version(self) -> Optional[pulumi.Input[builtins.int]]:
156
+ """
157
+ The version number of the site configuration.
158
+ """
159
+ return pulumi.get(self, "site_version")
160
+
161
+ @site_version.setter
162
+ def site_version(self, value: Optional[pulumi.Input[builtins.int]]):
163
+ pulumi.set(self, "site_version", value)
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def status(self) -> Optional[pulumi.Input[builtins.str]]:
168
+ """
169
+ Site version status::`online`.:`configuring`._faild`:`configure_faild`.
170
+ """
171
+ return pulumi.get(self, "status")
172
+
173
+ @status.setter
174
+ def status(self, value: Optional[pulumi.Input[builtins.str]]):
175
+ pulumi.set(self, "status", value)
176
+
177
+
178
+ @pulumi.type_token("alicloud:esa/version:Version")
179
+ class Version(pulumi.CustomResource):
180
+ @overload
181
+ def __init__(__self__,
182
+ resource_name: str,
183
+ opts: Optional[pulumi.ResourceOptions] = None,
184
+ description: Optional[pulumi.Input[builtins.str]] = None,
185
+ origin_version: Optional[pulumi.Input[builtins.int]] = None,
186
+ site_id: Optional[pulumi.Input[builtins.int]] = None,
187
+ __props__=None):
188
+ """
189
+ Provides a ESA Site Version resource.
190
+
191
+ For information about ESA Site Version and how to use it, see [What is Site Version](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CloneVersion).
192
+
193
+ > **NOTE:** Available since v1.251.0.
194
+
195
+ ## Example Usage
196
+
197
+ Basic Usage
198
+
199
+ ```python
200
+ import pulumi
201
+ import pulumi_alicloud as alicloud
202
+
203
+ config = pulumi.Config()
204
+ name = config.get("name")
205
+ if name is None:
206
+ name = "bcd72239.com"
207
+ default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
208
+ default_site = alicloud.esa.Site("default",
209
+ site_name=name,
210
+ instance_id=default.sites[0].instance_id,
211
+ coverage="overseas",
212
+ access_type="NS",
213
+ version_management=True)
214
+ default_version = alicloud.esa.Version("default",
215
+ site_id=default_site.id,
216
+ description="example",
217
+ origin_version=0)
218
+ ```
219
+
220
+ ## Import
221
+
222
+ ESA Site Version can be imported using the id, e.g.
223
+
224
+ ```sh
225
+ $ pulumi import alicloud:esa/version:Version example <site_id>:<site_version>
226
+ ```
227
+
228
+ :param str resource_name: The name of the resource.
229
+ :param pulumi.ResourceOptions opts: Options for the resource.
230
+ :param pulumi.Input[builtins.str] description: The Site version's description.
231
+ :param pulumi.Input[builtins.int] origin_version: The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
232
+ :param pulumi.Input[builtins.int] site_id: The site ID, which can be obtained by calling the ListSites API.
233
+ """
234
+ ...
235
+ @overload
236
+ def __init__(__self__,
237
+ resource_name: str,
238
+ args: VersionArgs,
239
+ opts: Optional[pulumi.ResourceOptions] = None):
240
+ """
241
+ Provides a ESA Site Version resource.
242
+
243
+ For information about ESA Site Version and how to use it, see [What is Site Version](https://next.api.alibabacloud.com/document/ESA/2024-09-10/CloneVersion).
244
+
245
+ > **NOTE:** Available since v1.251.0.
246
+
247
+ ## Example Usage
248
+
249
+ Basic Usage
250
+
251
+ ```python
252
+ import pulumi
253
+ import pulumi_alicloud as alicloud
254
+
255
+ config = pulumi.Config()
256
+ name = config.get("name")
257
+ if name is None:
258
+ name = "bcd72239.com"
259
+ default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
260
+ default_site = alicloud.esa.Site("default",
261
+ site_name=name,
262
+ instance_id=default.sites[0].instance_id,
263
+ coverage="overseas",
264
+ access_type="NS",
265
+ version_management=True)
266
+ default_version = alicloud.esa.Version("default",
267
+ site_id=default_site.id,
268
+ description="example",
269
+ origin_version=0)
270
+ ```
271
+
272
+ ## Import
273
+
274
+ ESA Site Version can be imported using the id, e.g.
275
+
276
+ ```sh
277
+ $ pulumi import alicloud:esa/version:Version example <site_id>:<site_version>
278
+ ```
279
+
280
+ :param str resource_name: The name of the resource.
281
+ :param VersionArgs args: The arguments to use to populate this resource's properties.
282
+ :param pulumi.ResourceOptions opts: Options for the resource.
283
+ """
284
+ ...
285
+ def __init__(__self__, resource_name: str, *args, **kwargs):
286
+ resource_args, opts = _utilities.get_resource_args_opts(VersionArgs, pulumi.ResourceOptions, *args, **kwargs)
287
+ if resource_args is not None:
288
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
289
+ else:
290
+ __self__._internal_init(resource_name, *args, **kwargs)
291
+
292
+ def _internal_init(__self__,
293
+ resource_name: str,
294
+ opts: Optional[pulumi.ResourceOptions] = None,
295
+ description: Optional[pulumi.Input[builtins.str]] = None,
296
+ origin_version: Optional[pulumi.Input[builtins.int]] = None,
297
+ site_id: Optional[pulumi.Input[builtins.int]] = None,
298
+ __props__=None):
299
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
300
+ if not isinstance(opts, pulumi.ResourceOptions):
301
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
302
+ if opts.id is None:
303
+ if __props__ is not None:
304
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
305
+ __props__ = VersionArgs.__new__(VersionArgs)
306
+
307
+ __props__.__dict__["description"] = description
308
+ if origin_version is None and not opts.urn:
309
+ raise TypeError("Missing required property 'origin_version'")
310
+ __props__.__dict__["origin_version"] = origin_version
311
+ if site_id is None and not opts.urn:
312
+ raise TypeError("Missing required property 'site_id'")
313
+ __props__.__dict__["site_id"] = site_id
314
+ __props__.__dict__["create_time"] = None
315
+ __props__.__dict__["site_version"] = None
316
+ __props__.__dict__["status"] = None
317
+ super(Version, __self__).__init__(
318
+ 'alicloud:esa/version:Version',
319
+ resource_name,
320
+ __props__,
321
+ opts)
322
+
323
+ @staticmethod
324
+ def get(resource_name: str,
325
+ id: pulumi.Input[str],
326
+ opts: Optional[pulumi.ResourceOptions] = None,
327
+ create_time: Optional[pulumi.Input[builtins.str]] = None,
328
+ description: Optional[pulumi.Input[builtins.str]] = None,
329
+ origin_version: Optional[pulumi.Input[builtins.int]] = None,
330
+ site_id: Optional[pulumi.Input[builtins.int]] = None,
331
+ site_version: Optional[pulumi.Input[builtins.int]] = None,
332
+ status: Optional[pulumi.Input[builtins.str]] = None) -> 'Version':
333
+ """
334
+ Get an existing Version resource's state with the given name, id, and optional extra
335
+ properties used to qualify the lookup.
336
+
337
+ :param str resource_name: The unique name of the resulting resource.
338
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
339
+ :param pulumi.ResourceOptions opts: Options for the resource.
340
+ :param pulumi.Input[builtins.str] create_time: The creation time. The date format follows ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
341
+ :param pulumi.Input[builtins.str] description: The Site version's description.
342
+ :param pulumi.Input[builtins.int] origin_version: The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
343
+ :param pulumi.Input[builtins.int] site_id: The site ID, which can be obtained by calling the ListSites API.
344
+ :param pulumi.Input[builtins.int] site_version: The version number of the site configuration.
345
+ :param pulumi.Input[builtins.str] status: Site version status::`online`.:`configuring`._faild`:`configure_faild`.
346
+ """
347
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
348
+
349
+ __props__ = _VersionState.__new__(_VersionState)
350
+
351
+ __props__.__dict__["create_time"] = create_time
352
+ __props__.__dict__["description"] = description
353
+ __props__.__dict__["origin_version"] = origin_version
354
+ __props__.__dict__["site_id"] = site_id
355
+ __props__.__dict__["site_version"] = site_version
356
+ __props__.__dict__["status"] = status
357
+ return Version(resource_name, opts=opts, __props__=__props__)
358
+
359
+ @property
360
+ @pulumi.getter(name="createTime")
361
+ def create_time(self) -> pulumi.Output[builtins.str]:
362
+ """
363
+ The creation time. The date format follows ISO8601 notation and uses UTC time. The format is yyyy-MM-ddTHH:mm:ssZ.
364
+ """
365
+ return pulumi.get(self, "create_time")
366
+
367
+ @property
368
+ @pulumi.getter
369
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
370
+ """
371
+ The Site version's description.
372
+ """
373
+ return pulumi.get(self, "description")
374
+
375
+ @property
376
+ @pulumi.getter(name="originVersion")
377
+ def origin_version(self) -> pulumi.Output[builtins.int]:
378
+ """
379
+ The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
380
+ """
381
+ return pulumi.get(self, "origin_version")
382
+
383
+ @property
384
+ @pulumi.getter(name="siteId")
385
+ def site_id(self) -> pulumi.Output[builtins.int]:
386
+ """
387
+ The site ID, which can be obtained by calling the ListSites API.
388
+ """
389
+ return pulumi.get(self, "site_id")
390
+
391
+ @property
392
+ @pulumi.getter(name="siteVersion")
393
+ def site_version(self) -> pulumi.Output[builtins.int]:
394
+ """
395
+ The version number of the site configuration.
396
+ """
397
+ return pulumi.get(self, "site_version")
398
+
399
+ @property
400
+ @pulumi.getter
401
+ def status(self) -> pulumi.Output[builtins.str]:
402
+ """
403
+ Site version status::`online`.:`configuring`._faild`:`configure_faild`.
404
+ """
405
+ return pulumi.get(self, "status")
406
+
@@ -23,9 +23,7 @@ class ServiceLinkedRoleArgs:
23
23
  product_name: pulumi.Input[builtins.str]):
24
24
  """
25
25
  The set of arguments for constructing a ServiceLinkedRole resource.
26
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
27
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
28
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
26
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
29
27
  """
30
28
  pulumi.set(__self__, "product_name", product_name)
31
29
 
@@ -33,9 +31,7 @@ class ServiceLinkedRoleArgs:
33
31
  @pulumi.getter(name="productName")
34
32
  def product_name(self) -> pulumi.Input[builtins.str]:
35
33
  """
36
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
37
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
38
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
34
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
39
35
  """
40
36
  return pulumi.get(self, "product_name")
41
37
 
@@ -50,9 +46,7 @@ class _ServiceLinkedRoleState:
50
46
  product_name: Optional[pulumi.Input[builtins.str]] = None):
51
47
  """
52
48
  Input properties used for looking up and filtering ServiceLinkedRole resources.
53
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
54
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
55
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
49
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
56
50
  """
57
51
  if product_name is not None:
58
52
  pulumi.set(__self__, "product_name", product_name)
@@ -61,9 +55,7 @@ class _ServiceLinkedRoleState:
61
55
  @pulumi.getter(name="productName")
62
56
  def product_name(self) -> Optional[pulumi.Input[builtins.str]]:
63
57
  """
64
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
65
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
66
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
58
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
67
59
  """
68
60
  return pulumi.get(self, "product_name")
69
61
 
@@ -81,24 +73,28 @@ class ServiceLinkedRole(pulumi.CustomResource):
81
73
  product_name: Optional[pulumi.Input[builtins.str]] = None,
82
74
  __props__=None):
83
75
  """
84
- Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
76
+ Provides a Event Bridge Service Linked Role resource.
85
77
 
86
- For information about Event Bridge service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
78
+ For information about Event Bridge Service Linked Role and how to use it, see [What is Service Linked Role](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
87
79
 
88
- > **NOTE:** Available in v1.129.0+. After the version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
80
+ > **NOTE:** Available since v1.129.0.
81
+
82
+ > **NOTE:** From version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
89
83
 
90
84
  ## Example Usage
91
85
 
86
+ Basic Usage
87
+
92
88
  ```python
93
89
  import pulumi
94
90
  import pulumi_alicloud as alicloud
95
91
 
96
- service_linked_role = alicloud.eventbridge.ServiceLinkedRole("service_linked_role", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
92
+ default = alicloud.eventbridge.ServiceLinkedRole("default", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
97
93
  ```
98
94
 
99
95
  ## Import
100
96
 
101
- Event Bridge service-linked roles(SLR) can be imported using the id, e.g.
97
+ Event Bridge Service Linked Role can be imported using the id, e.g.
102
98
 
103
99
  ```sh
104
100
  $ pulumi import alicloud:eventbridge/serviceLinkedRole:ServiceLinkedRole example <product_name>
@@ -106,9 +102,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
106
102
 
107
103
  :param str resource_name: The name of the resource.
108
104
  :param pulumi.ResourceOptions opts: Options for the resource.
109
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
110
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
111
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
105
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
112
106
  """
113
107
  ...
114
108
  @overload
@@ -117,24 +111,28 @@ class ServiceLinkedRole(pulumi.CustomResource):
117
111
  args: ServiceLinkedRoleArgs,
118
112
  opts: Optional[pulumi.ResourceOptions] = None):
119
113
  """
120
- Using this data source can create Event Bridge service-linked roles(SLR). EventBridge may need to access another Alibaba Cloud service to implement a specific feature. In this case, EventBridge must assume a specific service-linked role, which is a Resource Access Management (RAM) role, to obtain permissions to access another Alibaba Cloud service.
114
+ Provides a Event Bridge Service Linked Role resource.
121
115
 
122
- For information about Event Bridge service-linked roles(SLR) and how to use it, see [What is service-linked roles](https://www.alibabacloud.com/help/doc-detail/181425.htm).
116
+ For information about Event Bridge Service Linked Role and how to use it, see [What is Service Linked Role](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
123
117
 
124
- > **NOTE:** Available in v1.129.0+. After the version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
118
+ > **NOTE:** Available since v1.129.0.
119
+
120
+ > **NOTE:** From version 1.142.0, the resource is renamed as `eventbridge.ServiceLinkedRole`.
125
121
 
126
122
  ## Example Usage
127
123
 
124
+ Basic Usage
125
+
128
126
  ```python
129
127
  import pulumi
130
128
  import pulumi_alicloud as alicloud
131
129
 
132
- service_linked_role = alicloud.eventbridge.ServiceLinkedRole("service_linked_role", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
130
+ default = alicloud.eventbridge.ServiceLinkedRole("default", product_name="AliyunServiceRoleForEventBridgeSourceRocketMQ")
133
131
  ```
134
132
 
135
133
  ## Import
136
134
 
137
- Event Bridge service-linked roles(SLR) can be imported using the id, e.g.
135
+ Event Bridge Service Linked Role can be imported using the id, e.g.
138
136
 
139
137
  ```sh
140
138
  $ pulumi import alicloud:eventbridge/serviceLinkedRole:ServiceLinkedRole example <product_name>
@@ -186,9 +184,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
186
184
  :param str resource_name: The unique name of the resulting resource.
187
185
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
188
186
  :param pulumi.ResourceOptions opts: Options for the resource.
189
- :param pulumi.Input[builtins.str] product_name: The product name for SLR. EventBridge can automatically create the following service-linked roles:
190
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
191
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
187
+ :param pulumi.Input[builtins.str] product_name: The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
192
188
  """
193
189
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
194
190
 
@@ -201,9 +197,7 @@ class ServiceLinkedRole(pulumi.CustomResource):
201
197
  @pulumi.getter(name="productName")
202
198
  def product_name(self) -> pulumi.Output[builtins.str]:
203
199
  """
204
- The product name for SLR. EventBridge can automatically create the following service-linked roles:
205
- Event source related: `AliyunServiceRoleForEventBridgeSendToMNS`,`AliyunServiceRoleForEventBridgeSourceRocketMQ`, `AliyunServiceRoleForEventBridgeSourceActionTrail`, `AliyunServiceRoleForEventBridgeSourceRabbitMQ`
206
- Target related: `AliyunServiceRoleForEventBridgeConnectVPC`, `AliyunServiceRoleForEventBridgeSendToFC`, `AliyunServiceRoleForEventBridgeSendToSMS`, `AliyunServiceRoleForEventBridgeSendToDirectMail`, `AliyunServiceRoleForEventBridgeSendToRabbitMQ`, `AliyunServiceRoleForEventBridgeSendToRocketMQ`
200
+ The name of the cloud service or the name of the service-linked role with which the cloud service is associated. For more information, see [How to use it](https://www.alibabacloud.com/help/en/eventbridge/developer-reference/api-eventbridge-2020-04-01-createservicelinkedroleforproduct).
207
201
  """
208
202
  return pulumi.get(self, "product_name")
209
203
 
@@ -289,7 +289,7 @@ class ForwardingRule(pulumi.CustomResource):
289
289
  region = "cn-hangzhou"
290
290
  name = config.get("name")
291
291
  if name is None:
292
- name = "tf-example"
292
+ name = "terraform-example"
293
293
  default = alicloud.get_regions(current=True)
294
294
  example = alicloud.ga.Accelerator("example",
295
295
  duration=3,
@@ -422,7 +422,7 @@ class ForwardingRule(pulumi.CustomResource):
422
422
  region = "cn-hangzhou"
423
423
  name = config.get("name")
424
424
  if name is None:
425
- name = "tf-example"
425
+ name = "terraform-example"
426
426
  default = alicloud.get_regions(current=True)
427
427
  example = alicloud.ga.Accelerator("example",
428
428
  duration=3,