pulumi-alicloud 3.86.0a1758000634__py3-none-any.whl → 3.86.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (51) hide show
  1. pulumi_alicloud/__init__.py +56 -0
  2. pulumi_alicloud/actiontrail/get_sasl_users.py +106 -21
  3. pulumi_alicloud/actiontrail/outputs.py +18 -0
  4. pulumi_alicloud/alikafka/instance.py +28 -28
  5. pulumi_alicloud/apig/_inputs.py +80 -6
  6. pulumi_alicloud/apig/gateway.py +111 -3
  7. pulumi_alicloud/apig/outputs.py +67 -4
  8. pulumi_alicloud/cas/certificate.py +248 -35
  9. pulumi_alicloud/cas/service_certificate.py +454 -168
  10. pulumi_alicloud/cen/transit_router_vpc_attachment.py +61 -29
  11. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  12. pulumi_alicloud/cloudfirewall/threat_intelligence_switch.py +257 -0
  13. pulumi_alicloud/cloudsso/__init__.py +1 -0
  14. pulumi_alicloud/cloudsso/_inputs.py +54 -0
  15. pulumi_alicloud/cloudsso/outputs.py +51 -0
  16. pulumi_alicloud/cloudsso/user_provisioning.py +723 -0
  17. pulumi_alicloud/dms/__init__.py +1 -0
  18. pulumi_alicloud/dms/airflow.py +990 -0
  19. pulumi_alicloud/ecs/ecs_launch_template.py +21 -7
  20. pulumi_alicloud/ecs/instance.py +7 -7
  21. pulumi_alicloud/esa/__init__.py +2 -0
  22. pulumi_alicloud/esa/_inputs.py +189 -0
  23. pulumi_alicloud/esa/outputs.py +137 -0
  24. pulumi_alicloud/esa/transport_layer_application.py +459 -0
  25. pulumi_alicloud/esa/waf_ruleset.py +437 -0
  26. pulumi_alicloud/fc/_inputs.py +13 -0
  27. pulumi_alicloud/fc/function.py +0 -156
  28. pulumi_alicloud/fc/outputs.py +8 -0
  29. pulumi_alicloud/fc/v3_function.py +54 -7
  30. pulumi_alicloud/hbr/policy_binding.py +7 -0
  31. pulumi_alicloud/kvstore/account.py +4 -4
  32. pulumi_alicloud/lindorm/__init__.py +2 -0
  33. pulumi_alicloud/lindorm/_inputs.py +459 -0
  34. pulumi_alicloud/lindorm/instance_v2.py +1119 -0
  35. pulumi_alicloud/lindorm/outputs.py +319 -0
  36. pulumi_alicloud/log/etl.py +6 -0
  37. pulumi_alicloud/mongodb/sharding_instance.py +235 -0
  38. pulumi_alicloud/pulumi-plugin.json +1 -1
  39. pulumi_alicloud/pvtz/get_service.py +12 -8
  40. pulumi_alicloud/resourcemanager/control_policy.py +169 -31
  41. pulumi_alicloud/resourcemanager/control_policy_attachment.py +39 -7
  42. pulumi_alicloud/resourcemanager/handshake.py +118 -56
  43. pulumi_alicloud/sls/__init__.py +1 -0
  44. pulumi_alicloud/sls/_inputs.py +111 -0
  45. pulumi_alicloud/sls/index.py +646 -0
  46. pulumi_alicloud/sls/outputs.py +86 -0
  47. pulumi_alicloud/vpc/bgp_network.py +83 -36
  48. {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/METADATA +1 -1
  49. {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/RECORD +51 -43
  50. {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/WHEEL +0 -0
  51. {pulumi_alicloud-3.86.0a1758000634.dist-info → pulumi_alicloud-3.86.1.dist-info}/top_level.txt +0 -0
@@ -22,25 +22,39 @@ class ControlPolicyArgs:
22
22
  control_policy_name: pulumi.Input[_builtins.str],
23
23
  effect_scope: pulumi.Input[_builtins.str],
24
24
  policy_document: pulumi.Input[_builtins.str],
25
- description: Optional[pulumi.Input[_builtins.str]] = None):
25
+ description: Optional[pulumi.Input[_builtins.str]] = None,
26
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
26
27
  """
27
28
  The set of arguments for constructing a ControlPolicy resource.
28
- :param pulumi.Input[_builtins.str] control_policy_name: The name of control policy.
29
- :param pulumi.Input[_builtins.str] effect_scope: The effect scope. Valid values `RAM`.
30
- :param pulumi.Input[_builtins.str] policy_document: The policy document of control policy.
31
- :param pulumi.Input[_builtins.str] description: The description of control policy.
29
+ :param pulumi.Input[_builtins.str] control_policy_name: The new name of the access control policy.
30
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
31
+ :param pulumi.Input[_builtins.str] effect_scope: The effective scope of the access control policy. Valid values:
32
+
33
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
34
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
35
+ :param pulumi.Input[_builtins.str] policy_document: The new document of the access control policy.
36
+ The document can be a maximum of 4,096 characters in length.
37
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
38
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
39
+ :param pulumi.Input[_builtins.str] description: The new description of the access control policy.
40
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
41
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags.
42
+ You can specify a maximum of 20 tags.
32
43
  """
33
44
  pulumi.set(__self__, "control_policy_name", control_policy_name)
34
45
  pulumi.set(__self__, "effect_scope", effect_scope)
35
46
  pulumi.set(__self__, "policy_document", policy_document)
36
47
  if description is not None:
37
48
  pulumi.set(__self__, "description", description)
49
+ if tags is not None:
50
+ pulumi.set(__self__, "tags", tags)
38
51
 
39
52
  @_builtins.property
40
53
  @pulumi.getter(name="controlPolicyName")
41
54
  def control_policy_name(self) -> pulumi.Input[_builtins.str]:
42
55
  """
43
- The name of control policy.
56
+ The new name of the access control policy.
57
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
44
58
  """
45
59
  return pulumi.get(self, "control_policy_name")
46
60
 
@@ -52,7 +66,10 @@ class ControlPolicyArgs:
52
66
  @pulumi.getter(name="effectScope")
53
67
  def effect_scope(self) -> pulumi.Input[_builtins.str]:
54
68
  """
55
- The effect scope. Valid values `RAM`.
69
+ The effective scope of the access control policy. Valid values:
70
+
71
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
72
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
56
73
  """
57
74
  return pulumi.get(self, "effect_scope")
58
75
 
@@ -64,7 +81,10 @@ class ControlPolicyArgs:
64
81
  @pulumi.getter(name="policyDocument")
65
82
  def policy_document(self) -> pulumi.Input[_builtins.str]:
66
83
  """
67
- The policy document of control policy.
84
+ The new document of the access control policy.
85
+ The document can be a maximum of 4,096 characters in length.
86
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
87
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
68
88
  """
69
89
  return pulumi.get(self, "policy_document")
70
90
 
@@ -76,7 +96,8 @@ class ControlPolicyArgs:
76
96
  @pulumi.getter
77
97
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
78
98
  """
79
- The description of control policy.
99
+ The new description of the access control policy.
100
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
80
101
  """
81
102
  return pulumi.get(self, "description")
82
103
 
@@ -84,35 +105,66 @@ class ControlPolicyArgs:
84
105
  def description(self, value: Optional[pulumi.Input[_builtins.str]]):
85
106
  pulumi.set(self, "description", value)
86
107
 
108
+ @_builtins.property
109
+ @pulumi.getter
110
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
111
+ """
112
+ The tags.
113
+ You can specify a maximum of 20 tags.
114
+ """
115
+ return pulumi.get(self, "tags")
116
+
117
+ @tags.setter
118
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
119
+ pulumi.set(self, "tags", value)
120
+
87
121
 
88
122
  @pulumi.input_type
89
123
  class _ControlPolicyState:
90
124
  def __init__(__self__, *,
91
125
  control_policy_name: Optional[pulumi.Input[_builtins.str]] = None,
126
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
92
127
  description: Optional[pulumi.Input[_builtins.str]] = None,
93
128
  effect_scope: Optional[pulumi.Input[_builtins.str]] = None,
94
- policy_document: Optional[pulumi.Input[_builtins.str]] = None):
129
+ policy_document: Optional[pulumi.Input[_builtins.str]] = None,
130
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
95
131
  """
96
132
  Input properties used for looking up and filtering ControlPolicy resources.
97
- :param pulumi.Input[_builtins.str] control_policy_name: The name of control policy.
98
- :param pulumi.Input[_builtins.str] description: The description of control policy.
99
- :param pulumi.Input[_builtins.str] effect_scope: The effect scope. Valid values `RAM`.
100
- :param pulumi.Input[_builtins.str] policy_document: The policy document of control policy.
133
+ :param pulumi.Input[_builtins.str] control_policy_name: The new name of the access control policy.
134
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
135
+ :param pulumi.Input[_builtins.str] create_time: The time when the access control policy was created.
136
+ :param pulumi.Input[_builtins.str] description: The new description of the access control policy.
137
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
138
+ :param pulumi.Input[_builtins.str] effect_scope: The effective scope of the access control policy. Valid values:
139
+
140
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
141
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
142
+ :param pulumi.Input[_builtins.str] policy_document: The new document of the access control policy.
143
+ The document can be a maximum of 4,096 characters in length.
144
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
145
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
146
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags.
147
+ You can specify a maximum of 20 tags.
101
148
  """
102
149
  if control_policy_name is not None:
103
150
  pulumi.set(__self__, "control_policy_name", control_policy_name)
151
+ if create_time is not None:
152
+ pulumi.set(__self__, "create_time", create_time)
104
153
  if description is not None:
105
154
  pulumi.set(__self__, "description", description)
106
155
  if effect_scope is not None:
107
156
  pulumi.set(__self__, "effect_scope", effect_scope)
108
157
  if policy_document is not None:
109
158
  pulumi.set(__self__, "policy_document", policy_document)
159
+ if tags is not None:
160
+ pulumi.set(__self__, "tags", tags)
110
161
 
111
162
  @_builtins.property
112
163
  @pulumi.getter(name="controlPolicyName")
113
164
  def control_policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
114
165
  """
115
- The name of control policy.
166
+ The new name of the access control policy.
167
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
116
168
  """
117
169
  return pulumi.get(self, "control_policy_name")
118
170
 
@@ -120,11 +172,24 @@ class _ControlPolicyState:
120
172
  def control_policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
121
173
  pulumi.set(self, "control_policy_name", value)
122
174
 
175
+ @_builtins.property
176
+ @pulumi.getter(name="createTime")
177
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
178
+ """
179
+ The time when the access control policy was created.
180
+ """
181
+ return pulumi.get(self, "create_time")
182
+
183
+ @create_time.setter
184
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
185
+ pulumi.set(self, "create_time", value)
186
+
123
187
  @_builtins.property
124
188
  @pulumi.getter
125
189
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
126
190
  """
127
- The description of control policy.
191
+ The new description of the access control policy.
192
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
128
193
  """
129
194
  return pulumi.get(self, "description")
130
195
 
@@ -136,7 +201,10 @@ class _ControlPolicyState:
136
201
  @pulumi.getter(name="effectScope")
137
202
  def effect_scope(self) -> Optional[pulumi.Input[_builtins.str]]:
138
203
  """
139
- The effect scope. Valid values `RAM`.
204
+ The effective scope of the access control policy. Valid values:
205
+
206
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
207
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
140
208
  """
141
209
  return pulumi.get(self, "effect_scope")
142
210
 
@@ -148,7 +216,10 @@ class _ControlPolicyState:
148
216
  @pulumi.getter(name="policyDocument")
149
217
  def policy_document(self) -> Optional[pulumi.Input[_builtins.str]]:
150
218
  """
151
- The policy document of control policy.
219
+ The new document of the access control policy.
220
+ The document can be a maximum of 4,096 characters in length.
221
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
222
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
152
223
  """
153
224
  return pulumi.get(self, "policy_document")
154
225
 
@@ -156,6 +227,19 @@ class _ControlPolicyState:
156
227
  def policy_document(self, value: Optional[pulumi.Input[_builtins.str]]):
157
228
  pulumi.set(self, "policy_document", value)
158
229
 
230
+ @_builtins.property
231
+ @pulumi.getter
232
+ def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
233
+ """
234
+ The tags.
235
+ You can specify a maximum of 20 tags.
236
+ """
237
+ return pulumi.get(self, "tags")
238
+
239
+ @tags.setter
240
+ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
241
+ pulumi.set(self, "tags", value)
242
+
159
243
 
160
244
  @pulumi.type_token("alicloud:resourcemanager/controlPolicy:ControlPolicy")
161
245
  class ControlPolicy(pulumi.CustomResource):
@@ -167,6 +251,7 @@ class ControlPolicy(pulumi.CustomResource):
167
251
  description: Optional[pulumi.Input[_builtins.str]] = None,
168
252
  effect_scope: Optional[pulumi.Input[_builtins.str]] = None,
169
253
  policy_document: Optional[pulumi.Input[_builtins.str]] = None,
254
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
170
255
  __props__=None):
171
256
  """
172
257
  Provides a Resource Manager Control Policy resource.
@@ -219,10 +304,20 @@ class ControlPolicy(pulumi.CustomResource):
219
304
 
220
305
  :param str resource_name: The name of the resource.
221
306
  :param pulumi.ResourceOptions opts: Options for the resource.
222
- :param pulumi.Input[_builtins.str] control_policy_name: The name of control policy.
223
- :param pulumi.Input[_builtins.str] description: The description of control policy.
224
- :param pulumi.Input[_builtins.str] effect_scope: The effect scope. Valid values `RAM`.
225
- :param pulumi.Input[_builtins.str] policy_document: The policy document of control policy.
307
+ :param pulumi.Input[_builtins.str] control_policy_name: The new name of the access control policy.
308
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
309
+ :param pulumi.Input[_builtins.str] description: The new description of the access control policy.
310
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
311
+ :param pulumi.Input[_builtins.str] effect_scope: The effective scope of the access control policy. Valid values:
312
+
313
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
314
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
315
+ :param pulumi.Input[_builtins.str] policy_document: The new document of the access control policy.
316
+ The document can be a maximum of 4,096 characters in length.
317
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
318
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
319
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags.
320
+ You can specify a maximum of 20 tags.
226
321
  """
227
322
  ...
228
323
  @overload
@@ -298,6 +393,7 @@ class ControlPolicy(pulumi.CustomResource):
298
393
  description: Optional[pulumi.Input[_builtins.str]] = None,
299
394
  effect_scope: Optional[pulumi.Input[_builtins.str]] = None,
300
395
  policy_document: Optional[pulumi.Input[_builtins.str]] = None,
396
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
301
397
  __props__=None):
