Skip to content

LogstoresProps

Properties for defining a Logstores.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-sls-logstores

Initializer

from ros_cdk_sls import datasource
datasource.LogstoresProps(
  project: typing.Union[str, IResolvable],
  logstore_name: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
project typing.Union[str, ros_cdk_core.IResolvable] Property project: Project name.
logstore_name typing.Union[str, ros_cdk_core.IResolvable] Property logstoreName: Logstore name.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

projectRequired

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

Property project: Project name.


logstore_nameOptional

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

Property logstoreName: Logstore name.


refresh_optionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.