pulumi-alicloud 3.84.0a1756507491__py3-none-any.whl → 3.84.0a1757017465__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 (243) hide show
  1. pulumi_alicloud/__init__.py +108 -0
  2. pulumi_alicloud/_inputs.py +635 -0
  3. pulumi_alicloud/ackone/membership_attachment.py +122 -0
  4. pulumi_alicloud/actiontrail/__init__.py +1 -0
  5. pulumi_alicloud/actiontrail/advanced_query_template.py +311 -0
  6. pulumi_alicloud/actiontrail/trail.py +303 -149
  7. pulumi_alicloud/actiontrail/trail_deprecated.py +131 -23
  8. pulumi_alicloud/alb/a_script.py +170 -0
  9. pulumi_alicloud/alb/get_rules.py +206 -0
  10. pulumi_alicloud/alb/listener.py +240 -0
  11. pulumi_alicloud/alb/listener_acl_attachment.py +180 -0
  12. pulumi_alicloud/alb/listener_additional_certificate_attachment.py +314 -0
  13. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +136 -0
  14. pulumi_alicloud/alb/load_balancer_common_bandwidth_package_attachment.py +122 -0
  15. pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +124 -0
  16. pulumi_alicloud/alb/rule.py +202 -0
  17. pulumi_alicloud/alikafka/sasl_user.py +2 -2
  18. pulumi_alicloud/apig/environment.py +86 -0
  19. pulumi_alicloud/arms/__init__.py +6 -0
  20. pulumi_alicloud/arms/addon_release.py +174 -0
  21. pulumi_alicloud/arms/env_feature.py +158 -0
  22. pulumi_alicloud/arms/env_pod_monitor.py +206 -0
  23. pulumi_alicloud/arms/env_service_monitor.py +204 -0
  24. pulumi_alicloud/arms/environment.py +150 -0
  25. pulumi_alicloud/arms/get_addon_releases.py +354 -0
  26. pulumi_alicloud/arms/get_env_custom_jobs.py +268 -0
  27. pulumi_alicloud/arms/get_env_features.py +342 -0
  28. pulumi_alicloud/arms/get_env_pod_monitors.py +390 -0
  29. pulumi_alicloud/arms/get_env_service_monitors.py +388 -0
  30. pulumi_alicloud/arms/get_environments.py +282 -0
  31. pulumi_alicloud/arms/outputs.py +620 -0
  32. pulumi_alicloud/arms/prometheus_monitoring.py +190 -0
  33. pulumi_alicloud/cen/transit_router_multicast_domain_member.py +118 -0
  34. pulumi_alicloud/cen/transit_router_multicast_domain_source.py +160 -0
  35. pulumi_alicloud/cfg/aggregate_delivery.py +100 -0
  36. pulumi_alicloud/cfg/delivery_channel.py +54 -0
  37. pulumi_alicloud/cloudauth/face_config.py +48 -0
  38. pulumi_alicloud/cloudfirewall/nat_firewall_control_policy.py +236 -0
  39. pulumi_alicloud/cloudmonitor/__init__.py +1 -0
  40. pulumi_alicloud/cloudmonitor/get_service_metric_alarm_rules.py +333 -0
  41. pulumi_alicloud/cloudmonitor/outputs.py +696 -0
  42. pulumi_alicloud/cloudsso/access_configuration.py +12 -12
  43. pulumi_alicloud/cloudsso/access_configuration_provisioning.py +84 -0
  44. pulumi_alicloud/cloudsso/access_management.py +90 -0
  45. pulumi_alicloud/cloudsso/group.py +60 -0
  46. pulumi_alicloud/cloudsso/user.py +66 -0
  47. pulumi_alicloud/cloudsso/user_attachment.py +82 -0
  48. pulumi_alicloud/cloudstoragegateway/express_sync.py +154 -0
  49. pulumi_alicloud/cloudstoragegateway/express_sync_share_attachment.py +160 -0
  50. pulumi_alicloud/cloudstoragegateway/gateway.py +0 -13
  51. pulumi_alicloud/cloudstoragegateway/gateway_block_volume.py +132 -0
  52. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +92 -0
  53. pulumi_alicloud/cloudstoragegateway/gateway_file_share.py +130 -0
  54. pulumi_alicloud/cloudstoragegateway/gateway_logging.py +120 -0
  55. pulumi_alicloud/cloudstoragegateway/gateway_smb_user.py +92 -0
  56. pulumi_alicloud/cms/alarm.py +4 -4
  57. pulumi_alicloud/cms/get_site_monitors.py +20 -20
  58. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +24 -24
  59. pulumi_alicloud/cms/hybrid_monitor_sls_task.py +164 -0
  60. pulumi_alicloud/cms/site_monitor.py +20 -20
  61. pulumi_alicloud/cms/sls_group.py +80 -0
  62. pulumi_alicloud/compute/nest_service_instance.py +10 -10
  63. pulumi_alicloud/cs/_inputs.py +565 -0
  64. pulumi_alicloud/cs/autoscaling_config.py +260 -35
  65. pulumi_alicloud/cs/get_cluster_credential.py +30 -0
  66. pulumi_alicloud/cs/get_kubernetes_addon_metadata.py +78 -0
  67. pulumi_alicloud/cs/get_kubernetes_addons.py +72 -0
  68. pulumi_alicloud/cs/get_kubernetes_node_pools.py +124 -0
  69. pulumi_alicloud/cs/kubernetes.py +296 -0
  70. pulumi_alicloud/cs/kubernetes_addon.py +108 -0
  71. pulumi_alicloud/cs/kubernetes_permission.py +162 -0
  72. pulumi_alicloud/cs/managed_kubernetes.py +583 -14
  73. pulumi_alicloud/cs/node_pool.py +416 -0
  74. pulumi_alicloud/cs/outputs.py +374 -0
  75. pulumi_alicloud/dataworks/data_source_shared_rule.py +116 -0
  76. pulumi_alicloud/dataworks/dw_resource_group.py +82 -0
  77. pulumi_alicloud/dataworks/network.py +100 -0
  78. pulumi_alicloud/ddos/domain_resource.py +6 -6
  79. pulumi_alicloud/directmail/mail_address.py +62 -0
  80. pulumi_alicloud/directmail/receivers.py +40 -0
  81. pulumi_alicloud/dns/access_strategy.py +152 -0
  82. pulumi_alicloud/dns/address_pool.py +4 -4
  83. pulumi_alicloud/dts/job_monitor_rule.py +228 -0
  84. pulumi_alicloud/dts/migration_job.py +238 -0
  85. pulumi_alicloud/dts/synchronization_job.py +266 -14
  86. pulumi_alicloud/ebs/disk_replica_pair.py +112 -0
  87. pulumi_alicloud/ecs/ecs_network_interface_permission.py +84 -0
  88. pulumi_alicloud/ecs/image_import.py +2 -2
  89. pulumi_alicloud/ecs/ram_role_attachment.py +28 -28
  90. pulumi_alicloud/edas/k8s_application.py +124 -0
  91. pulumi_alicloud/edas/k8s_cluster.py +104 -0
  92. pulumi_alicloud/edas/k8s_slb_attachment.py +152 -0
  93. pulumi_alicloud/eflo/__init__.py +2 -0
  94. pulumi_alicloud/eflo/_inputs.py +94 -0
  95. pulumi_alicloud/eflo/er.py +487 -0
  96. pulumi_alicloud/eflo/node_group_attachment.py +604 -0
  97. pulumi_alicloud/eflo/outputs.py +75 -0
  98. pulumi_alicloud/emr/cluster.py +64 -64
  99. pulumi_alicloud/emr/get_clusters.py +16 -16
  100. pulumi_alicloud/emrv2/cluster.py +16 -16
  101. pulumi_alicloud/emrv2/get_cluster_instances.py +16 -16
  102. pulumi_alicloud/esa/__init__.py +4 -0
  103. pulumi_alicloud/esa/origin_ca_certificate.py +441 -0
  104. pulumi_alicloud/esa/origin_client_certificate.py +564 -0
  105. pulumi_alicloud/esa/origin_protection.py +290 -0
  106. pulumi_alicloud/esa/site_origin_client_certificate.py +515 -0
  107. pulumi_alicloud/eventbridge/rule.py +102 -0
  108. pulumi_alicloud/fc/_inputs.py +77 -3
  109. pulumi_alicloud/fc/custom_domain.py +14 -14
  110. pulumi_alicloud/fc/function.py +14 -14
  111. pulumi_alicloud/fc/function_async_invoke_config.py +48 -48
  112. pulumi_alicloud/fc/outputs.py +63 -2
  113. pulumi_alicloud/fc/trigger.py +100 -100
  114. pulumi_alicloud/fc/v3_async_invoke_config.py +154 -0
  115. pulumi_alicloud/fc/v3_function.py +189 -3
  116. pulumi_alicloud/fc/v3_function_version.py +30 -2
  117. pulumi_alicloud/fnf/execution.py +14 -14
  118. pulumi_alicloud/fnf/flow.py +14 -14
  119. pulumi_alicloud/ga/additional_certificate.py +236 -0
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +16 -16
  121. pulumi_alicloud/gpdb/streaming_job.py +4 -4
  122. pulumi_alicloud/gwlb/listener.py +172 -0
  123. pulumi_alicloud/gwlb/load_balancer.py +96 -0
  124. pulumi_alicloud/gwlb/server_group.py +160 -0
  125. pulumi_alicloud/hbr/ecs_backup_plan.py +4 -4
  126. pulumi_alicloud/hbr/ots_backup_plan.py +28 -28
  127. pulumi_alicloud/hbr/restore_job.py +4 -4
  128. pulumi_alicloud/imm/project.py +14 -14
  129. pulumi_alicloud/kms/get_aliases.py +6 -6
  130. pulumi_alicloud/kms/get_instances.py +178 -0
  131. pulumi_alicloud/kms/instance.py +423 -16
  132. pulumi_alicloud/kms/policy.py +96 -0
  133. pulumi_alicloud/log/dashboard.py +40 -40
  134. pulumi_alicloud/log/ingestion.py +38 -38
  135. pulumi_alicloud/log/log_tail_attachment.py +20 -20
  136. pulumi_alicloud/log/log_tail_config.py +20 -20
  137. pulumi_alicloud/log/project.py +20 -20
  138. pulumi_alicloud/log/resource.py +22 -22
  139. pulumi_alicloud/log/resource_record.py +40 -40
  140. pulumi_alicloud/maxcompute/get_service.py +2 -2
  141. pulumi_alicloud/message/__init__.py +1 -0
  142. pulumi_alicloud/message/_inputs.py +141 -0
  143. pulumi_alicloud/message/outputs.py +120 -0
  144. pulumi_alicloud/message/service_event_rule.py +490 -0
  145. pulumi_alicloud/mongodb/__init__.py +1 -0
  146. pulumi_alicloud/mongodb/global_security_ip_group.py +304 -0
  147. pulumi_alicloud/mongodb/instance.py +47 -0
  148. pulumi_alicloud/mongodb/sharding_instance.py +47 -0
  149. pulumi_alicloud/msc_sub_webhook.py +44 -0
  150. pulumi_alicloud/mse/cluster.py +47 -0
  151. pulumi_alicloud/mse/gateway.py +62 -0
  152. pulumi_alicloud/nas/access_group.py +46 -18
  153. pulumi_alicloud/nas/access_rule.py +28 -0
  154. pulumi_alicloud/nas/data_flow.py +114 -0
  155. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +328 -0
  156. pulumi_alicloud/oos/execution.py +30 -30
  157. pulumi_alicloud/oos/get_parameters.py +10 -10
  158. pulumi_alicloud/oos/get_secret_parameters.py +10 -10
  159. pulumi_alicloud/oos/template.py +28 -28
  160. pulumi_alicloud/oss/bucket.py +578 -0
  161. pulumi_alicloud/oss/bucket_replication.py +56 -56
  162. pulumi_alicloud/outputs.py +489 -0
  163. pulumi_alicloud/pai/flow_pipeline.py +70 -70
  164. pulumi_alicloud/pai/workspace_datasetversion.py +108 -0
  165. pulumi_alicloud/pai/workspace_run.py +62 -0
  166. pulumi_alicloud/polardb/cluster.py +7 -7
  167. pulumi_alicloud/privatelink/vpc_endpoint_service.py +11 -11
  168. pulumi_alicloud/pulumi-plugin.json +1 -1
  169. pulumi_alicloud/pvtz/endpoint.py +96 -0
  170. pulumi_alicloud/pvtz/rule.py +122 -0
  171. pulumi_alicloud/pvtz/rule_attachment.py +150 -0
  172. pulumi_alicloud/ram/get_policies.py +18 -18
  173. pulumi_alicloud/ram/get_policy_document.py +2 -2
  174. pulumi_alicloud/ram/get_role_policy_attachments.py +34 -34
  175. pulumi_alicloud/ram/get_users.py +32 -32
  176. pulumi_alicloud/ram/group_membership.py +74 -0
  177. pulumi_alicloud/ram/group_policy_attachment.py +18 -18
  178. pulumi_alicloud/ram/policy.py +18 -18
  179. pulumi_alicloud/ram/role.py +16 -16
  180. pulumi_alicloud/ram/role_attachment.py +14 -14
  181. pulumi_alicloud/ram/role_policy_attachment.py +34 -34
  182. pulumi_alicloud/ram/user_policy_attachment.py +18 -18
  183. pulumi_alicloud/rds/get_instance_classes.py +6 -4
  184. pulumi_alicloud/rds/outputs.py +4 -0
  185. pulumi_alicloud/rds/rds_clone_db_instance.py +8 -1
  186. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +24 -24
  187. pulumi_alicloud/resourcemanager/control_policy.py +18 -18
  188. pulumi_alicloud/resourcemanager/control_policy_attachment.py +18 -18
  189. pulumi_alicloud/resourcemanager/get_shared_resources.py +64 -0
  190. pulumi_alicloud/resourcemanager/policy.py +16 -16
  191. pulumi_alicloud/resourcemanager/policy_attachment.py +82 -0
  192. pulumi_alicloud/resourcemanager/policy_version.py +32 -32
  193. pulumi_alicloud/resourcemanager/role.py +14 -14
  194. pulumi_alicloud/rocketmq/qos_policy.py +70 -0
  195. pulumi_alicloud/ros/_inputs.py +70 -18
  196. pulumi_alicloud/ros/outputs.py +59 -12
  197. pulumi_alicloud/ros/stack.py +14 -14
  198. pulumi_alicloud/ros/stack_group.py +342 -223
  199. pulumi_alicloud/ros/template.py +2 -2
  200. pulumi_alicloud/sag/qos_policy.py +70 -0
  201. pulumi_alicloud/sddp/data_limit.py +148 -0
  202. pulumi_alicloud/sddp/rule.py +10 -10
  203. pulumi_alicloud/servicecatalog/principal_portfolio_association.py +16 -16
  204. pulumi_alicloud/servicecatalog/product_portfolio_association.py +54 -0
  205. pulumi_alicloud/sls/__init__.py +1 -0
  206. pulumi_alicloud/sls/collection_policy.py +276 -0
  207. pulumi_alicloud/sls/get_etls.py +294 -0
  208. pulumi_alicloud/sls/oss_export_sink.py +134 -0
  209. pulumi_alicloud/sls/outputs.py +277 -0
  210. pulumi_alicloud/sslcertificatesservice/__init__.py +9 -0
  211. pulumi_alicloud/sslcertificatesservice/pca_certificate.py +646 -0
  212. pulumi_alicloud/star_rocks_instance.py +1425 -0
  213. pulumi_alicloud/tag/policy.py +2 -2
  214. pulumi_alicloud/tag/policy_attachment.py +2 -2
  215. pulumi_alicloud/threatdetection/__init__.py +1 -0
  216. pulumi_alicloud/threatdetection/_inputs.py +183 -0
  217. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +50 -1
  218. pulumi_alicloud/threatdetection/attack_path_sensitive_asset_config.py +218 -0
  219. pulumi_alicloud/threatdetection/image_event_operation.py +191 -90
  220. pulumi_alicloud/threatdetection/oss_scan_config.py +257 -65
  221. pulumi_alicloud/threatdetection/outputs.py +147 -0
  222. pulumi_alicloud/vod/editing_project.py +8 -8
  223. pulumi_alicloud/vpc/common_bandwith_package.py +28 -0
  224. pulumi_alicloud/vpc/flow_log.py +92 -0
  225. pulumi_alicloud/vpc/gateway_endpoint.py +12 -12
  226. pulumi_alicloud/vpc/gateway_endpoint_route_table_attachment.py +12 -12
  227. pulumi_alicloud/vpc/ipam_ipam_pool.py +54 -0
  228. pulumi_alicloud/vpc/route_entry.py +6 -2
  229. pulumi_alicloud/vpc/vbr_ha.py +100 -0
  230. pulumi_alicloud/vpc/vpc_network_acl_attachment.py +48 -0
  231. pulumi_alicloud/vpn/get_gateways.py +98 -0
  232. pulumi_alicloud/vpn/ssl_vpn_client_cert.py +82 -0
  233. pulumi_alicloud/vpn/ssl_vpn_server.py +76 -0
  234. pulumi_alicloud/wafv3/__init__.py +1 -0
  235. pulumi_alicloud/wafv3/_inputs.py +1318 -182
  236. pulumi_alicloud/wafv3/defense_rule.py +806 -0
  237. pulumi_alicloud/wafv3/defense_template.py +87 -124
  238. pulumi_alicloud/wafv3/domain.py +136 -35
  239. pulumi_alicloud/wafv3/outputs.py +925 -123
  240. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.84.0a1757017465.dist-info}/METADATA +1 -1
  241. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.84.0a1757017465.dist-info}/RECORD +243 -221
  242. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.84.0a1757017465.dist-info}/WHEEL +0 -0
  243. {pulumi_alicloud-3.84.0a1756507491.dist-info → pulumi_alicloud-3.84.0a1757017465.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,8 @@ class TrailArgs:
21
21
  def __init__(__self__, *,
22
22
  event_rw: Optional[pulumi.Input[_builtins.str]] = None,
23
23
  is_organization_trail: Optional[pulumi.Input[_builtins.bool]] = None,
24
+ max_compute_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
25
+ max_compute_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
24
26
  mns_topic_arn: Optional[pulumi.Input[_builtins.str]] = None,
25
27
  name: Optional[pulumi.Input[_builtins.str]] = None,
26
28
  oss_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -34,32 +36,38 @@ class TrailArgs:
34
36
  trail_region: Optional[pulumi.Input[_builtins.str]] = None):
35
37
  """
36
38
  The set of arguments for constructing a Trail resource.
37
- :param pulumi.Input[_builtins.str] event_rw: Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
38
- :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
39
- :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from version 1.118.0.
40
- :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
41
- :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
42
- :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the specified OSS bucket name. This parameter can be left empty.
43
- :param pulumi.Input[_builtins.str] oss_write_role_arn: The unique ARN of the Oss role.
44
- :param pulumi.Input[_builtins.str] role_name: Field `name` has been deprecated from version 1.118.0.
45
- :param pulumi.Input[_builtins.str] sls_project_arn: The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
46
- :param pulumi.Input[_builtins.str] sls_write_role_arn: The unique ARN of the Log Service role.
47
- :param pulumi.Input[_builtins.str] status: The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
48
- :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created, which must be unique for an account.
49
- :param pulumi.Input[_builtins.str] trail_region: The regions to which the trail is applied. Default to `All`.
39
+ :param pulumi.Input[_builtins.str] event_rw: The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
40
+ :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
41
+ :param pulumi.Input[_builtins.str] max_compute_project_arn: The ARN of the MaxCompute project to which you want to deliver events.
42
+ :param pulumi.Input[_builtins.str] max_compute_write_role_arn: The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
43
+ :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
44
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
45
+ :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs.
46
+ :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the file name in the OSS bucket to which the trail delivers logs.
47
+ :param pulumi.Input[_builtins.str] oss_write_role_arn: The name of the RAM role that the user allows ActionTrail to access OSS service.
48
+ :param pulumi.Input[_builtins.str] role_name: Field `role_name` has been deprecated from provider version 1.118.0.
49
+ :param pulumi.Input[_builtins.str] sls_project_arn: The ARN of the Simple Log Service project to which the trail delivers logs.
50
+ :param pulumi.Input[_builtins.str] sls_write_role_arn: The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
51
+ :param pulumi.Input[_builtins.str] status: The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
52
+ :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created.
53
+ :param pulumi.Input[_builtins.str] trail_region: The region of the trail.
50
54
  """
51
55
  if event_rw is not None:
52
56
  pulumi.set(__self__, "event_rw", event_rw)
53
57
  if is_organization_trail is not None:
54
58
  pulumi.set(__self__, "is_organization_trail", is_organization_trail)
59
+ if max_compute_project_arn is not None:
60
+ pulumi.set(__self__, "max_compute_project_arn", max_compute_project_arn)
61
+ if max_compute_write_role_arn is not None:
62
+ pulumi.set(__self__, "max_compute_write_role_arn", max_compute_write_role_arn)
55
63
  if mns_topic_arn is not None:
56
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
57
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
64
+ warnings.warn("""Field `mns_topic_arn` has been deprecated from version 1.118.0""", DeprecationWarning)
65
+ pulumi.log.warn("""mns_topic_arn is deprecated: Field `mns_topic_arn` has been deprecated from version 1.118.0""")
58
66
  if mns_topic_arn is not None:
59
67
  pulumi.set(__self__, "mns_topic_arn", mns_topic_arn)
60
68
  if name is not None:
61
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
62
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
69
+ warnings.warn("""Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""", DeprecationWarning)
70
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""")
63
71
  if name is not None:
64
72
  pulumi.set(__self__, "name", name)
65
73
  if oss_bucket_name is not None:
@@ -69,8 +77,8 @@ class TrailArgs:
69
77
  if oss_write_role_arn is not None:
70
78
  pulumi.set(__self__, "oss_write_role_arn", oss_write_role_arn)
71
79
  if role_name is not None:
72
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
73
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
80
+ warnings.warn("""Field `role_name` has been deprecated from version 1.118.0""", DeprecationWarning)
81
+ pulumi.log.warn("""role_name is deprecated: Field `role_name` has been deprecated from version 1.118.0""")
74
82
  if role_name is not None:
75
83
  pulumi.set(__self__, "role_name", role_name)
76
84
  if sls_project_arn is not None:
@@ -88,7 +96,7 @@ class TrailArgs:
88
96
  @pulumi.getter(name="eventRw")
89
97
  def event_rw(self) -> Optional[pulumi.Input[_builtins.str]]:
90
98
  """
91
- Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
99
+ The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
92
100
  """
93
101
  return pulumi.get(self, "event_rw")
94
102
 
@@ -100,7 +108,7 @@ class TrailArgs:
100
108
  @pulumi.getter(name="isOrganizationTrail")
101
109
  def is_organization_trail(self) -> Optional[pulumi.Input[_builtins.bool]]:
102
110
  """
103
- Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
111
+ Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
104
112
  """
105
113
  return pulumi.get(self, "is_organization_trail")
106
114
 
@@ -108,12 +116,36 @@ class TrailArgs:
108
116
  def is_organization_trail(self, value: Optional[pulumi.Input[_builtins.bool]]):
109
117
  pulumi.set(self, "is_organization_trail", value)
110
118
 
119
+ @_builtins.property
120
+ @pulumi.getter(name="maxComputeProjectArn")
121
+ def max_compute_project_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
122
+ """
123
+ The ARN of the MaxCompute project to which you want to deliver events.
124
+ """
125
+ return pulumi.get(self, "max_compute_project_arn")
126
+
127
+ @max_compute_project_arn.setter
128
+ def max_compute_project_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
129
+ pulumi.set(self, "max_compute_project_arn", value)
130
+
131
+ @_builtins.property
132
+ @pulumi.getter(name="maxComputeWriteRoleArn")
133
+ def max_compute_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
134
+ """
135
+ The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
136
+ """
137
+ return pulumi.get(self, "max_compute_write_role_arn")
138
+
139
+ @max_compute_write_role_arn.setter
140
+ def max_compute_write_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
141
+ pulumi.set(self, "max_compute_write_role_arn", value)
142
+
111
143
  @_builtins.property
112
144
  @pulumi.getter(name="mnsTopicArn")
113
- @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
145
+ @_utilities.deprecated("""Field `mns_topic_arn` has been deprecated from version 1.118.0""")
114
146
  def mns_topic_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
115
147
  """
116
- Field `mns_topic_arn` has been deprecated from version 1.118.0.
148
+ Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
117
149
  """
118
150
  return pulumi.get(self, "mns_topic_arn")
119
151
 
@@ -123,10 +155,10 @@ class TrailArgs:
123
155
 
124
156
  @_builtins.property
125
157
  @pulumi.getter
126
- @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
158
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""")
127
159
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
128
160
  """
129
- Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
161
+ Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
130
162
  """
