Skip to content

ServiceLogProps

Properties for defining a ServiceLog.

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

Initializer

import com.aliyun.ros.cdk.sls.ServiceLogProps;
ServiceLogProps.builder()
    .logStorageLocation(java.lang.String)
    .logStorageLocation(IResolvable)
    .projectName(java.lang.String)
    .projectName(IResolvable)
    .serviceLogTypes(IResolvable)
    .serviceLogTypes(java.util.List<java.lang.String)
    .serviceLogTypes(IResolvable>)
    .build();

Properties

Name Type Description
logStorageLocation java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property logStorageLocation: The location of the service log.
projectName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property projectName: The name of the project that needs to be activated.
serviceLogTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property serviceLogTypes: Types of service log that needs to be activated.

logStorageLocationRequired

public java.lang.Object getLogStorageLocation();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property logStorageLocation: The location of the service log.


projectNameRequired

public java.lang.Object getProjectName();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getServiceLogTypes();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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