Skip to content

CycleTaskProps

Properties for defining a CycleTask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-cycletask

Initializer

import { CycleTaskProps } from '@alicloud/ros-cdk-threatdetection'
const cycleTaskProps: CycleTaskProps = { ... }

Properties

Name Type Description
enable number | @alicloud/ros-cdk-core.IResolvable Property enable: Specifies whether to enable the task.
firstDateStr number | @alicloud/ros-cdk-core.IResolvable Property firstDateStr: The first time when the task is performed.
intervalPeriod number | @alicloud/ros-cdk-core.IResolvable Property intervalPeriod: The interval at which the task is run.
periodUnit string | @alicloud/ros-cdk-core.IResolvable Property periodUnit: The unit of the scan interval.
targetEndTime number | @alicloud/ros-cdk-core.IResolvable Property targetEndTime: The time when the task ends.
targetStartTime number | @alicloud/ros-cdk-core.IResolvable Property targetStartTime: The time when the task is started.
taskName string | @alicloud/ros-cdk-core.IResolvable Property taskName: The task name.
taskType string | @alicloud/ros-cdk-core.IResolvable Property taskType: The type of the task.
param @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property param: The additional information.
source string | @alicloud/ros-cdk-core.IResolvable Property source: The additional source for the task.

enableRequired

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

Property enable: Specifies whether to enable the task.

Valid values: * 1: yes * 0: no.


firstDateStrRequired

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

Property firstDateStr: The first time when the task is performed.


intervalPeriodRequired

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

Property intervalPeriod: The interval at which the task is run.


periodUnitRequired

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

Property periodUnit: The unit of the scan interval.

Valid values: * day * hour.


targetEndTimeRequired

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

Property targetEndTime: The time when the task ends.

Unit: hours.


targetStartTimeRequired

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

Property targetStartTime: The time when the task is started.

Unit: hours.


taskNameRequired

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

Property taskName: The task name.


taskTypeRequired

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

Property taskType: The type of the task.

Valid values: * VIRUS_VUL_SCHEDULE_SCAN: virus scan task * IMAGE_SCAN: image scan task * EMG_VUL_SCHEDULE_SCAN: urgent vulnerability scan task.


paramOptional

public readonly param: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property param: The additional information.


sourceOptional

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

Property source: The additional source for the task.