pulumi-alicloud 3.86.0a1758340042__py3-none-any.whl → 3.89.0a1763702747__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.
Files changed (146) hide show
  1. pulumi_alicloud/__init__.py +83 -0
  2. pulumi_alicloud/actiontrail/get_trails_deprecated.py +20 -0
  3. pulumi_alicloud/adb/resource_group.py +463 -3
  4. pulumi_alicloud/alikafka/topic.py +278 -85
  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/get_transit_router_peer_attachments.py +20 -0
  11. pulumi_alicloud/cen/get_transit_router_vbr_attachments.py +20 -0
  12. pulumi_alicloud/cfg/_inputs.py +27 -24
  13. pulumi_alicloud/cfg/aggregator.py +142 -53
  14. pulumi_alicloud/cfg/outputs.py +18 -15
  15. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  16. pulumi_alicloud/cloudfirewall/get_nat_firewalls.py +132 -0
  17. pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
  18. pulumi_alicloud/cloudfirewall/outputs.py +30 -0
  19. pulumi_alicloud/cloudsso/__init__.py +1 -0
  20. pulumi_alicloud/cloudsso/get_user_provisioning_events.py +226 -0
  21. pulumi_alicloud/cloudsso/outputs.py +228 -0
  22. pulumi_alicloud/cloudsso/user.py +247 -80
  23. pulumi_alicloud/cms/_inputs.py +870 -10
  24. pulumi_alicloud/cms/get_site_monitors.py +2 -2
  25. pulumi_alicloud/cms/outputs.py +606 -6
  26. pulumi_alicloud/cms/site_monitor.py +360 -89
  27. pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
  28. pulumi_alicloud/cs/managed_kubernetes.py +6 -2
  29. pulumi_alicloud/ddos/domain_resource.py +89 -0
  30. pulumi_alicloud/dms/get_enterprise_logic_databases.py +8 -0
  31. pulumi_alicloud/dts/instance.py +14 -14
  32. pulumi_alicloud/eais/get_instances.py +8 -0
  33. pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +32 -0
  34. pulumi_alicloud/eci/container_group.py +47 -0
  35. pulumi_alicloud/ecs/elasticity_assurance.py +279 -20
  36. pulumi_alicloud/ecs/instance.py +7 -7
  37. pulumi_alicloud/ecs/security_group_rule.py +7 -7
  38. pulumi_alicloud/edas/get_deploy_groups.py +4 -0
  39. pulumi_alicloud/eflo/node.py +153 -15
  40. pulumi_alicloud/emrv2/get_clusters.py +260 -0
  41. pulumi_alicloud/ens/load_balancer.py +8 -4
  42. pulumi_alicloud/esa/__init__.py +2 -0
  43. pulumi_alicloud/esa/_inputs.py +3774 -991
  44. pulumi_alicloud/esa/cache_rule.py +47 -0
  45. pulumi_alicloud/esa/certificate.py +21 -54
  46. pulumi_alicloud/esa/compression_rule.py +47 -0
  47. pulumi_alicloud/esa/http_response_header_modification_rule.py +89 -28
  48. pulumi_alicloud/esa/https_application_configuration.py +188 -0
  49. pulumi_alicloud/esa/https_basic_configuration.py +54 -7
  50. pulumi_alicloud/esa/image_transform.py +47 -0
  51. pulumi_alicloud/esa/load_balancer.py +999 -0
  52. pulumi_alicloud/esa/network_optimization.py +82 -21
  53. pulumi_alicloud/esa/origin_rule.py +470 -14
  54. pulumi_alicloud/esa/outputs.py +2080 -0
  55. pulumi_alicloud/esa/rate_plan_instance.py +64 -39
  56. pulumi_alicloud/esa/redirect_rule.py +68 -21
  57. pulumi_alicloud/esa/rewrite_url_rule.py +82 -56
  58. pulumi_alicloud/esa/waf_rule.py +510 -0
  59. pulumi_alicloud/ess/__init__.py +1 -0
  60. pulumi_alicloud/ess/_inputs.py +256 -0
  61. pulumi_alicloud/ess/alb_server_group_attachment.py +2 -2
  62. pulumi_alicloud/ess/attachment.py +10 -6
  63. pulumi_alicloud/ess/instance_refresh.py +760 -0
  64. pulumi_alicloud/ess/outputs.py +203 -0
  65. pulumi_alicloud/ess/scaling_configuration.py +2 -2
  66. pulumi_alicloud/ess/scaling_group.py +94 -0
  67. pulumi_alicloud/ess/server_group_attachment.py +2 -2
  68. pulumi_alicloud/ess/suspend_process.py +2 -2
  69. pulumi_alicloud/eventbridge/event_source.py +57 -57
  70. pulumi_alicloud/expressconnect/get_virtual_physical_connections.py +4 -0
  71. pulumi_alicloud/expressconnect/traffic_qos.py +137 -31
  72. pulumi_alicloud/expressconnect/traffic_qos_queue.py +91 -66
  73. pulumi_alicloud/expressconnect/traffic_qos_rule.py +307 -261
  74. pulumi_alicloud/expressconnect/vbr_pconn_association.py +105 -59
  75. pulumi_alicloud/ga/_inputs.py +56 -16
  76. pulumi_alicloud/ga/outputs.py +39 -11
  77. pulumi_alicloud/gpdb/get_zones.py +24 -0
  78. pulumi_alicloud/hbase/get_instance_types.py +32 -0
  79. pulumi_alicloud/hbr/policy_binding.py +7 -0
  80. pulumi_alicloud/kvstore/account.py +18 -18
  81. pulumi_alicloud/lindorm/instance_v2.py +358 -70
  82. pulumi_alicloud/log/_inputs.py +29 -9
  83. pulumi_alicloud/log/etl.py +56 -9
  84. pulumi_alicloud/log/get_projects.py +24 -0
  85. pulumi_alicloud/log/outputs.py +18 -6
  86. pulumi_alicloud/marketplace/get_products.py +26 -0
  87. pulumi_alicloud/mongodb/get_sharding_network_private_addresses.py +28 -0
  88. pulumi_alicloud/nas/get_access_rules.py +26 -0
  89. pulumi_alicloud/oss/_inputs.py +53 -0
  90. pulumi_alicloud/oss/bucket_logging.py +80 -29
  91. pulumi_alicloud/oss/bucket_replication.py +55 -8
  92. pulumi_alicloud/oss/outputs.py +31 -0
  93. pulumi_alicloud/ots/get_search_indexes.py +26 -0
  94. pulumi_alicloud/ots/get_secondary_indexes.py +26 -0
  95. pulumi_alicloud/polardb/__init__.py +3 -0
  96. pulumi_alicloud/polardb/cluster.py +14 -14
  97. pulumi_alicloud/polardb/zonal_account.py +449 -0
  98. pulumi_alicloud/polardb/zonal_db_cluster.py +1255 -0
  99. pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
  100. pulumi_alicloud/pulumi-plugin.json +1 -1
  101. pulumi_alicloud/pvtz/get_service.py +12 -8
  102. pulumi_alicloud/ram/get_policies.py +95 -81
  103. pulumi_alicloud/ram/get_roles.py +108 -31
  104. pulumi_alicloud/ram/outputs.py +64 -42
  105. pulumi_alicloud/ram/policy.py +2 -2
  106. pulumi_alicloud/resourcemanager/__init__.py +2 -0
  107. pulumi_alicloud/resourcemanager/_inputs.py +799 -0
  108. pulumi_alicloud/resourcemanager/control_policy.py +169 -31
  109. pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
  110. pulumi_alicloud/resourcemanager/get_policies.py +4 -0
  111. pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
  112. pulumi_alicloud/resourcemanager/outputs.py +694 -0
  113. pulumi_alicloud/resourcemanager/resource_share.py +341 -11
  114. pulumi_alicloud/sae/_inputs.py +60 -0
  115. pulumi_alicloud/sae/application.py +1 -1
  116. pulumi_alicloud/sae/get_ingresses.py +122 -0
  117. pulumi_alicloud/sae/outputs.py +42 -0
  118. pulumi_alicloud/scdn/domain_config.py +56 -0
  119. pulumi_alicloud/servicemesh/extension_provider.py +138 -0
  120. pulumi_alicloud/servicemesh/user_permission.py +90 -0
  121. pulumi_alicloud/simpleapplicationserver/get_images.py +24 -0
  122. pulumi_alicloud/sls/__init__.py +1 -0
  123. pulumi_alicloud/sls/get_indexs.py +304 -0
  124. pulumi_alicloud/sls/outputs.py +148 -0
  125. pulumi_alicloud/star_rocks_instance.py +8 -2
  126. pulumi_alicloud/starrocks/__init__.py +12 -0
  127. pulumi_alicloud/starrocks/_inputs.py +656 -0
  128. pulumi_alicloud/starrocks/instance.py +1427 -0
  129. pulumi_alicloud/starrocks/node_group.py +1298 -0
  130. pulumi_alicloud/starrocks/outputs.py +508 -0
  131. pulumi_alicloud/vpc/_inputs.py +84 -0
  132. pulumi_alicloud/vpc/bgp_group.py +250 -53
  133. pulumi_alicloud/vpc/bgp_network.py +83 -36
  134. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +30 -14
  135. pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
  136. pulumi_alicloud/vpc/get_enhanced_nat_available_zones.py +3 -3
  137. pulumi_alicloud/vpc/network_acl_entries.py +16 -20
  138. pulumi_alicloud/vpc/outputs.py +48 -0
  139. pulumi_alicloud/vpc/vbr_ha.py +127 -46
  140. pulumi_alicloud/wafv3/_inputs.py +396 -0
  141. pulumi_alicloud/wafv3/defense_rule.py +40 -110
  142. pulumi_alicloud/wafv3/outputs.py +303 -0
  143. {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/METADATA +1 -1
  144. {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/RECORD +146 -130
  145. {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.dist-info}/WHEEL +0 -0
  146. {pulumi_alicloud-3.86.0a1758340042.dist-info → pulumi_alicloud-3.89.0a1763702747.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
+