302
398
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
303
399
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -317,6 +413,8 @@ class ControlPolicy(pulumi.CustomResource):
317
413
  if policy_document is None and not opts.urn:
318
414
  raise TypeError("Missing required property 'policy_document'")
319
415
  __props__.__dict__["policy_document"] = policy_document
416
+ __props__.__dict__["tags"] = tags
417
+ __props__.__dict__["create_time"] = None
320
418
  super(ControlPolicy, __self__).__init__(
321
419
  'alicloud:resourcemanager/controlPolicy:ControlPolicy',
322
420
  resource_name,
@@ -328,9 +426,11 @@ class ControlPolicy(pulumi.CustomResource):
328
426
  id: pulumi.Input[str],
329
427
  opts: Optional[pulumi.ResourceOptions] = None,
330
428
  control_policy_name: Optional[pulumi.Input[_builtins.str]] = None,
429
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
331
430
  description: Optional[pulumi.Input[_builtins.str]] = None,
332
431
  effect_scope: Optional[pulumi.Input[_builtins.str]] = None,
333
- policy_document: Optional[pulumi.Input[_builtins.str]] = None) -> 'ControlPolicy':
432
+ policy_document: Optional[pulumi.Input[_builtins.str]] = None,
433
+ tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None) -> 'ControlPolicy':
334
434
  """
335
435
  Get an existing ControlPolicy resource's state with the given name, id, and optional extra
336
436
  properties used to qualify the lookup.
@@ -338,34 +438,57 @@ class ControlPolicy(pulumi.CustomResource):
338
438
  :param str resource_name: The unique name of the resulting resource.
339
439
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
340
440
  :param pulumi.ResourceOptions opts: Options for the resource.
341
- :param pulumi.Input[_builtins.str] control_policy_name: The name of control policy.
342
- :param pulumi.Input[_builtins.str] description: The description of control policy.
343
- :param pulumi.Input[_builtins.str] effect_scope: The effect scope. Valid values `RAM`.
344
- :param pulumi.Input[_builtins.str] policy_document: The policy document of control policy.
441
+ :param pulumi.Input[_builtins.str] control_policy_name: The new name of the access control policy.
442
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
443
+ :param pulumi.Input[_builtins.str] create_time: The time when the access control policy was created.
444
+ :param pulumi.Input[_builtins.str] description: The new description of the access control policy.
445
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
446
+ :param pulumi.Input[_builtins.str] effect_scope: The effective scope of the access control policy. Valid values:
447
+
448
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
449
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
450
+ :param pulumi.Input[_builtins.str] policy_document: The new document of the access control policy.
451
+ The document can be a maximum of 4,096 characters in length.
452
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
453
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
454
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags.
455
+ You can specify a maximum of 20 tags.
345
456
  """
