Skip to content

ServiceLogProps

Properties for defining a ServiceLog.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-servicelog

Initializer

import ros_cdk_sls
ros_cdk_sls.ServiceLogProps(
  log_storage_location: typing.Union[str, IResolvable],
  project_name: typing.Union[str, IResolvable],
  service_log_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
)

Properties

Name Type Description
log_storage_location typing.Union[str, ros_cdk_core.IResolvable] Property logStorageLocation: The location of the service log.
project_name typing.Union[str, ros_cdk_core.IResolvable] Property projectName: The name of the project that needs to be activated.
service_log_types typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property serviceLogTypes: Types of service log that needs to be activated.

log_storage_locationRequired

log_storage_location: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property logStorageLocation: The location of the service log.


project_nameRequired

project_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property projectName: The name of the project that needs to be activated.

If it has been activated, it will be reactivated again.


service_log_typesRequired

service_log_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property serviceLogTypes: Types of service log that needs to be activated.