131
163
  return pulumi.get(self, "name")
132
164
 
@@ -138,7 +170,7 @@ class TrailArgs:
138
170
  @pulumi.getter(name="ossBucketName")
139
171
  def oss_bucket_name(self) -> Optional[pulumi.Input[_builtins.str]]:
140
172
  """
141
- The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
173
+ The OSS bucket to which the trail delivers logs.
142
174
  """
143
175
  return pulumi.get(self, "oss_bucket_name")
144
176
 
@@ -150,7 +182,7 @@ class TrailArgs:
150
182
  @pulumi.getter(name="ossKeyPrefix")
151
183
  def oss_key_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
152
184
  """
153
- The prefix of the specified OSS bucket name. This parameter can be left empty.
185
+ The prefix of the file name in the OSS bucket to which the trail delivers logs.
154
186
  """
155
187
  return pulumi.get(self, "oss_key_prefix")
156
188
 
@@ -162,7 +194,7 @@ class TrailArgs:
162
194
  @pulumi.getter(name="ossWriteRoleArn")
163
195
  def oss_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
164
196
  """
165
- The unique ARN of the Oss role.
197
+ The name of the RAM role that the user allows ActionTrail to access OSS service.
166
198
  """
167
199
  return pulumi.get(self, "oss_write_role_arn")