346
457
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
347
458
 
348
459
  __props__ = _ControlPolicyState.__new__(_ControlPolicyState)
349
460
 
350
461
  __props__.__dict__["control_policy_name"] = control_policy_name
462
+ __props__.__dict__["create_time"] = create_time
351
463
  __props__.__dict__["description"] = description
352
464
  __props__.__dict__["effect_scope"] = effect_scope
353
465
  __props__.__dict__["policy_document"] = policy_document
466
+ __props__.__dict__["tags"] = tags
354
467
  return ControlPolicy(resource_name, opts=opts, __props__=__props__)
355
468
 
356
469
  @_builtins.property
357
470
  @pulumi.getter(name="controlPolicyName")
358
471
  def control_policy_name(self) -> pulumi.Output[_builtins.str]:
359
472
  """
360
- The name of control policy.
473
+ The new name of the access control policy.
474
+ The name must be 1 to 128 characters in length. The name can contain letters, digits, and hyphens (-) and must start with a letter.
361
475
  """
362
476
  return pulumi.get(self, "control_policy_name")
363
477
 
478
+ @_builtins.property
479
+ @pulumi.getter(name="createTime")
480
+ def create_time(self) -> pulumi.Output[_builtins.str]:
481
+ """
482
+ The time when the access control policy was created.
483
+ """
484
+ return pulumi.get(self, "create_time")
485
+
364
486
  @_builtins.property
