pulumi-alicloud 3.88.0a1761582647__py3-none-any.whl → 3.88.0a1761969289__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 (66) hide show
  1. pulumi_alicloud/__init__.py +59 -0
  2. pulumi_alicloud/cfg/_inputs.py +27 -24
  3. pulumi_alicloud/cfg/aggregator.py +142 -53
  4. pulumi_alicloud/cfg/outputs.py +18 -15
  5. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  6. pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
  7. pulumi_alicloud/cloudfirewall/outputs.py +30 -0
  8. pulumi_alicloud/cms/_inputs.py +870 -10
  9. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  10. pulumi_alicloud/cms/outputs.py +606 -6
  11. pulumi_alicloud/cms/site_monitor.py +360 -89
  12. pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
  13. pulumi_alicloud/dts/instance.py +14 -14
  14. pulumi_alicloud/eci/container_group.py +47 -0
  15. pulumi_alicloud/ecs/security_group_rule.py +7 -7
  16. pulumi_alicloud/ens/load_balancer.py +8 -4
  17. pulumi_alicloud/esa/__init__.py +1 -0
  18. pulumi_alicloud/esa/_inputs.py +611 -0
  19. pulumi_alicloud/esa/cache_rule.py +47 -0
  20. pulumi_alicloud/esa/certificate.py +21 -54
  21. pulumi_alicloud/esa/compression_rule.py +47 -0
  22. pulumi_alicloud/esa/load_balancer.py +999 -0
  23. pulumi_alicloud/esa/outputs.py +469 -0
  24. pulumi_alicloud/eventbridge/event_source.py +57 -57
  25. pulumi_alicloud/ga/_inputs.py +56 -16
  26. pulumi_alicloud/ga/outputs.py +39 -11
  27. pulumi_alicloud/lindorm/instance_v2.py +358 -70
  28. pulumi_alicloud/oss/_inputs.py +53 -0
  29. pulumi_alicloud/oss/bucket_logging.py +80 -29
  30. pulumi_alicloud/oss/bucket_replication.py +55 -8
  31. pulumi_alicloud/oss/outputs.py +31 -0
  32. pulumi_alicloud/polardb/__init__.py +2 -0
  33. pulumi_alicloud/polardb/cluster.py +14 -14
  34. pulumi_alicloud/polardb/zonal_account.py +449 -0
  35. pulumi_alicloud/polardb/zonal_db_cluster.py +2 -2
  36. pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
  37. pulumi_alicloud/pulumi-plugin.json +1 -1
  38. pulumi_alicloud/ram/policy.py +2 -2
  39. pulumi_alicloud/resourcemanager/__init__.py +2 -0
  40. pulumi_alicloud/resourcemanager/_inputs.py +745 -0
  41. pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
  42. pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
  43. pulumi_alicloud/resourcemanager/outputs.py +643 -0
  44. pulumi_alicloud/sae/_inputs.py +60 -0
  45. pulumi_alicloud/sae/application.py +1 -1
  46. pulumi_alicloud/sae/outputs.py +42 -0
  47. pulumi_alicloud/sls/__init__.py +1 -0
  48. pulumi_alicloud/sls/get_indexs.py +304 -0
  49. pulumi_alicloud/sls/outputs.py +148 -0
  50. pulumi_alicloud/star_rocks_instance.py +8 -2
  51. pulumi_alicloud/starrocks/__init__.py +12 -0
  52. pulumi_alicloud/starrocks/_inputs.py +656 -0
  53. pulumi_alicloud/starrocks/instance.py +1427 -0
  54. pulumi_alicloud/starrocks/node_group.py +1298 -0
  55. pulumi_alicloud/starrocks/outputs.py +508 -0
  56. pulumi_alicloud/vpc/_inputs.py +84 -0
  57. pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
  58. pulumi_alicloud/vpc/network_acl_entries.py +16 -20
  59. pulumi_alicloud/vpc/outputs.py +48 -0
  60. pulumi_alicloud/wafv3/_inputs.py +396 -0
  61. pulumi_alicloud/wafv3/defense_rule.py +40 -110
  62. pulumi_alicloud/wafv3/outputs.py +303 -0
  63. {pulumi_alicloud-3.88.0a1761582647.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/METADATA +1 -1
  64. {pulumi_alicloud-3.88.0a1761582647.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/RECORD +66 -54
  65. {pulumi_alicloud-3.88.0a1761582647.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/WHEEL +0 -0
  66. {pulumi_alicloud-3.88.0a1761582647.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/top_level.txt +0 -0
@@ -57,6 +57,8 @@ __all__ = [
57
57
  'BucketReplicationPrefixSetArgsDict',
58
58
  'BucketReplicationProgressArgs',
59
59
  'BucketReplicationProgressArgsDict',
60
+ 'BucketReplicationRtcArgs',
61
+ 'BucketReplicationRtcArgsDict',
60
62
  'BucketReplicationSourceSelectionCriteriaArgs',
61
63
  'BucketReplicationSourceSelectionCriteriaArgsDict',
62
64
  'BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgs',
@@ -1693,6 +1695,57 @@ class BucketReplicationProgressArgs:
1693
1695
  pulumi.set(self, "new_object", value)
1694
1696
 
1695
1697
 
1698
+ if not MYPY:
1699
+ class BucketReplicationRtcArgsDict(TypedDict):
1700
+ enabled: pulumi.Input[_builtins.bool]
1701
+ """
1702
+ Specifies whether to enable the RTC feature. Set to `true` to enable or `false` to disable. This argument is required when the rtc block is defined.
1703
+ """
1704
+ status: NotRequired[pulumi.Input[_builtins.str]]
1705
+ """
1706
+ The current status of the RTC feature. This attribute is read-only and is only populated when `enabled` is set to `true`. Possible values are:
1707
+ """
1708
+ elif False:
1709
+ BucketReplicationRtcArgsDict: TypeAlias = Mapping[str, Any]
1710
+
1711
+ @pulumi.input_type
1712
+ class BucketReplicationRtcArgs:
1713
+ def __init__(__self__, *,
1714
+ enabled: pulumi.Input[_builtins.bool],
1715
+ status: Optional[pulumi.Input[_builtins.str]] = None):
1716
+ """
1717
+ :param pulumi.Input[_builtins.bool] enabled: Specifies whether to enable the RTC feature. Set to `true` to enable or `false` to disable. This argument is required when the rtc block is defined.
1718
+ :param pulumi.Input[_builtins.str] status: The current status of the RTC feature. This attribute is read-only and is only populated when `enabled` is set to `true`. Possible values are:
1719
+ """
1720
+ pulumi.set(__self__, "enabled", enabled)
1721
+ if status is not None:
1722
+ pulumi.set(__self__, "status", status)
1723
+
1724
+ @_builtins.property
1725
+ @pulumi.getter
1726
+ def enabled(self) -> pulumi.Input[_builtins.bool]:
1727
+ """
1728
+ Specifies whether to enable the RTC feature. Set to `true` to enable or `false` to disable. This argument is required when the rtc block is defined.
1729
+ """
1730
+ return pulumi.get(self, "enabled")
1731
+
1732
+ @enabled.setter
1733
+ def enabled(self, value: pulumi.Input[_builtins.bool]):
1734
+ pulumi.set(self, "enabled", value)
1735
+
1736
+ @_builtins.property
1737
+ @pulumi.getter
1738
+ def status(self) -> Optional[pulumi.Input[_builtins.str]]:
1739
+ """
1740
+ The current status of the RTC feature. This attribute is read-only and is only populated when `enabled` is set to `true`. Possible values are:
1741
+ """
1742
+ return pulumi.get(self, "status")
1743
+
1744
+ @status.setter
1745
+ def status(self, value: Optional[pulumi.Input[_builtins.str]]):
1746
+ pulumi.set(self, "status", value)
1747
+
1748
+
1696
1749
  if not MYPY:
1697
1750
  class BucketReplicationSourceSelectionCriteriaArgsDict(TypedDict):
1698
1751
  sse_kms_encrypted_objects: NotRequired[pulumi.Input['BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjectsArgsDict']]
@@ -21,15 +21,19 @@ class BucketLoggingInitArgs:
21
21
  def __init__(__self__, *,
22
22
  bucket: pulumi.Input[_builtins.str],
23
23
  target_bucket: pulumi.Input[_builtins.str],
24
+ logging_role: Optional[pulumi.Input[_builtins.str]] = None,
24
25
  target_prefix: Optional[pulumi.Input[_builtins.str]] = None):
25
26
  """
26
27
  The set of arguments for constructing a BucketLogging resource.
27
- :param pulumi.Input[_builtins.str] bucket: The name of the bucket.
28
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket
28
29
  :param pulumi.Input[_builtins.str] target_bucket: The bucket that stores access logs.
30
+ :param pulumi.Input[_builtins.str] logging_role: Authorization role used for bucket logging
29
31
  :param pulumi.Input[_builtins.str] target_prefix: The prefix of the saved log objects. This element can be left empty.
30
32
  """
31
33
  pulumi.set(__self__, "bucket", bucket)
32
34
  pulumi.set(__self__, "target_bucket", target_bucket)
35
+ if logging_role is not None:
36
+ pulumi.set(__self__, "logging_role", logging_role)
33
37
  if target_prefix is not None:
34
38
  pulumi.set(__self__, "target_prefix", target_prefix)
35
39
 
@@ -37,7 +41,7 @@ class BucketLoggingInitArgs:
37
41
  @pulumi.getter
38
42
  def bucket(self) -> pulumi.Input[_builtins.str]:
39
43
  """
40
- The name of the bucket.
44
+ The name of the bucket
41
45
  """
42
46
  return pulumi.get(self, "bucket")
43
47
 
@@ -57,6 +61,18 @@ class BucketLoggingInitArgs:
57
61
  def target_bucket(self, value: pulumi.Input[_builtins.str]):
58
62
  pulumi.set(self, "target_bucket", value)
59
63
 
64
+ @_builtins.property
65
+ @pulumi.getter(name="loggingRole")
66
+ def logging_role(self) -> Optional[pulumi.Input[_builtins.str]]:
67
+ """
68
+ Authorization role used for bucket logging
69
+ """
70
+ return pulumi.get(self, "logging_role")
71
+
72
+ @logging_role.setter
73
+ def logging_role(self, value: Optional[pulumi.Input[_builtins.str]]):
74
+ pulumi.set(self, "logging_role", value)
75
+
60
76
  @_builtins.property
61
77
  @pulumi.getter(name="targetPrefix")
62
78
  def target_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -74,16 +90,20 @@ class BucketLoggingInitArgs:
74
90
  class _BucketLoggingState:
75
91
  def __init__(__self__, *,
76
92
  bucket: Optional[pulumi.Input[_builtins.str]] = None,
93
+ logging_role: Optional[pulumi.Input[_builtins.str]] = None,
77
94
  target_bucket: Optional[pulumi.Input[_builtins.str]] = None,
78
95
  target_prefix: Optional[pulumi.Input[_builtins.str]] = None):
79
96
  """
80
97
  Input properties used for looking up and filtering BucketLogging resources.
81
- :param pulumi.Input[_builtins.str] bucket: The name of the bucket.
98
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket
99
+ :param pulumi.Input[_builtins.str] logging_role: Authorization role used for bucket logging
82
100
  :param pulumi.Input[_builtins.str] target_bucket: The bucket that stores access logs.
83
101
  :param pulumi.Input[_builtins.str] target_prefix: The prefix of the saved log objects. This element can be left empty.
84
102
  """
85
103
  if bucket is not None:
86
104
  pulumi.set(__self__, "bucket", bucket)
105
+ if logging_role is not None:
106
+ pulumi.set(__self__, "logging_role", logging_role)
87
107
  if target_bucket is not None:
88
108
  pulumi.set(__self__, "target_bucket", target_bucket)
89
109
  if target_prefix is not None:
@@ -93,7 +113,7 @@ class _BucketLoggingState:
93
113
  @pulumi.getter
94
114
  def bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
95
115
  """
96
- The name of the bucket.
116
+ The name of the bucket
97
117
  """
98
118
  return pulumi.get(self, "bucket")
99
119
 
@@ -101,6 +121,18 @@ class _BucketLoggingState:
101
121
  def bucket(self, value: Optional[pulumi.Input[_builtins.str]]):
102
122
  pulumi.set(self, "bucket", value)
103
123
 
124
+ @_builtins.property
125
+ @pulumi.getter(name="loggingRole")
126
+ def logging_role(self) -> Optional[pulumi.Input[_builtins.str]]:
127
+ """
128
+ Authorization role used for bucket logging
129
+ """
130
+ return pulumi.get(self, "logging_role")
131
+
132
+ @logging_role.setter
133
+ def logging_role(self, value: Optional[pulumi.Input[_builtins.str]]):
134
+ pulumi.set(self, "logging_role", value)
135
+
104
136
  @_builtins.property
105
137
  @pulumi.getter(name="targetBucket")
106
138
  def target_bucket(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -133,13 +165,16 @@ class BucketLogging(pulumi.CustomResource):
133
165
  resource_name: str,
134
166
  opts: Optional[pulumi.ResourceOptions] = None,
135
167
  bucket: Optional[pulumi.Input[_builtins.str]] = None,
168
+ logging_role: Optional[pulumi.Input[_builtins.str]] = None,
136
169
  target_bucket: Optional[pulumi.Input[_builtins.str]] = None,
137
170
  target_prefix: Optional[pulumi.Input[_builtins.str]] = None,
138
171
  __props__=None):
139
172
  """
140
- Provides a OSS Bucket Logging resource. After you enable and configure logging for a bucket, Object Storage Service (OSS) generates log objects based on a predefined naming convention. This way, access logs are generated and stored in the specified bucket on an hourly basis.
173
+ Provides a OSS Bucket Logging resource.
174
+
175
+ After you enable and configure logging for a bucket, Object Storage Service (OSS) generates log objects based on a predefined naming convention. This way, access logs are generated and stored in the specified bucket on an hourly basis.
141
176
 
142
- For information about OSS Bucket Logging and how to use it, see [What is Bucket Logging](https://www.alibabacloud.com/help/en/oss/developer-reference/putbucketlogging).
177
+ For information about OSS Bucket Logging and how to use it, see [What is Bucket Logging](https://next.api.alibabacloud.com/document/Oss/2019-05-17/PutBucketLogging).
143
178
 
144
179
  > **NOTE:** Available since v1.222.0.
145
180
 
@@ -150,22 +185,22 @@ class BucketLogging(pulumi.CustomResource):
150
185
  ```python
151
186
  import pulumi
152
187
  import pulumi_alicloud as alicloud
153
- import pulumi_random as random
154
188
 
155
189
  config = pulumi.Config()
156
190
  name = config.get("name")
157
191
  if name is None:
158
192
  name = "terraform-example"
159
- default = random.index.Integer("default",
160
- min=10000,
161
- max=99999)
162
193
  create_bucket = alicloud.oss.Bucket("CreateBucket",
163
194
  storage_class="Standard",
164
- bucket=f"{name}-{default['result']}")
165
- default_bucket_logging = alicloud.oss.BucketLogging("default",
166
- bucket=create_bucket.bucket,
167
- target_bucket=create_bucket.bucket,
168
- target_prefix="log/")
195
+ bucket="resource-example-logging-806")
196
+ create_logging_bucket = alicloud.oss.Bucket("CreateLoggingBucket",
197
+ storage_class="Standard",
198
+ bucket="resource-example-logging-153")
199
+ default = alicloud.oss.BucketLogging("default",
200
+ bucket=create_bucket.id,
201
+ target_bucket=create_bucket.id,
202
+ target_prefix="log/",
203
+ logging_role="example-role")
169
204
  ```
170
205
 
171
206
  ## Import
@@ -178,7 +213,8 @@ class BucketLogging(pulumi.CustomResource):
178
213
 
179
214
  :param str resource_name: The name of the resource.
180
215
  :param pulumi.ResourceOptions opts: Options for the resource.
181
- :param pulumi.Input[_builtins.str] bucket: The name of the bucket.
216
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket
217
+ :param pulumi.Input[_builtins.str] logging_role: Authorization role used for bucket logging
182
218
  :param pulumi.Input[_builtins.str] target_bucket: The bucket that stores access logs.
183
219
  :param pulumi.Input[_builtins.str] target_prefix: The prefix of the saved log objects. This element can be left empty.
184
220
  """
@@ -189,9 +225,11 @@ class BucketLogging(pulumi.CustomResource):
189
225
  args: BucketLoggingInitArgs,
190
226
  opts: Optional[pulumi.ResourceOptions] = None):
191
227
  """
192
- Provides a OSS Bucket Logging resource. After you enable and configure logging for a bucket, Object Storage Service (OSS) generates log objects based on a predefined naming convention. This way, access logs are generated and stored in the specified bucket on an hourly basis.
228
+ Provides a OSS Bucket Logging resource.
193
229
 
194
- For information about OSS Bucket Logging and how to use it, see [What is Bucket Logging](https://www.alibabacloud.com/help/en/oss/developer-reference/putbucketlogging).
230
+ After you enable and configure logging for a bucket, Object Storage Service (OSS) generates log objects based on a predefined naming convention. This way, access logs are generated and stored in the specified bucket on an hourly basis.
231
+
232
+ For information about OSS Bucket Logging and how to use it, see [What is Bucket Logging](https://next.api.alibabacloud.com/document/Oss/2019-05-17/PutBucketLogging).
195
233
 
196
234
  > **NOTE:** Available since v1.222.0.
197
235
 
@@ -202,22 +240,22 @@ class BucketLogging(pulumi.CustomResource):
202
240
  ```python
203
241
  import pulumi
204
242
  import pulumi_alicloud as alicloud
205
- import pulumi_random as random
206
243
 
207
244
  config = pulumi.Config()
208
245
  name = config.get("name")
209
246
  if name is None:
210
247
  name = "terraform-example"
211
- default = random.index.Integer("default",
212
- min=10000,
213
- max=99999)
214
248
  create_bucket = alicloud.oss.Bucket("CreateBucket",
215
249
  storage_class="Standard",
216
- bucket=f"{name}-{default['result']}")
217
- default_bucket_logging = alicloud.oss.BucketLogging("default",
218
- bucket=create_bucket.bucket,
219
- target_bucket=create_bucket.bucket,
220
- target_prefix="log/")
250
+ bucket="resource-example-logging-806")
251
+ create_logging_bucket = alicloud.oss.Bucket("CreateLoggingBucket",
252
+ storage_class="Standard",
253
+ bucket="resource-example-logging-153")
254
+ default = alicloud.oss.BucketLogging("default",
255
+ bucket=create_bucket.id,
256
+ target_bucket=create_bucket.id,
257
+ target_prefix="log/",
258
+ logging_role="example-role")
221
259
  ```
222
260
 
223
261
  ## Import
@@ -244,6 +282,7 @@ class BucketLogging(pulumi.CustomResource):
244
282
  resource_name: str,
245
283
  opts: Optional[pulumi.ResourceOptions] = None,
246
284
  bucket: Optional[pulumi.Input[_builtins.str]] = None,
285
+ logging_role: Optional[pulumi.Input[_builtins.str]] = None,
247
286
  target_bucket: Optional[pulumi.Input[_builtins.str]] = None,
248
287
  target_prefix: Optional[pulumi.Input[_builtins.str]] = None,
249
288
  __props__=None):
@@ -258,6 +297,7 @@ class BucketLogging(pulumi.CustomResource):
258
297
  if bucket is None and not opts.urn:
259
298
  raise TypeError("Missing required property 'bucket'")
260
299
  __props__.__dict__["bucket"] = bucket
300
+ __props__.__dict__["logging_role"] = logging_role
261
301
  if target_bucket is None and not opts.urn:
262
302
  raise TypeError("Missing required property 'target_bucket'")
263
303
  __props__.__dict__["target_bucket"] = target_bucket
@@ -273,6 +313,7 @@ class BucketLogging(pulumi.CustomResource):
273
313
  id: pulumi.Input[str],
274
314
  opts: Optional[pulumi.ResourceOptions] = None,
275
315
  bucket: Optional[pulumi.Input[_builtins.str]] = None,
316
+ logging_role: Optional[pulumi.Input[_builtins.str]] = None,
276
317
  target_bucket: Optional[pulumi.Input[_builtins.str]] = None,
277
318
  target_prefix: Optional[pulumi.Input[_builtins.str]] = None) -> 'BucketLogging':
278
319
  """
@@ -282,7 +323,8 @@ class BucketLogging(pulumi.CustomResource):
282
323
  :param str resource_name: The unique name of the resulting resource.
283
324
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
284
325
  :param pulumi.ResourceOptions opts: Options for the resource.
285
- :param pulumi.Input[_builtins.str] bucket: The name of the bucket.
326
+ :param pulumi.Input[_builtins.str] bucket: The name of the bucket
327
+ :param pulumi.Input[_builtins.str] logging_role: Authorization role used for bucket logging
286
328
  :param pulumi.Input[_builtins.str] target_bucket: The bucket that stores access logs.
287
329
  :param pulumi.Input[_builtins.str] target_prefix: The prefix of the saved log objects. This element can be left empty.
288
330
  """
@@ -291,6 +333,7 @@ class BucketLogging(pulumi.CustomResource):
291
333
  __props__ = _BucketLoggingState.__new__(_BucketLoggingState)
292
334
 
293
335
  __props__.__dict__["bucket"] = bucket
336
+ __props__.__dict__["logging_role"] = logging_role
294
337
  __props__.__dict__["target_bucket"] = target_bucket
295
338
  __props__.__dict__["target_prefix"] = target_prefix
296
339
  return BucketLogging(resource_name, opts=opts, __props__=__props__)
@@ -299,10 +342,18 @@ class BucketLogging(pulumi.CustomResource):
299
342
  @pulumi.getter
300
343
  def bucket(self) -> pulumi.Output[_builtins.str]:
301
344
  """
302
- The name of the bucket.
345
+ The name of the bucket
303
346
  """
304
347
  return pulumi.get(self, "bucket")
305
348
 
349
+ @_builtins.property
350
+ @pulumi.getter(name="loggingRole")
351
+ def logging_role(self) -> pulumi.Output[Optional[_builtins.str]]:
352
+ """
353
+ Authorization role used for bucket logging
354
+ """
355
+ return pulumi.get(self, "logging_role")
356
+
306
357
  @_builtins.property
307
358
  @pulumi.getter(name="targetBucket")
308
359
  def target_bucket(self) -> pulumi.Output[_builtins.str]:
@@ -28,6 +28,7 @@ class BucketReplicationArgs:
28
28
  historical_object_replication: Optional[pulumi.Input[_builtins.str]] = None,
29
29
  prefix_set: Optional[pulumi.Input['BucketReplicationPrefixSetArgs']] = None,
30
30
  progress: Optional[pulumi.Input['BucketReplicationProgressArgs']] = None,
31
+ rtc: Optional[pulumi.Input['BucketReplicationRtcArgs']] = None,
31
32
  source_selection_criteria: Optional[pulumi.Input['BucketReplicationSourceSelectionCriteriaArgs']] = None,
32
33
  sync_role: Optional[pulumi.Input[_builtins.str]] = None):
33
34
  """
@@ -39,6 +40,7 @@ class BucketReplicationArgs:
39
40
  :param pulumi.Input[_builtins.str] historical_object_replication: Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
40
41
  :param pulumi.Input['BucketReplicationPrefixSetArgs'] prefix_set: The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket. See `prefix_set` below.
41
42
  :param pulumi.Input['BucketReplicationProgressArgs'] progress: Specifies the progress for querying the progress of a data replication task of a bucket.
43
+ :param pulumi.Input['BucketReplicationRtcArgs'] rtc: Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
42
44
  :param pulumi.Input['BucketReplicationSourceSelectionCriteriaArgs'] source_selection_criteria: Specifies other conditions used to filter the source objects to replicate. See `source_selection_criteria` below.
43
45
  :param pulumi.Input[_builtins.str] sync_role: Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.
44
46
  """
@@ -54,6 +56,8 @@ class BucketReplicationArgs:
54
56
  pulumi.set(__self__, "prefix_set", prefix_set)
55
57
  if progress is not None:
56
58
  pulumi.set(__self__, "progress", progress)
59
+ if rtc is not None:
60
+ pulumi.set(__self__, "rtc", rtc)
57
61
  if source_selection_criteria is not None:
58
62
  pulumi.set(__self__, "source_selection_criteria", source_selection_criteria)
59
63
  if sync_role is not None:
@@ -143,6 +147,18 @@ class BucketReplicationArgs:
143
147
  def progress(self, value: Optional[pulumi.Input['BucketReplicationProgressArgs']]):
144
148
  pulumi.set(self, "progress", value)
145
149
 
150
+ @_builtins.property
151
+ @pulumi.getter
152
+ def rtc(self) -> Optional[pulumi.Input['BucketReplicationRtcArgs']]:
153
+ """
154
+ Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
155
+ """
156
+ return pulumi.get(self, "rtc")
157
+
158
+ @rtc.setter
159
+ def rtc(self, value: Optional[pulumi.Input['BucketReplicationRtcArgs']]):
160
+ pulumi.set(self, "rtc", value)
161
+
146
162
  @_builtins.property
147
163
  @pulumi.getter(name="sourceSelectionCriteria")
148
164
  def source_selection_criteria(self) -> Optional[pulumi.Input['BucketReplicationSourceSelectionCriteriaArgs']]:
@@ -178,6 +194,7 @@ class _BucketReplicationState:
178
194
  historical_object_replication: Optional[pulumi.Input[_builtins.str]] = None,
179
195
  prefix_set: Optional[pulumi.Input['BucketReplicationPrefixSetArgs']] = None,
180
196
  progress: Optional[pulumi.Input['BucketReplicationProgressArgs']] = None,
197
+ rtc: Optional[pulumi.Input['BucketReplicationRtcArgs']] = None,
181
198
  rule_id: Optional[pulumi.Input[_builtins.str]] = None,
182
199
  source_selection_criteria: Optional[pulumi.Input['BucketReplicationSourceSelectionCriteriaArgs']] = None,
183
200
  status: Optional[pulumi.Input[_builtins.str]] = None,
@@ -191,6 +208,7 @@ class _BucketReplicationState:
191
208
  :param pulumi.Input[_builtins.str] historical_object_replication: Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
192
209
  :param pulumi.Input['BucketReplicationPrefixSetArgs'] prefix_set: The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket. See `prefix_set` below.
193
210
  :param pulumi.Input['BucketReplicationProgressArgs'] progress: Specifies the progress for querying the progress of a data replication task of a bucket.
211
+ :param pulumi.Input['BucketReplicationRtcArgs'] rtc: Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
194
212
  :param pulumi.Input[_builtins.str] rule_id: The ID of the data replication rule.
195
213
  :param pulumi.Input['BucketReplicationSourceSelectionCriteriaArgs'] source_selection_criteria: Specifies other conditions used to filter the source objects to replicate. See `source_selection_criteria` below.
196
214
  :param pulumi.Input[_builtins.str] status: The status of the data replication task. Can be starting, doing and closing.
@@ -210,6 +228,8 @@ class _BucketReplicationState:
210
228
  pulumi.set(__self__, "prefix_set", prefix_set)
211
229
  if progress is not None:
212
230
  pulumi.set(__self__, "progress", progress)
231
+ if rtc is not None:
232
+ pulumi.set(__self__, "rtc", rtc)
213
233
  if rule_id is not None:
214
234
  pulumi.set(__self__, "rule_id", rule_id)
215
235
  if source_selection_criteria is not None:
@@ -303,6 +323,18 @@ class _BucketReplicationState:
303
323
  def progress(self, value: Optional[pulumi.Input['BucketReplicationProgressArgs']]):
304
324
  pulumi.set(self, "progress", value)
305
325
 
326
+ @_builtins.property
327
+ @pulumi.getter
328
+ def rtc(self) -> Optional[pulumi.Input['BucketReplicationRtcArgs']]:
329
+ """
330
+ Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
331
+ """
332
+ return pulumi.get(self, "rtc")
333
+
334
+ @rtc.setter
335
+ def rtc(self, value: Optional[pulumi.Input['BucketReplicationRtcArgs']]):
336
+ pulumi.set(self, "rtc", value)
337
+
306
338
  @_builtins.property
307
339
  @pulumi.getter(name="ruleId")
308
340
  def rule_id(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -365,6 +397,7 @@ class BucketReplication(pulumi.CustomResource):
365
397
  historical_object_replication: Optional[pulumi.Input[_builtins.str]] = None,
366
398
  prefix_set: Optional[pulumi.Input[Union['BucketReplicationPrefixSetArgs', 'BucketReplicationPrefixSetArgsDict']]] = None,
367
399
  progress: Optional[pulumi.Input[Union['BucketReplicationProgressArgs', 'BucketReplicationProgressArgsDict']]] = None,
400
+ rtc: Optional[pulumi.Input[Union['BucketReplicationRtcArgs', 'BucketReplicationRtcArgsDict']]] = None,
368
401
  source_selection_criteria: Optional[pulumi.Input[Union['BucketReplicationSourceSelectionCriteriaArgs', 'BucketReplicationSourceSelectionCriteriaArgsDict']]] = None,
369
402
  sync_role: Optional[pulumi.Input[_builtins.str]] = None,
370
403
  __props__=None):
@@ -390,8 +423,8 @@ class BucketReplication(pulumi.CustomResource):
390
423
  bucket_src = alicloud.oss.Bucket("bucket_src", bucket=f"example-src-{default['result']}")
391
424
  bucket_dest = alicloud.oss.Bucket("bucket_dest", bucket=f"example-dest-{default['result']}")
392
425
  role = alicloud.ram.Role("role",
393
- name=f"example-role-{default['result']}",
394
- document=\"\"\"\\t\\t{
426
+ role_name=f"example-role-{default['result']}",
427
+ assume_role_policy_document=\"\"\"\\t\\t{
395
428
  \\t\\t \\"Statement\\": [
396
429
  \\t\\t\\t{
397
430
  \\t\\t\\t \\"Action\\": \\"sts:AssumeRole\\",
@@ -430,7 +463,7 @@ class BucketReplication(pulumi.CustomResource):
430
463
  attach = alicloud.ram.RolePolicyAttachment("attach",
431
464
  policy_name=policy.policy_name,
432
465
  policy_type=policy.type,
433
- role_name=role.name)
466
+ role_name=role.role_name)
434
467
  key = alicloud.kms.Key("key",
435
468
  description="Hello KMS",
436
469
  pending_window_in_days=7,
@@ -449,7 +482,7 @@ class BucketReplication(pulumi.CustomResource):
449
482
  "bucket": bucket_dest.id,
450
483
  "location": bucket_dest.location,
451
484
  },
452
- sync_role=role.name,
485
+ sync_role=role.role_name,
453
486
  encryption_configuration={
454
487
  "replica_kms_key_id": key.id,
455
488
  },
@@ -477,6 +510,7 @@ class BucketReplication(pulumi.CustomResource):
477
510
  :param pulumi.Input[_builtins.str] historical_object_replication: Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
478
511
  :param pulumi.Input[Union['BucketReplicationPrefixSetArgs', 'BucketReplicationPrefixSetArgsDict']] prefix_set: The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket. See `prefix_set` below.
479
512
  :param pulumi.Input[Union['BucketReplicationProgressArgs', 'BucketReplicationProgressArgsDict']] progress: Specifies the progress for querying the progress of a data replication task of a bucket.
513
+ :param pulumi.Input[Union['BucketReplicationRtcArgs', 'BucketReplicationRtcArgsDict']] rtc: Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
480
514
  :param pulumi.Input[Union['BucketReplicationSourceSelectionCriteriaArgs', 'BucketReplicationSourceSelectionCriteriaArgsDict']] source_selection_criteria: Specifies other conditions used to filter the source objects to replicate. See `source_selection_criteria` below.
481
515
  :param pulumi.Input[_builtins.str] sync_role: Specifies the role that you authorize OSS to use to replicate data. If SSE-KMS is specified to encrypt the objects replicated to the destination bucket, it must be specified.
482
516
  """
@@ -508,8 +542,8 @@ class BucketReplication(pulumi.CustomResource):
508
542
  bucket_src = alicloud.oss.Bucket("bucket_src", bucket=f"example-src-{default['result']}")
509
543
  bucket_dest = alicloud.oss.Bucket("bucket_dest", bucket=f"example-dest-{default['result']}")
510
544
  role = alicloud.ram.Role("role",
511
- name=f"example-role-{default['result']}",
512
- document=\"\"\"\\t\\t{
545
+ role_name=f"example-role-{default['result']}",
546
+ assume_role_policy_document=\"\"\"\\t\\t{
513
547
  \\t\\t \\"Statement\\": [
514
548
  \\t\\t\\t{
515
549
  \\t\\t\\t \\"Action\\": \\"sts:AssumeRole\\",
@@ -548,7 +582,7 @@ class BucketReplication(pulumi.CustomResource):
548
582
  attach = alicloud.ram.RolePolicyAttachment("attach",
549
583
  policy_name=policy.policy_name,
550
584
  policy_type=policy.type,
551
- role_name=role.name)
585
+ role_name=role.role_name)
552
586
  key = alicloud.kms.Key("key",
553
587
  description="Hello KMS",
554
588
  pending_window_in_days=7,
@@ -567,7 +601,7 @@ class BucketReplication(pulumi.CustomResource):
567
601
  "bucket": bucket_dest.id,
568
602
  "location": bucket_dest.location,
569
603
  },
570
- sync_role=role.name,
604
+ sync_role=role.role_name,
571
605
  encryption_configuration={
572
606
  "replica_kms_key_id": key.id,
573
607
  },
@@ -608,6 +642,7 @@ class BucketReplication(pulumi.CustomResource):
608
642
  historical_object_replication: Optional[pulumi.Input[_builtins.str]] = None,
609
643
  prefix_set: Optional[pulumi.Input[Union['BucketReplicationPrefixSetArgs', 'BucketReplicationPrefixSetArgsDict']]] = None,
610
644
  progress: Optional[pulumi.Input[Union['BucketReplicationProgressArgs', 'BucketReplicationProgressArgsDict']]] = None,
645
+ rtc: Optional[pulumi.Input[Union['BucketReplicationRtcArgs', 'BucketReplicationRtcArgsDict']]] = None,
611
646
  source_selection_criteria: Optional[pulumi.Input[Union['BucketReplicationSourceSelectionCriteriaArgs', 'BucketReplicationSourceSelectionCriteriaArgsDict']]] = None,
612
647
  sync_role: Optional[pulumi.Input[_builtins.str]] = None,
613
648
  __props__=None):
@@ -630,6 +665,7 @@ class BucketReplication(pulumi.CustomResource):
630
665
  __props__.__dict__["historical_object_replication"] = historical_object_replication
631
666
  __props__.__dict__["prefix_set"] = prefix_set
632
667
  __props__.__dict__["progress"] = progress
668
+ __props__.__dict__["rtc"] = rtc
633
669
  __props__.__dict__["source_selection_criteria"] = source_selection_criteria
634
670
  __props__.__dict__["sync_role"] = sync_role
635
671
  __props__.__dict__["rule_id"] = None
@@ -651,6 +687,7 @@ class BucketReplication(pulumi.CustomResource):
651
687
  historical_object_replication: Optional[pulumi.Input[_builtins.str]] = None,
652
688
  prefix_set: Optional[pulumi.Input[Union['BucketReplicationPrefixSetArgs', 'BucketReplicationPrefixSetArgsDict']]] = None,
653
689
  progress: Optional[pulumi.Input[Union['BucketReplicationProgressArgs', 'BucketReplicationProgressArgsDict']]] = None,
690
+ rtc: Optional[pulumi.Input[Union['BucketReplicationRtcArgs', 'BucketReplicationRtcArgsDict']]] = None,
654
691
  rule_id: Optional[pulumi.Input[_builtins.str]] = None,
655
692
  source_selection_criteria: Optional[pulumi.Input[Union['BucketReplicationSourceSelectionCriteriaArgs', 'BucketReplicationSourceSelectionCriteriaArgsDict']]] = None,
656
693
  status: Optional[pulumi.Input[_builtins.str]] = None,
@@ -669,6 +706,7 @@ class BucketReplication(pulumi.CustomResource):
669
706
  :param pulumi.Input[_builtins.str] historical_object_replication: Specifies whether to replicate historical data from the source bucket to the destination bucket before data replication is enabled. Can be `enabled` or `disabled`. Defaults to `enabled`.
670
707
  :param pulumi.Input[Union['BucketReplicationPrefixSetArgs', 'BucketReplicationPrefixSetArgsDict']] prefix_set: The prefixes used to specify the object to replicate. Only objects that match the prefix are replicated to the destination bucket. See `prefix_set` below.
671
708
  :param pulumi.Input[Union['BucketReplicationProgressArgs', 'BucketReplicationProgressArgsDict']] progress: Specifies the progress for querying the progress of a data replication task of a bucket.
709
+ :param pulumi.Input[Union['BucketReplicationRtcArgs', 'BucketReplicationRtcArgsDict']] rtc: Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
672
710
  :param pulumi.Input[_builtins.str] rule_id: The ID of the data replication rule.
673
711
  :param pulumi.Input[Union['BucketReplicationSourceSelectionCriteriaArgs', 'BucketReplicationSourceSelectionCriteriaArgsDict']] source_selection_criteria: Specifies other conditions used to filter the source objects to replicate. See `source_selection_criteria` below.
674
712
  :param pulumi.Input[_builtins.str] status: The status of the data replication task. Can be starting, doing and closing.
@@ -685,6 +723,7 @@ class BucketReplication(pulumi.CustomResource):
685
723
  __props__.__dict__["historical_object_replication"] = historical_object_replication
686
724
  __props__.__dict__["prefix_set"] = prefix_set
687
725
  __props__.__dict__["progress"] = progress
726
+ __props__.__dict__["rtc"] = rtc
688
727
  __props__.__dict__["rule_id"] = rule_id
689
728
  __props__.__dict__["source_selection_criteria"] = source_selection_criteria
690
729
  __props__.__dict__["status"] = status
@@ -747,6 +786,14 @@ class BucketReplication(pulumi.CustomResource):
747
786
  """
748
787
  return pulumi.get(self, "progress")
749
788
 
789
+ @_builtins.property
790
+ @pulumi.getter
791
+ def rtc(self) -> pulumi.Output['outputs.BucketReplicationRtc']:
792
+ """
793
+ Configures the Replication Time Control (RTC) feature for a data replication task of a bucket. See `rtc` below.
794
+ """
795
+ return pulumi.get(self, "rtc")
796
+
750
797
  @_builtins.property
751
798
  @pulumi.getter(name="ruleId")
752
799
  def rule_id(self) -> pulumi.Output[_builtins.str]:
@@ -37,6 +37,7 @@ __all__ = [
37
37
  'BucketReplicationEncryptionConfiguration',
38
38
  'BucketReplicationPrefixSet',
39
39
  'BucketReplicationProgress',
40
+ 'BucketReplicationRtc',
40
41
  'BucketReplicationSourceSelectionCriteria',
41
42
  'BucketReplicationSourceSelectionCriteriaSseKmsEncryptedObjects',
42
43
  'BucketServerSideEncryptionRule',
@@ -1340,6 +1341,36 @@ class BucketReplicationProgress(dict):
1340
1341
  return pulumi.get(self, "new_object")
1341
1342
 
1342
1343
 
1344
+ @pulumi.output_type
1345
+ class BucketReplicationRtc(dict):
1346
+ def __init__(__self__, *,
1347
+ enabled: _builtins.bool,
1348
+ status: Optional[_builtins.str] = None):
1349
+ """
1350
+ :param _builtins.bool enabled: Specifies whether to enable the RTC feature. Set to `true` to enable or `false` to disable. This argument is required when the rtc block is defined.
1351
+ :param _builtins.str status: The current status of the RTC feature. This attribute is read-only and is only populated when `enabled` is set to `true`. Possible values are:
1352
+ """
1353
+ pulumi.set(__self__, "enabled", enabled)
1354
+ if status is not None:
1355
+ pulumi.set(__self__, "status", status)
1356
+
1357
+ @_builtins.property
1358
+ @pulumi.getter
1359
+ def enabled(self) -> _builtins.bool:
1360
+ """
1361
+ Specifies whether to enable the RTC feature. Set to `true` to enable or `false` to disable. This argument is required when the rtc block is defined.
1362
+ """
1363
+ return pulumi.get(self, "enabled")
1364
+
1365
+ @_builtins.property
1366
+ @pulumi.getter
1367
+ def status(self) -> Optional[_builtins.str]:
1368
+ """
1369
+ The current status of the RTC feature. This attribute is read-only and is only populated when `enabled` is set to `true`. Possible values are:
1370
+ """
1371
+ return pulumi.get(self, "status")
1372
+
1373
+
1343
1374
  @pulumi.output_type
1344
1375
  class BucketReplicationSourceSelectionCriteria(dict):
1345
1376
  @staticmethod
@@ -25,6 +25,8 @@ from .get_zones import *
25
25
  from .global_database_network import *
26
26
  from .parameter_group import *
27
27
  from .primary_endpoint import *
28
+ from .zonal_account import *
28
29
  from .zonal_db_cluster import *
30
+ from .zonal_endpoint import *
29
31
  from ._inputs import *
30
32
  from . import outputs