168
200
 
@@ -172,10 +204,10 @@ class TrailArgs:
172
204
 
173
205
  @_builtins.property
174
206
  @pulumi.getter(name="roleName")
175
- @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
207
+ @_utilities.deprecated("""Field `role_name` has been deprecated from version 1.118.0""")
176
208
  def role_name(self) -> Optional[pulumi.Input[_builtins.str]]:
177
209
  """
178
- Field `name` has been deprecated from version 1.118.0.
210
+ Field `role_name` has been deprecated from provider version 1.118.0.
179
211
  """
180
212
  return pulumi.get(self, "role_name")
181
213
 
@@ -187,7 +219,7 @@ class TrailArgs:
187
219
  @pulumi.getter(name="slsProjectArn")
188
220
  def sls_project_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
189
221
  """
190
- The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
222
+ The ARN of the Simple Log Service project to which the trail delivers logs.
191
223
  """
192
224
  return pulumi.get(self, "sls_project_arn")
193
225
 
@@ -199,7 +231,7 @@ class TrailArgs:
199
231
  @pulumi.getter(name="slsWriteRoleArn")
200
232
  def sls_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
201
233
  """
202
- The unique ARN of the Log Service role.
234
+ The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
203
235
  """
204
236
  return pulumi.get(self, "sls_write_role_arn")