365
487
  @pulumi.getter
366
488
  def description(self) -> pulumi.Output[Optional[_builtins.str]]:
367
489
  """
368
- The description of control policy.
490
+ The new description of the access control policy.
491
+ The description must be 1 to 1,024 characters in length. The description can contain letters, digits, underscores (\\_), and hyphens (-) and must start with a letter.
369
492
  """
370
493
  return pulumi.get(self, "description")
371
494
 
@@ -373,7 +496,10 @@ class ControlPolicy(pulumi.CustomResource):
373
496
  @pulumi.getter(name="effectScope")
374
497
  def effect_scope(self) -> pulumi.Output[_builtins.str]:
375
498
  """
376
- The effect scope. Valid values `RAM`.
499
+ The effective scope of the access control policy. Valid values:
500
+
501
+ - All: The access control policy is in effect for Alibaba Cloud accounts, RAM users, and RAM roles.
502
+ - RAM: The access control policy is in effect only for RAM users and RAM roles.
377
503
  """
378
504
  return pulumi.get(self, "effect_scope")
379
505
 
@@ -381,7 +507,19 @@ class ControlPolicy(pulumi.CustomResource):
381
507
  @pulumi.getter(name="policyDocument")
382
508
  def policy_document(self) -> pulumi.Output[_builtins.str]:
383
509
  """
384
- The policy document of control policy.
510
+ The new document of the access control policy.
511
+ The document can be a maximum of 4,096 characters in length.
512
+ For more information about the languages of access control policies, see [Languages of access control policies](https://www.alibabacloud.com/help/en/doc-detail/179096.html).
513
+ For more information about the examples of access control policies, see [Examples of custom access control policies](https://www.alibabacloud.com/help/en/doc-detail/181474.html).
385
514
  """
386
515
  return pulumi.get(self, "policy_document")
387
516
 
517
+ @_builtins.property
518
+ @pulumi.getter
519
+ def tags(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
520
+ """
521
+ The tags.
522
+ You can specify a maximum of 20 tags.
523
+ """
524
+ return pulumi.get(self, "tags")
525
+
@@ -24,7 +24,11 @@ class ControlPolicyAttachmentArgs:
24
24
  """
25
25
  The set of arguments for constructing a ControlPolicyAttachment resource.
26
26
  :param pulumi.Input[_builtins.str] policy_id: The ID of the access control policy.
27
- :param pulumi.Input[_builtins.str] target_id: The ID of the object to which you want to attach the access control policy.
27
+ :param pulumi.Input[_builtins.str] target_id: The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
28
+
29
+ - Root folder
30
+ - Subfolders of the Root folder
31
+ - Members
28
32
  """
29
33
  pulumi.set(__self__, "policy_id", policy_id)
30
34
  pulumi.set(__self__, "target_id", target_id)
@@ -45,7 +49,11 @@ class ControlPolicyAttachmentArgs:
45
49
  @pulumi.getter(name="targetId")
46
50
  def target_id(self) -> pulumi.Input[_builtins.str]:
47
51
  """
48
- The ID of the object to which you want to attach the access control policy.
52
+ The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
53
+
54
+ - Root folder
55
+ - Subfolders of the Root folder
56
+ - Members
49
57
  """
50
58
  return pulumi.get(self, "target_id")
51
59
 
@@ -62,7 +70,11 @@ class _ControlPolicyAttachmentState:
62
70
  """
63
71
  Input properties used for looking up and filtering ControlPolicyAttachment resources.
64
72
  :param pulumi.Input[_builtins.str] policy_id: The ID of the access control policy.
65
- :param pulumi.Input[_builtins.str] target_id: The ID of the object to which you want to attach the access control policy.
73
+ :param pulumi.Input[_builtins.str] target_id: The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
74
+
75
+ - Root folder
76
+ - Subfolders of the Root folder
77
+ - Members
66
78
  """
67
79
  if policy_id is not None:
68
80
  pulumi.set(__self__, "policy_id", policy_id)
@@ -85,7 +97,11 @@ class _ControlPolicyAttachmentState:
85
97
  @pulumi.getter(name="targetId")
86
98
  def target_id(self) -> Optional[pulumi.Input[_builtins.str]]:
87
99
  """
88
- The ID of the object to which you want to attach the access control policy.
100
+ The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
101
+
102
+ - Root folder
103
+ - Subfolders of the Root folder
104
+ - Members
89
105
  """
90
106
  return pulumi.get(self, "target_id")
91
107
 
@@ -106,6 +122,8 @@ class ControlPolicyAttachment(pulumi.CustomResource):
106
122
  """
107
123
  Provides a Resource Manager Control Policy Attachment resource.
108
124
 
125
+ Control Policy Attachment.
126
+
109
127
  For information about Resource Manager Control Policy Attachment and how to use it, see [What is Control Policy Attachment](https://www.alibabacloud.com/help/en/resource-management/resource-directory/developer-reference/api-resourcemanager-2020-03-31-attachcontrolpolicy).
110
128
 
111
129
  > **NOTE:** Available since v1.120.0.
@@ -163,7 +181,11 @@ class ControlPolicyAttachment(pulumi.CustomResource):
163
181
  :param str resource_name: The name of the resource.
164
182
  :param pulumi.ResourceOptions opts: Options for the resource.
165
183
  :param pulumi.Input[_builtins.str] policy_id: The ID of the access control policy.
166
- :param pulumi.Input[_builtins.str] target_id: The ID of the object to which you want to attach the access control policy.
184
+ :param pulumi.Input[_builtins.str] target_id: The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
185
+
186
+ - Root folder
187
+ - Subfolders of the Root folder
188
+ - Members
167
189
  """
168
190
  ...
169
191
  @overload
@@ -174,6 +196,8 @@ class ControlPolicyAttachment(pulumi.CustomResource):
174
196
  """
175
197
  Provides a Resource Manager Control Policy Attachment resource.
176
198
 
199
+ Control Policy Attachment.
200
+
177
201
  For information about Resource Manager Control Policy Attachment and how to use it, see [What is Control Policy Attachment](https://www.alibabacloud.com/help/en/resource-management/resource-directory/developer-reference/api-resourcemanager-2020-03-31-attachcontrolpolicy).
178
202
 
179
203
  > **NOTE:** Available since v1.120.0.
@@ -280,7 +304,11 @@ class ControlPolicyAttachment(pulumi.CustomResource):
280
304
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
281
305
  :param pulumi.ResourceOptions opts: Options for the resource.
282
306
  :param pulumi.Input[_builtins.str] policy_id: The ID of the access control policy.
283
- :param pulumi.Input[_builtins.str] target_id: The ID of the object to which you want to attach the access control policy.
307
+ :param pulumi.Input[_builtins.str] target_id: The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
308
+
309
+ - Root folder
310
+ - Subfolders of the Root folder
311
+ - Members
284
312
  """
285
313
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
286
314
 
@@ -302,7 +330,11 @@ class ControlPolicyAttachment(pulumi.CustomResource):
302
330
  @pulumi.getter(name="targetId")
303
331
  def target_id(self) -> pulumi.Output[_builtins.str]:
304
332
  """
305
- The ID of the object to which you want to attach the access control policy.
333
+ The ID of the object from which you want to detach the access control policy. Access control policies can be attached to the following objects:
334
+
335
+ - Root folder
336
+ - Subfolders of the Root folder
337
+ - Members
306
338
  """
307
339
  return pulumi.get(self, "target_id")
308
340