Skip to content

ServiceLogProps

Properties for defining a ServiceLog.

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

Initializer

import { ServiceLogProps } from '@alicloud/ros-cdk-sls'
const serviceLogProps: ServiceLogProps = { ... }

Properties

Name Type Description
logStorageLocation string | @alicloud/ros-cdk-core.IResolvable Property logStorageLocation: The location of the service log.
projectName string | @alicloud/ros-cdk-core.IResolvable Property projectName: The name of the project that needs to be activated.
serviceLogTypes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property serviceLogTypes: Types of service log that needs to be activated.

logStorageLocationRequired

public readonly logStorageLocation: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property logStorageLocation: The location of the service log.


projectNameRequired

public readonly projectName: string | IResolvable;
  • Type: string | @alicloud/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.


serviceLogTypesRequired

public readonly serviceLogTypes: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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