205
237
 
@@ -211,7 +243,7 @@ class TrailArgs:
211
243
  @pulumi.getter
212
244
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
213
245
  """
214
- The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
246
+ The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
215
247
  """
216
248
  return pulumi.get(self, "status")
217
249
 
@@ -223,7 +255,7 @@ class TrailArgs:
223
255
  @pulumi.getter(name="trailName")
224
256
  def trail_name(self) -> Optional[pulumi.Input[_builtins.str]]:
225
257
  """
226
- The name of the trail to be created, which must be unique for an account.
258
+ The name of the trail to be created.
227
259
  """
228
260
  return pulumi.get(self, "trail_name")
229
261
 
@@ -235,7 +267,7 @@ class TrailArgs:
235
267
  @pulumi.getter(name="trailRegion")
236
268
  def trail_region(self) -> Optional[pulumi.Input[_builtins.str]]:
237
269
  """
238
- The regions to which the trail is applied. Default to `All`.
270
+ The region of the trail.
239
271
  """
240
272
  return pulumi.get(self, "trail_region")
241
273
 
@@ -247,13 +279,17 @@ class TrailArgs:
247
279
  @pulumi.input_type
248
280
  class _TrailState:
249
281
  def __init__(__self__, *,
282
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
250
283
  event_rw: Optional[pulumi.Input[_builtins.str]] = None,
251
284
  is_organization_trail: Optional[pulumi.Input[_builtins.bool]] = None,
285
+ max_compute_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
286
+ max_compute_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
252
287
  mns_topic_arn: Optional[pulumi.Input[_builtins.str]] = None,
253
288
  name: Optional[pulumi.Input[_builtins.str]] = None,
254
289
  oss_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
255
290
  oss_key_prefix: Optional[pulumi.Input[_builtins.str]] = None,
256
291
  oss_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
292
+ region_id: Optional[pulumi.Input[_builtins.str]] = None,
257
293
  role_name: Optional[pulumi.Input[_builtins.str]] = None,
258
294
  sls_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
259
295
  sls_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
@@ -262,32 +298,42 @@ class _TrailState:
262
298
  trail_region: Optional[pulumi.Input[_builtins.str]] = None):
263
299
  """
264
300
  Input properties used for looking up and filtering Trail resources.
265
- :param pulumi.Input[_builtins.str] event_rw: Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
266
- :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
267
- :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from version 1.118.0.
268
- :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
269
- :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
270
- :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the specified OSS bucket name. This parameter can be left empty.
271
- :param pulumi.Input[_builtins.str] oss_write_role_arn: The unique ARN of the Oss role.
272
- :param pulumi.Input[_builtins.str] role_name: Field `name` has been deprecated from version 1.118.0.
273
- :param pulumi.Input[_builtins.str] sls_project_arn: The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
274
- :param pulumi.Input[_builtins.str] sls_write_role_arn: The unique ARN of the Log Service role.
275
- :param pulumi.Input[_builtins.str] status: The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
276
- :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created, which must be unique for an account.
277
- :param pulumi.Input[_builtins.str] trail_region: The regions to which the trail is applied. Default to `All`.
278
- """
301
+ :param pulumi.Input[_builtins.str] create_time: (Available since v1.256.0) The time when the trail was created.
302
+ :param pulumi.Input[_builtins.str] event_rw: The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
303
+ :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
304
+ :param pulumi.Input[_builtins.str] max_compute_project_arn: The ARN of the MaxCompute project to which you want to deliver events.
305
+ :param pulumi.Input[_builtins.str] max_compute_write_role_arn: The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
306
+ :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
307
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
308
+ :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs.
309
+ :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the file name in the OSS bucket to which the trail delivers logs.
310
+ :param pulumi.Input[_builtins.str] oss_write_role_arn: The name of the RAM role that the user allows ActionTrail to access OSS service.
311
+ :param pulumi.Input[_builtins.str] region_id: (Available since v1.256.0) The home region of the trail.
312
+ :param pulumi.Input[_builtins.str] role_name: Field `role_name` has been deprecated from provider version 1.118.0.
313
+ :param pulumi.Input[_builtins.str] sls_project_arn: The ARN of the Simple Log Service project to which the trail delivers logs.
314
+ :param pulumi.Input[_builtins.str] sls_write_role_arn: The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
315
+ :param pulumi.Input[_builtins.str] status: The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
316
+ :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created.
317
+ :param pulumi.Input[_builtins.str] trail_region: The region of the trail.
318
+ """
319
+ if create_time is not None:
320
+ pulumi.set(__self__, "create_time", create_time)
279
321
  if event_rw is not None:
280
322
  pulumi.set(__self__, "event_rw", event_rw)
281
323
  if is_organization_trail is not None:
282
324
  pulumi.set(__self__, "is_organization_trail", is_organization_trail)
325
+ if max_compute_project_arn is not None:
326
+ pulumi.set(__self__, "max_compute_project_arn", max_compute_project_arn)
327
+ if max_compute_write_role_arn is not None:
328
+ pulumi.set(__self__, "max_compute_write_role_arn", max_compute_write_role_arn)
283
329
  if mns_topic_arn is not None:
284
- warnings.warn("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""", DeprecationWarning)
285
- pulumi.log.warn("""mns_topic_arn is deprecated: Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
330
+ warnings.warn("""Field `mns_topic_arn` has been deprecated from version 1.118.0""", DeprecationWarning)
331
+ pulumi.log.warn("""mns_topic_arn is deprecated: Field `mns_topic_arn` has been deprecated from version 1.118.0""")
286
332
  if mns_topic_arn is not None:
287
333
  pulumi.set(__self__, "mns_topic_arn", mns_topic_arn)
288
334
  if name is not None:
289
- warnings.warn("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""", DeprecationWarning)
290
- pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
335
+ warnings.warn("""Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""", DeprecationWarning)
336
+ pulumi.log.warn("""name is deprecated: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""")
291
337
  if name is not None:
292
338
  pulumi.set(__self__, "name", name)
293
339
  if oss_bucket_name is not None:
@@ -296,9 +342,11 @@ class _TrailState:
296
342
  pulumi.set(__self__, "oss_key_prefix", oss_key_prefix)
297
343
  if oss_write_role_arn is not None:
298
344
  pulumi.set(__self__, "oss_write_role_arn", oss_write_role_arn)
345
+ if region_id is not None:
346
+ pulumi.set(__self__, "region_id", region_id)
299
347
  if role_name is not None:
300
- warnings.warn("""Field 'role_name' has been deprecated from version 1.118.0""", DeprecationWarning)
301
- pulumi.log.warn("""role_name is deprecated: Field 'role_name' has been deprecated from version 1.118.0""")
348
+ warnings.warn("""Field `role_name` has been deprecated from version 1.118.0""", DeprecationWarning)
349
+ pulumi.log.warn("""role_name is deprecated: Field `role_name` has been deprecated from version 1.118.0""")
302
350
  if role_name is not None:
303
351
  pulumi.set(__self__, "role_name", role_name)
304
352
  if sls_project_arn is not None:
@@ -312,11 +360,23 @@ class _TrailState:
312
360
  if trail_region is not None:
313
361
  pulumi.set(__self__, "trail_region", trail_region)
314
362
 
363
+ @_builtins.property
364
+ @pulumi.getter(name="createTime")
365
+ def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
366
+ """
367
+ (Available since v1.256.0) The time when the trail was created.
368
+ """
369
+ return pulumi.get(self, "create_time")
370
+
371
+ @create_time.setter
372
+ def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
373
+ pulumi.set(self, "create_time", value)
374
+
315
375
  @_builtins.property
316
376
  @pulumi.getter(name="eventRw")
317
377
  def event_rw(self) -> Optional[pulumi.Input[_builtins.str]]:
318
378
  """
319
- Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
379
+ The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
320
380
  """
321
381
  return pulumi.get(self, "event_rw")
322
382
 
@@ -328,7 +388,7 @@ class _TrailState:
328
388
  @pulumi.getter(name="isOrganizationTrail")
329
389
  def is_organization_trail(self) -> Optional[pulumi.Input[_builtins.bool]]:
330
390
  """
331
- Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
391
+ Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
332
392
  """
333
393
  return pulumi.get(self, "is_organization_trail")
334
394
 
@@ -336,12 +396,36 @@ class _TrailState:
336
396
  def is_organization_trail(self, value: Optional[pulumi.Input[_builtins.bool]]):
337
397
  pulumi.set(self, "is_organization_trail", value)
338
398
 
399
+ @_builtins.property
400
+ @pulumi.getter(name="maxComputeProjectArn")
401
+ def max_compute_project_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
402
+ """
403
+ The ARN of the MaxCompute project to which you want to deliver events.
404
+ """
405
+ return pulumi.get(self, "max_compute_project_arn")
406
+
407
+ @max_compute_project_arn.setter
408
+ def max_compute_project_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
409
+ pulumi.set(self, "max_compute_project_arn", value)
410
+
411
+ @_builtins.property
412
+ @pulumi.getter(name="maxComputeWriteRoleArn")
413
+ def max_compute_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
414
+ """
415
+ The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
416
+ """
417
+ return pulumi.get(self, "max_compute_write_role_arn")
418
+
419
+ @max_compute_write_role_arn.setter
420
+ def max_compute_write_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
421
+ pulumi.set(self, "max_compute_write_role_arn", value)
422
+
339
423
  @_builtins.property
340
424
  @pulumi.getter(name="mnsTopicArn")
341
- @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
425
+ @_utilities.deprecated("""Field `mns_topic_arn` has been deprecated from version 1.118.0""")
342
426
  def mns_topic_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
343
427
  """
344
- Field `mns_topic_arn` has been deprecated from version 1.118.0.
428
+ Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
345
429
  """
346
430
  return pulumi.get(self, "mns_topic_arn")
347
431
 
@@ -351,10 +435,10 @@ class _TrailState:
351
435
 
352
436
  @_builtins.property
353
437
  @pulumi.getter
354
- @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
438
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""")
355
439
  def name(self) -> Optional[pulumi.Input[_builtins.str]]:
356
440
  """
357
- Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
441
+ Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
358
442
  """
359
443
  return pulumi.get(self, "name")
360
444
 
@@ -366,7 +450,7 @@ class _TrailState:
366
450
  @pulumi.getter(name="ossBucketName")
367
451
  def oss_bucket_name(self) -> Optional[pulumi.Input[_builtins.str]]:
368
452
  """
369
- The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
453
+ The OSS bucket to which the trail delivers logs.
370
454
  """
371
455
  return pulumi.get(self, "oss_bucket_name")
372
456
 
@@ -378,7 +462,7 @@ class _TrailState:
378
462
  @pulumi.getter(name="ossKeyPrefix")
379
463
  def oss_key_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
380
464
  """
381
- The prefix of the specified OSS bucket name. This parameter can be left empty.
465
+ The prefix of the file name in the OSS bucket to which the trail delivers logs.
382
466
  """
383
467
  return pulumi.get(self, "oss_key_prefix")
384
468
 
@@ -390,7 +474,7 @@ class _TrailState:
390
474
  @pulumi.getter(name="ossWriteRoleArn")
391
475
  def oss_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
392
476
  """
393
- The unique ARN of the Oss role.
477
+ The name of the RAM role that the user allows ActionTrail to access OSS service.
394
478
  """
395
479
  return pulumi.get(self, "oss_write_role_arn")
396
480
 
@@ -398,12 +482,24 @@ class _TrailState:
398
482
  def oss_write_role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
399
483
  pulumi.set(self, "oss_write_role_arn", value)
400
484
 
485
+ @_builtins.property
486
+ @pulumi.getter(name="regionId")
487
+ def region_id(self) -> Optional[pulumi.Input[_builtins.str]]:
488
+ """
489
+ (Available since v1.256.0) The home region of the trail.
490
+ """
491
+ return pulumi.get(self, "region_id")
492
+
493
+ @region_id.setter
494
+ def region_id(self, value: Optional[pulumi.Input[_builtins.str]]):
495
+ pulumi.set(self, "region_id", value)
496
+
401
497
  @_builtins.property
402
498
  @pulumi.getter(name="roleName")
403
- @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
499
+ @_utilities.deprecated("""Field `role_name` has been deprecated from version 1.118.0""")
404
500
  def role_name(self) -> Optional[pulumi.Input[_builtins.str]]:
405
501
  """
406
- Field `name` has been deprecated from version 1.118.0.
502
+ Field `role_name` has been deprecated from provider version 1.118.0.
407
503
  """
408
504
  return pulumi.get(self, "role_name")
409
505
 
@@ -415,7 +511,7 @@ class _TrailState:
415
511
  @pulumi.getter(name="slsProjectArn")
416
512
  def sls_project_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
417
513
  """
418
- The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
514
+ The ARN of the Simple Log Service project to which the trail delivers logs.
419
515
  """
420
516
  return pulumi.get(self, "sls_project_arn")
421
517
 
@@ -427,7 +523,7 @@ class _TrailState:
427
523
  @pulumi.getter(name="slsWriteRoleArn")
428
524
  def sls_write_role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
429
525
  """
430
- The unique ARN of the Log Service role.
526
+ The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
431
527
  """
432
528
  return pulumi.get(self, "sls_write_role_arn")
433
529
 
@@ -439,7 +535,7 @@ class _TrailState:
439
535
  @pulumi.getter
440
536
  def status(self) -> Optional[pulumi.Input[_builtins.str]]:
441
537
  """
442
- The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
538
+ The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
443
539
  """
444
540
  return pulumi.get(self, "status")
445
541
 
@@ -451,7 +547,7 @@ class _TrailState:
451
547
  @pulumi.getter(name="trailName")
452
548
  def trail_name(self) -> Optional[pulumi.Input[_builtins.str]]:
453
549
  """
454
- The name of the trail to be created, which must be unique for an account.
550
+ The name of the trail to be created.
455
551
  """
456
552
  return pulumi.get(self, "trail_name")
457
553
 
@@ -463,7 +559,7 @@ class _TrailState:
463
559
  @pulumi.getter(name="trailRegion")
464
560
  def trail_region(self) -> Optional[pulumi.Input[_builtins.str]]:
465
561
  """
