Skip to content

OssStockTaskProps

Properties for defining a OssStockTask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-ossstocktask

Initializer

import { OssStockTaskProps } from '@alicloud/ros-cdk-aligreen'
const ossStockTaskProps: OssStockTaskProps = { ... }

Properties

Name Type Description
buckets any[] | @alicloud/ros-cdk-core.IResolvable Property buckets: The bucket configuration list of the oss stock scan task.
startDate string | @alicloud/ros-cdk-core.IResolvable Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800.
audioAntispamFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property audioAntispamFreezeConfig: Voice auto freeze configuration.
audioAutoFreezeOpened boolean | @alicloud/ros-cdk-core.IResolvable Property audioAutoFreezeOpened: Audio detection auto freeze switch.
audioMaxSize number | @alicloud/ros-cdk-core.IResolvable Property audioMaxSize: Resource property field representing the maximum size of a single audio.
audioOpened boolean | @alicloud/ros-cdk-core.IResolvable Property audioOpened: Oss stock scan task detect audio.
audioScanLimit number | @alicloud/ros-cdk-core.IResolvable Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
audioScenes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property audioScenes: The audio detection scenarios included in the oss stock scan task.
autoFreezeType string | @alicloud/ros-cdk-core.IResolvable Property autoFreezeType: Automatic freeze type.
bizType string | @alicloud/ros-cdk-core.IResolvable Property bizType: Business scenarios used by the oss stock scan task.
callbackId number | @alicloud/ros-cdk-core.IResolvable Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
endDate string | @alicloud/ros-cdk-core.IResolvable Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
imageAdFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
imageAutoFreezeOpened boolean | @alicloud/ros-cdk-core.IResolvable Property imageAutoFreezeOpened: Picture detection auto freeze switch.
imageLiveFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.
imageOpened boolean | @alicloud/ros-cdk-core.IResolvable Property imageOpened: Oss stock scan task detect images.
imagePornFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.
imageScanLimit number | @alicloud/ros-cdk-core.IResolvable Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.
imageScenes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection.
imageTerrorismFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
ossStockTaskName string | @alicloud/ros-cdk-core.IResolvable Property ossStockTaskName: The name of the oss stock scan task.
scanImageNoFileType boolean | @alicloud/ros-cdk-core.IResolvable Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
videoAdFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
videoAutoFreezeOpened boolean | @alicloud/ros-cdk-core.IResolvable Property videoAutoFreezeOpened: Video detection auto freeze switch.
videoFrameInterval number | @alicloud/ros-cdk-core.IResolvable Property videoFrameInterval: Resource attribute field representing the framing frequency.
videoLiveFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.
videoMaxFrames number | @alicloud/ros-cdk-core.IResolvable Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
videoMaxSize number | @alicloud/ros-cdk-core.IResolvable Property videoMaxSize: Resource property field representing the maximum size of a single video.
videoOpened boolean | @alicloud/ros-cdk-core.IResolvable Property videoOpened: Oss stock scan task detect video.
videoPornFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.
videoScanLimit number | @alicloud/ros-cdk-core.IResolvable Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
videoScenes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property videoScenes: The video detection scenarios included in the oss stock scan task.
videoTerrorismFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
videoVoiceAntispamFreezeConfig @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.

bucketsRequired

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

Property buckets: The bucket configuration list of the oss stock scan task.

Example:[{"Bucket":"bucket_01","Selected":true,"Prefixes":["img\/test_"],"Type":"exclude"}].


startDateRequired

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

Property startDate: The start time of the file upload time range represents the files uploaded after scanning this time point.Example: 2024-08-01 00:00:00 +0800.


audioAntispamFreezeConfigOptional

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

Property audioAntispamFreezeConfig: Voice auto freeze configuration.

Example:{"Type": "suggestion", "Value" : "block" }. The results are frozen according to the suggestion in the speech detection results.