466
- The regions to which the trail is applied. Default to `All`.
562
+ The region of the trail.
467
563
  """
468
564
  return pulumi.get(self, "trail_region")
469
565
 
@@ -480,6 +576,8 @@ class Trail(pulumi.CustomResource):
480
576
  opts: Optional[pulumi.ResourceOptions] = None,
481
577
  event_rw: Optional[pulumi.Input[_builtins.str]] = None,
482
578
  is_organization_trail: Optional[pulumi.Input[_builtins.bool]] = None,
579
+ max_compute_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
580
+ max_compute_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
483
581
  mns_topic_arn: Optional[pulumi.Input[_builtins.str]] = None,
484
582
  name: Optional[pulumi.Input[_builtins.str]] = None,
485
583
  oss_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -493,16 +591,18 @@ class Trail(pulumi.CustomResource):
493
591
  trail_region: Optional[pulumi.Input[_builtins.str]] = None,
494
592
  __props__=None):
495
593
  """
496
- Provides a ActionTrail Trail resource. For information about alicloud actiontrail trail and how to use it, see [What is Resource Alicloud ActionTrail Trail](https://www.alibabacloud.com/help/en/actiontrail/latest/api-actiontrail-2020-07-06-createtrail).
594
+ Provides a Actiontrail Trail resource.
497
595
 
498
- > **NOTE:** Available since v1.95.0.
596
+ Trail of ActionTrail. After creating a trail, you need to enable the trail through StartLogging.
499
597
 
500
- > **NOTE:** You can create a trail to deliver events to Log Service, Object Storage Service (OSS), or both. Before you call this operation to create a trail, make sure that the following requirements are met.
501
- - Deliver events to Log Service: A project is created in Log Service.
502
- - Deliver events to OSS: A bucket is created in OSS.
598
+ For information about Actiontrail Trail and how to use it, see [What is Trail](https://www.alibabacloud.com/help/en/actiontrail/latest/api-actiontrail-2020-07-06-createtrail).
599
+
600
+ > **NOTE:** Available since v1.95.0.
503
601
 
504
602
  ## Example Usage
505
603
 
604
+ Basic Usage
605
+
506
606
  ```python
507
607
  import pulumi
508
608
  import pulumi_alicloud as alicloud
@@ -511,45 +611,47 @@ class Trail(pulumi.CustomResource):
511
611
  config = pulumi.Config()
512
612
  name = config.get("name")
513
613
  if name is None:
514
- name = "tf-example"
515
- default = random.index.Integer("default",
614
+ name = "terraform-example"
615
+ default = alicloud.get_regions(current=True)
616
+ default_get_account = alicloud.get_account()
617
+ default_integer = random.index.Integer("default",
516
618
  min=10000,
517
619
  max=99999)
518
- example = alicloud.get_regions(current=True)
519
- example_get_account = alicloud.get_account()
520
- example_project = alicloud.log.Project("example",
521
- project_name=f"{name}-{default['result']}",
620
+ default_project = alicloud.log.Project("default",
621
+ project_name=f"{name}-{default_integer['result']}",
522
622
  description="tf actiontrail example")
523
- example_get_roles = alicloud.ram.get_roles(name_regex="AliyunServiceRoleForActionTrail")
524
- example_trail = alicloud.actiontrail.Trail("example",
623
+ default_get_roles = alicloud.ram.get_roles(name_regex="AliyunServiceRoleForActionTrail")
624
+ default_trail = alicloud.actiontrail.Trail("default",
525
625
  trail_name=name,
526
- sls_write_role_arn=example_get_roles.roles[0].arn,
527
- sls_project_arn=example_project.project_name.apply(lambda project_name: f"acs:log:{example.regions[0].id}:{example_get_account.id}:project/{project_name}"))
626
+ sls_write_role_arn=default_get_roles.roles[0].arn,
627
+ sls_project_arn=default_project.project_name.apply(lambda project_name: f"acs:log:{default.regions[0].id}:{default_get_account.id}:project/{project_name}"))
528
628
  ```
529
629
 
530
630
  ## Import
531
631
 
532
- Action trail can be imported using the id or trail_name, e.g.
632
+ Actiontrail Trail can be imported using the id, e.g.
533
633
 
534
634
  ```sh
535
- $ pulumi import alicloud:actiontrail/trail:Trail default abc12345678
635
+ $ pulumi import alicloud:actiontrail/trail:Trail example <id>
536
636
  ```
537
637
 
538
638
  :param str resource_name: The name of the resource.
539
639
  :param pulumi.ResourceOptions opts: Options for the resource.
540
- :param pulumi.Input[_builtins.str] event_rw: Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
541
- :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
542
- :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from version 1.118.0.
543
- :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
544
- :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
545
- :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the specified OSS bucket name. This parameter can be left empty.
546
- :param pulumi.Input[_builtins.str] oss_write_role_arn: The unique ARN of the Oss role.
547
- :param pulumi.Input[_builtins.str] role_name: Field `name` has been deprecated from version 1.118.0.
548
- :param pulumi.Input[_builtins.str] sls_project_arn: The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
549
- :param pulumi.Input[_builtins.str] sls_write_role_arn: The unique ARN of the Log Service role.
550
- :param pulumi.Input[_builtins.str] status: The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
551
- :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created, which must be unique for an account.
552
- :param pulumi.Input[_builtins.str] trail_region: The regions to which the trail is applied. Default to `All`.
640
+ :param pulumi.Input[_builtins.str] event_rw: The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
641
+ :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
642
+ :param pulumi.Input[_builtins.str] max_compute_project_arn: The ARN of the MaxCompute project to which you want to deliver events.
643
+ :param pulumi.Input[_builtins.str] max_compute_write_role_arn: The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
644
+ :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
645
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
646
+ :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs.
647
+ :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the file name in the OSS bucket to which the trail delivers logs.
648
+ :param pulumi.Input[_builtins.str] oss_write_role_arn: The name of the RAM role that the user allows ActionTrail to access OSS service.
649
+ :param pulumi.Input[_builtins.str] role_name: Field `role_name` has been deprecated from provider version 1.118.0.
650
+ :param pulumi.Input[_builtins.str] sls_project_arn: The ARN of the Simple Log Service project to which the trail delivers logs.
651
+ :param pulumi.Input[_builtins.str] sls_write_role_arn: The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
652
+ :param pulumi.Input[_builtins.str] status: The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
653
+ :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created.
654
+ :param pulumi.Input[_builtins.str] trail_region: The region of the trail.
553
655
  """
554
656
  ...
555
657
  @overload
@@ -558,16 +660,18 @@ class Trail(pulumi.CustomResource):
558
660
  args: Optional[TrailArgs] = None,
559
661
  opts: Optional[pulumi.ResourceOptions] = None):
560
662
  """
561
- Provides a ActionTrail Trail resource. For information about alicloud actiontrail trail and how to use it, see [What is Resource Alicloud ActionTrail Trail](https://www.alibabacloud.com/help/en/actiontrail/latest/api-actiontrail-2020-07-06-createtrail).
663
+ Provides a Actiontrail Trail resource.
562
664
 
563
- > **NOTE:** Available since v1.95.0.
665
+ Trail of ActionTrail. After creating a trail, you need to enable the trail through StartLogging.
666
+
667
+ For information about Actiontrail Trail and how to use it, see [What is Trail](https://www.alibabacloud.com/help/en/actiontrail/latest/api-actiontrail-2020-07-06-createtrail).
564
668
 
565
- > **NOTE:** You can create a trail to deliver events to Log Service, Object Storage Service (OSS), or both. Before you call this operation to create a trail, make sure that the following requirements are met.
566
- - Deliver events to Log Service: A project is created in Log Service.
567
- - Deliver events to OSS: A bucket is created in OSS.
669
+ > **NOTE:** Available since v1.95.0.
568
670
 
569
671
  ## Example Usage
570
672
 
673
+ Basic Usage
674
+
571
675
  ```python
572
676
  import pulumi
573
677
  import pulumi_alicloud as alicloud
@@ -576,28 +680,28 @@ class Trail(pulumi.CustomResource):
576
680
  config = pulumi.Config()
577
681
  name = config.get("name")
578
682
  if name is None:
579
- name = "tf-example"
580
- default = random.index.Integer("default",
683
+ name = "terraform-example"
684
+ default = alicloud.get_regions(current=True)
685
+ default_get_account = alicloud.get_account()
686
+ default_integer = random.index.Integer("default",
581
687
  min=10000,
582
688
  max=99999)
583
- example = alicloud.get_regions(current=True)
584
- example_get_account = alicloud.get_account()
585
- example_project = alicloud.log.Project("example",
586
- project_name=f"{name}-{default['result']}",
689
+ default_project = alicloud.log.Project("default",
690
+ project_name=f"{name}-{default_integer['result']}",
587
691
  description="tf actiontrail example")
588
- example_get_roles = alicloud.ram.get_roles(name_regex="AliyunServiceRoleForActionTrail")
589
- example_trail = alicloud.actiontrail.Trail("example",
692
+ default_get_roles = alicloud.ram.get_roles(name_regex="AliyunServiceRoleForActionTrail")
693
+ default_trail = alicloud.actiontrail.Trail("default",
590
694
  trail_name=name,
591
- sls_write_role_arn=example_get_roles.roles[0].arn,
592
- sls_project_arn=example_project.project_name.apply(lambda project_name: f"acs:log:{example.regions[0].id}:{example_get_account.id}:project/{project_name}"))
695
+ sls_write_role_arn=default_get_roles.roles[0].arn,
696
+ sls_project_arn=default_project.project_name.apply(lambda project_name: f"acs:log:{default.regions[0].id}:{default_get_account.id}:project/{project_name}"))
593
697
  ```
594
698
 
595
699
  ## Import
596
700
 
597
- Action trail can be imported using the id or trail_name, e.g.
701
+ Actiontrail Trail can be imported using the id, e.g.
598
702
 
599
703
  ```sh
600
- $ pulumi import alicloud:actiontrail/trail:Trail default abc12345678
704
+ $ pulumi import alicloud:actiontrail/trail:Trail example <id>
601
705
  ```
602
706
 
603
707
  :param str resource_name: The name of the resource.
@@ -617,6 +721,8 @@ class Trail(pulumi.CustomResource):
617
721
  opts: Optional[pulumi.ResourceOptions] = None,
618
722
  event_rw: Optional[pulumi.Input[_builtins.str]] = None,
619
723
  is_organization_trail: Optional[pulumi.Input[_builtins.bool]] = None,
724
+ max_compute_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
725
+ max_compute_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
620
726
  mns_topic_arn: Optional[pulumi.Input[_builtins.str]] = None,
621
727
  name: Optional[pulumi.Input[_builtins.str]] = None,
622
728
  oss_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
@@ -639,6 +745,8 @@ class Trail(pulumi.CustomResource):
639
745
 
640
746
  __props__.__dict__["event_rw"] = event_rw
641
747
  __props__.__dict__["is_organization_trail"] = is_organization_trail
748
+ __props__.__dict__["max_compute_project_arn"] = max_compute_project_arn
749
+ __props__.__dict__["max_compute_write_role_arn"] = max_compute_write_role_arn
642
750
  __props__.__dict__["mns_topic_arn"] = mns_topic_arn
643
751
  __props__.__dict__["name"] = name
644
752
  __props__.__dict__["oss_bucket_name"] = oss_bucket_name
@@ -650,6 +758,8 @@ class Trail(pulumi.CustomResource):
650
758
  __props__.__dict__["status"] = status
651
759
  __props__.__dict__["trail_name"] = trail_name
652
760
  __props__.__dict__["trail_region"] = trail_region
761
+ __props__.__dict__["create_time"] = None
762
+ __props__.__dict__["region_id"] = None
653
763
  super(Trail, __self__).__init__(
654
764
  'alicloud:actiontrail/trail:Trail',
655
765
  resource_name,
@@ -660,13 +770,17 @@ class Trail(pulumi.CustomResource):
660
770
  def get(resource_name: str,
661
771
  id: pulumi.Input[str],
662
772
  opts: Optional[pulumi.ResourceOptions] = None,
773
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
663
774
  event_rw: Optional[pulumi.Input[_builtins.str]] = None,
664
775
  is_organization_trail: Optional[pulumi.Input[_builtins.bool]] = None,
776
+ max_compute_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
777
+ max_compute_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
665
778
  mns_topic_arn: Optional[pulumi.Input[_builtins.str]] = None,
666
779
  name: Optional[pulumi.Input[_builtins.str]] = None,
667
780
  oss_bucket_name: Optional[pulumi.Input[_builtins.str]] = None,
668
781
  oss_key_prefix: Optional[pulumi.Input[_builtins.str]] = None,
669
782
  oss_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
783
+ region_id: Optional[pulumi.Input[_builtins.str]] = None,
670
784
  role_name: Optional[pulumi.Input[_builtins.str]] = None,
671
785
  sls_project_arn: Optional[pulumi.Input[_builtins.str]] = None,
672
786
  sls_write_role_arn: Optional[pulumi.Input[_builtins.str]] = None,
@@ -680,31 +794,39 @@ class Trail(pulumi.CustomResource):
680
794
  :param str resource_name: The unique name of the resulting resource.
681
795
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
682
796
  :param pulumi.ResourceOptions opts: Options for the resource.
683
- :param pulumi.Input[_builtins.str] event_rw: Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
684
- :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
685
- :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from version 1.118.0.
686
- :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
687
- :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
688
- :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the specified OSS bucket name. This parameter can be left empty.
689
- :param pulumi.Input[_builtins.str] oss_write_role_arn: The unique ARN of the Oss role.
690
- :param pulumi.Input[_builtins.str] role_name: Field `name` has been deprecated from version 1.118.0.
691
- :param pulumi.Input[_builtins.str] sls_project_arn: The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
692
- :param pulumi.Input[_builtins.str] sls_write_role_arn: The unique ARN of the Log Service role.
693
- :param pulumi.Input[_builtins.str] status: The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
694
- :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created, which must be unique for an account.
695
- :param pulumi.Input[_builtins.str] trail_region: The regions to which the trail is applied. Default to `All`.
797
+ :param pulumi.Input[_builtins.str] create_time: (Available since v1.256.0) The time when the trail was created.
798
+ :param pulumi.Input[_builtins.str] event_rw: The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
799
+ :param pulumi.Input[_builtins.bool] is_organization_trail: Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
800
+ :param pulumi.Input[_builtins.str] max_compute_project_arn: The ARN of the MaxCompute project to which you want to deliver events.
801
+ :param pulumi.Input[_builtins.str] max_compute_write_role_arn: The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
802
+ :param pulumi.Input[_builtins.str] mns_topic_arn: Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
803
+ :param pulumi.Input[_builtins.str] name: Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
804
+ :param pulumi.Input[_builtins.str] oss_bucket_name: The OSS bucket to which the trail delivers logs.
805
+ :param pulumi.Input[_builtins.str] oss_key_prefix: The prefix of the file name in the OSS bucket to which the trail delivers logs.
806
+ :param pulumi.Input[_builtins.str] oss_write_role_arn: The name of the RAM role that the user allows ActionTrail to access OSS service.
807
+ :param pulumi.Input[_builtins.str] region_id: (Available since v1.256.0) The home region of the trail.
808
+ :param pulumi.Input[_builtins.str] role_name: Field `role_name` has been deprecated from provider version 1.118.0.
809
+ :param pulumi.Input[_builtins.str] sls_project_arn: The ARN of the Simple Log Service project to which the trail delivers logs.
810
+ :param pulumi.Input[_builtins.str] sls_write_role_arn: The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
811
+ :param pulumi.Input[_builtins.str] status: The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
812
+ :param pulumi.Input[_builtins.str] trail_name: The name of the trail to be created.
813
+ :param pulumi.Input[_builtins.str] trail_region: The region of the trail.
696
814
  """
697
815
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
698
816
 
699
817
  __props__ = _TrailState.__new__(_TrailState)
700
818
 
819
+ __props__.__dict__["create_time"] = create_time
701
820
  __props__.__dict__["event_rw"] = event_rw
702
821
  __props__.__dict__["is_organization_trail"] = is_organization_trail
822
+ __props__.__dict__["max_compute_project_arn"] = max_compute_project_arn
823
+ __props__.__dict__["max_compute_write_role_arn"] = max_compute_write_role_arn
703
824
  __props__.__dict__["mns_topic_arn"] = mns_topic_arn
704
825
  __props__.__dict__["name"] = name
705
826
  __props__.__dict__["oss_bucket_name"] = oss_bucket_name
706
827
  __props__.__dict__["oss_key_prefix"] = oss_key_prefix
707
828
  __props__.__dict__["oss_write_role_arn"] = oss_write_role_arn
829
+ __props__.__dict__["region_id"] = region_id
708
830
  __props__.__dict__["role_name"] = role_name
709
831
  __props__.__dict__["sls_project_arn"] = sls_project_arn
710
832
  __props__.__dict__["sls_write_role_arn"] = sls_write_role_arn
@@ -713,11 +835,19 @@ class Trail(pulumi.CustomResource):
713
835
  __props__.__dict__["trail_region"] = trail_region
714
836
  return Trail(resource_name, opts=opts, __props__=__props__)
715
837
 
838
+ @_builtins.property
839
+ @pulumi.getter(name="createTime")
840
+ def create_time(self) -> pulumi.Output[_builtins.str]:
841
+ """
842
+ (Available since v1.256.0) The time when the trail was created.
843
+ """
844
+ return pulumi.get(self, "create_time")
845
+
716
846
  @_builtins.property
717
847
  @pulumi.getter(name="eventRw")
718
- def event_rw(self) -> pulumi.Output[Optional[_builtins.str]]:
848
+ def event_rw(self) -> pulumi.Output[_builtins.str]:
719
849
  """
720
- Indicates whether the event is a read or a write event. Valid values: `Read`, `Write`, and `All`. Default to `Write`.
850
+ The read/write type of the events to be delivered. Default value: `All`. Valid values: `Read`, `Write`, `All`.
721
851
  """
722
852
  return pulumi.get(self, "event_rw")
723
853
 
@@ -725,25 +855,41 @@ class Trail(pulumi.CustomResource):
725
855
  @pulumi.getter(name="isOrganizationTrail")
726
856
  def is_organization_trail(self) -> pulumi.Output[Optional[_builtins.bool]]:
727
857
  """
728
- Specifies whether to create a multi-account trail. Valid values:`true`: Create a multi-account trail.`false`: Create a single-account trail. It is the default value.
858
+ Specifies whether to create a multi-account trail. Default value: `false`. Valid values:
729
859
  """
730
860
  return pulumi.get(self, "is_organization_trail")
731
861
 
862
+ @_builtins.property
863
+ @pulumi.getter(name="maxComputeProjectArn")
864
+ def max_compute_project_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
865
+ """
866
+ The ARN of the MaxCompute project to which you want to deliver events.
867
+ """
868
+ return pulumi.get(self, "max_compute_project_arn")
869
+
870
+ @_builtins.property
871
+ @pulumi.getter(name="maxComputeWriteRoleArn")
872
+ def max_compute_write_role_arn(self) -> pulumi.Output[_builtins.str]:
873
+ """
874
+ The ARN of the role that is assumed by ActionTrail to deliver events to the MaxCompute project.
875
+ """
876
+ return pulumi.get(self, "max_compute_write_role_arn")
877
+
732
878
  @_builtins.property
733
879
  @pulumi.getter(name="mnsTopicArn")
734
- @_utilities.deprecated("""Field 'mns_topic_arn' has been deprecated from version 1.118.0""")
880
+ @_utilities.deprecated("""Field `mns_topic_arn` has been deprecated from version 1.118.0""")
735
881
  def mns_topic_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
736
882
  """
737
- Field `mns_topic_arn` has been deprecated from version 1.118.0.
883
+ Field `mns_topic_arn` has been deprecated from provider version 1.118.0.
738
884
  """
739
885
  return pulumi.get(self, "mns_topic_arn")
740
886
 
741
887
  @_builtins.property
742
888
  @pulumi.getter
743
- @_utilities.deprecated("""Field 'name' has been deprecated from version 1.95.0. Use 'trail_name' instead.""")
889
+ @_utilities.deprecated("""Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.""")
744
890
  def name(self) -> pulumi.Output[_builtins.str]:
745
891
  """
746
- Field `name` has been deprecated from version 1.95.0. Use `trail_name` instead.
892
+ Field `name` has been deprecated from provider version 1.95.0. New field `trail_name` instead.
747
893
  """
748
894
  return pulumi.get(self, "name")
749
895
 
@@ -751,7 +897,7 @@ class Trail(pulumi.CustomResource):
751
897
  @pulumi.getter(name="ossBucketName")
752
898
  def oss_bucket_name(self) -> pulumi.Output[Optional[_builtins.str]]:
753
899
  """
754
- The OSS bucket to which the trail delivers logs. Ensure that this is an existing OSS bucket.
900
+ The OSS bucket to which the trail delivers logs.
755
901
  """
756
902
  return pulumi.get(self, "oss_bucket_name")
757
903
 
@@ -759,7 +905,7 @@ class Trail(pulumi.CustomResource):
759
905
  @pulumi.getter(name="ossKeyPrefix")
760
906
  def oss_key_prefix(self) -> pulumi.Output[Optional[_builtins.str]]:
761
907
  """
762
- The prefix of the specified OSS bucket name. This parameter can be left empty.
908
+ The prefix of the file name in the OSS bucket to which the trail delivers logs.
763
909
  """
764
910
  return pulumi.get(self, "oss_key_prefix")
765
911
 
@@ -767,16 +913,24 @@ class Trail(pulumi.CustomResource):
767
913
  @pulumi.getter(name="ossWriteRoleArn")
768
914
  def oss_write_role_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
769
915
  """
770
- The unique ARN of the Oss role.
916
+ The name of the RAM role that the user allows ActionTrail to access OSS service.
771
917
  """
772
918
  return pulumi.get(self, "oss_write_role_arn")
773
919
 
920
+ @_builtins.property
921
+ @pulumi.getter(name="regionId")
922
+ def region_id(self) -> pulumi.Output[_builtins.str]:
923
+ """
924
+ (Available since v1.256.0) The home region of the trail.
925
+ """
926
+ return pulumi.get(self, "region_id")
927
+
774
928
  @_builtins.property
775
929
  @pulumi.getter(name="roleName")
776
- @_utilities.deprecated("""Field 'role_name' has been deprecated from version 1.118.0""")
777
- def role_name(self) -> pulumi.Output[_builtins.str]:
930
+ @_utilities.deprecated("""Field `role_name` has been deprecated from version 1.118.0""")
931
+ def role_name(self) -> pulumi.Output[Optional[_builtins.str]]:
778
932
  """
779
- Field `name` has been deprecated from version 1.118.0.
933
+ Field `role_name` has been deprecated from provider version 1.118.0.
780
934
  """
781
935
  return pulumi.get(self, "role_name")
782
936
 
@@ -784,7 +938,7 @@ class Trail(pulumi.CustomResource):
784
938
  @pulumi.getter(name="slsProjectArn")
785
939
  def sls_project_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
786
940
  """
787
- The unique ARN of the Log Service project. Ensure that `sls_project_arn` is valid .
941
+ The ARN of the Simple Log Service project to which the trail delivers logs.
788
942
  """
789
943
  return pulumi.get(self, "sls_project_arn")
790
944
 
@@ -792,7 +946,7 @@ class Trail(pulumi.CustomResource):
792
946
  @pulumi.getter(name="slsWriteRoleArn")
793
947
  def sls_write_role_arn(self) -> pulumi.Output[_builtins.str]:
794
948
  """
795
- The unique ARN of the Log Service role.
949
+ The ARN of the role that ActionTrail assumes to deliver operation events to the Simple Log Service project.
796
950
  """
797
951
  return pulumi.get(self, "sls_write_role_arn")
798
952
 
@@ -800,7 +954,7 @@ class Trail(pulumi.CustomResource):
800
954
  @pulumi.getter
801
955
  def status(self) -> pulumi.Output[Optional[_builtins.str]]:
802
956
  """
803
- The status of ActionTrail Trail. After creation, tracking is turned on by default, and you can set the status value to `Disable` to turn off tracking. Valid values: `Enable`, `Disable`. Default to `Enable`.
957
+ The status of the trail. Default value: `Enable`. Valid values: `Enable`, `Disable`.
804
958
  """
805
959
  return pulumi.get(self, "status")
806
960
 
@@ -808,7 +962,7 @@ class Trail(pulumi.CustomResource):
808
962
  @pulumi.getter(name="trailName")
809
963
  def trail_name(self) -> pulumi.Output[_builtins.str]:
810
964
  """
811
- The name of the trail to be created, which must be unique for an account.
965
+ The name of the trail to be created.
812
966
  """
813
967
  return pulumi.get(self, "trail_name")
814
968
 
@@ -816,7 +970,7 @@ class Trail(pulumi.CustomResource):
816
970
  @pulumi.getter(name="trailRegion")
817
971
  def trail_region(self) -> pulumi.Output[_builtins.str]:
818
972
  """
819
- The regions to which the trail is applied. Default to `All`.
973
+ The region of the trail.
820
974
  """
821
975
  return pulumi.get(self, "trail_region")
822
976