audioAutoFreezeOpenedOptional

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

Property audioAutoFreezeOpened: Audio detection auto freeze switch.

Value: true: automatically freeze, false: not automatically freeze.


audioMaxSizeOptional

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

Property audioMaxSize: Resource property field representing the maximum size of a single audio.

1~2048MB, the default is 200MB, more than not detected.


audioOpenedOptional

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

Property audioOpened: Oss stock scan task detect audio.

true: scan audio, false: do not scan audio.


audioScanLimitOptional

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

Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.

The default value is 1000\/Bucket.


audioScenesOptional

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

Property audioScenes: The audio detection scenarios included in the oss stock scan task.

Set the value to ["antispam"].


autoFreezeTypeOptional

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

Property autoFreezeType: Automatic freeze type.

Value: acl: modify permissions, copy: Move files.


bizTypeOptional

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

Property bizType: Business scenarios used by the oss stock scan task.


callbackIdOptional

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

Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.


endDateOptional

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

Property endDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.

Example: 2024-12-30 00:00:00 +0800


imageAdFreezeConfigOptional

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

Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.

Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.


imageAutoFreezeOpenedOptional

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

Property imageAutoFreezeOpened: Picture detection auto freeze switch.

Value: true: auto freeze, false: not auto freeze.


imageLiveFreezeConfigOptional

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

Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.

Example:{"Type":"suggestion","Value":"block,review"}. The result will be frozen according to the suggestion in the picture detection result.


imageOpenedOptional

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

Property imageOpened: Oss stock scan task detect images.

true: scan images, false: do not scan images.


imagePornFreezeConfigOptional

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

Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.

Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.


imageScanLimitOptional

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

Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.

The default value is 10000 images per Bucket.


imageScenesOptional

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

Property imageScenes: The image moderation scenario included in the oss stock scan task.Valid values: porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection.


imageTerrorismFreezeConfigOptional

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

Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.

Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the picture detection result.


ossStockTaskNameOptional

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

Property ossStockTaskName: The name of the oss stock scan task.


scanImageNoFileTypeOptional

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

Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.

true: Detect pictures with file names without suffixes, false: Do not detect pictures with file names without suffixes.


videoAdFreezeConfigOptional

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

Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.

Example:{"Type":"suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.


videoAutoFreezeOpenedOptional

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

Property videoAutoFreezeOpened: Video detection auto freeze switch.

Value: true: automatically freeze, false: not automatically freeze.


videoFrameIntervalOptional

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

Property videoFrameInterval: Resource attribute field representing the framing frequency.

1~60 seconds\/frame, the default is 1 second\/frame.


videoLiveFreezeConfigOptional

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

Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.

Example:{"Type" : "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.


videoMaxFramesOptional

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

Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.

5 to 20000 frames, the default is 200 frames.


videoMaxSizeOptional

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

Property videoMaxSize: Resource property field representing the maximum size of a single video.

1~2048MB, the default is 500MB, more than not detected.


videoOpenedOptional

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

Property videoOpened: Oss stock scan task detect video.

true: scan video, false: do not scan video.


videoPornFreezeConfigOptional

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

Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.

Example: {"Type": "suggestion", "Value": "block,review"}. The result will be frozen according to the suggestion in the video detection result.


videoScanLimitOptional

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

Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.

The default value is 1000\/Bucket.


videoScenesOptional

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

Property videoScenes: The video detection scenarios included in the oss stock scan task.

porn: pornography detection terrorism: terrorist content detection ad: ad violation detection live: undesirable scene detection antispam: Video voice antispam.


videoTerrorismFreezeConfigOptional

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

Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.

Example:{"Type": "suggestion","Value":"block,review"}. The results will be frozen according to the suggestion in the video detection results.


videoVoiceAntispamFreezeConfigOptional

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

Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.

Example:{"Type": "suggestion", "Value" : "block" }. The results will be frozen according to the suggestion in the video detection results.