OssStockTaskProps
Properties for defining a OssStockTask
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-ossstocktask
Initializer
import ros_cdk_aligreen
ros_cdk_aligreen.OssStockTaskProps(
buckets: typing.Union[typing.List[typing.Any], IResolvable],
start_date: typing.Union[str, IResolvable],
audio_antispam_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
audio_auto_freeze_opened: typing.Union[bool, IResolvable] = None,
audio_max_size: typing.Union[typing.Union[int, float], IResolvable] = None,
audio_opened: typing.Union[bool, IResolvable] = None,
audio_scan_limit: typing.Union[typing.Union[int, float], IResolvable] = None,
audio_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
auto_freeze_type: typing.Union[str, IResolvable] = None,
biz_type: typing.Union[str, IResolvable] = None,
callback_id: typing.Union[typing.Union[int, float], IResolvable] = None,
end_date: typing.Union[str, IResolvable] = None,
image_ad_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
image_auto_freeze_opened: typing.Union[bool, IResolvable] = None,
image_live_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
image_opened: typing.Union[bool, IResolvable] = None,
image_porn_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
image_scan_limit: typing.Union[typing.Union[int, float], IResolvable] = None,
image_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
image_terrorism_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
oss_stock_task_name: typing.Union[str, IResolvable] = None,
scan_image_no_file_type: typing.Union[bool, IResolvable] = None,
video_ad_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
video_auto_freeze_opened: typing.Union[bool, IResolvable] = None,
video_frame_interval: typing.Union[typing.Union[int, float], IResolvable] = None,
video_live_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
video_max_frames: typing.Union[typing.Union[int, float], IResolvable] = None,
video_max_size: typing.Union[typing.Union[int, float], IResolvable] = None,
video_opened: typing.Union[bool, IResolvable] = None,
video_porn_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
video_scan_limit: typing.Union[typing.Union[int, float], IResolvable] = None,
video_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
video_terrorism_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
video_voice_antispam_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None
)
Properties
Name | Type | Description |
---|---|---|
buckets |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property buckets: The bucket configuration list of the oss stock scan task. |
start_date |
typing.Union[str, 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. |
audio_antispam_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property audioAntispamFreezeConfig: Voice auto freeze configuration. |
audio_auto_freeze_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property audioAutoFreezeOpened: Audio detection auto freeze switch. |
audio_max_size |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property audioMaxSize: Resource property field representing the maximum size of a single audio. |
audio_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property audioOpened: Oss stock scan task detect audio. |
audio_scan_limit |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property audioScanLimit: The upper limit of voice scan in the oss stock scan task. |
audio_scenes |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property audioScenes: The audio detection scenarios included in the oss stock scan task. |
auto_freeze_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property autoFreezeType: Automatic freeze type. |
biz_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property bizType: Business scenarios used by the oss stock scan task. |
callback_id |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task. |
end_date |
typing.Union[str, 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. |
image_ad_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes. |
image_auto_freeze_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property imageAutoFreezeOpened: Picture detection auto freeze switch. |
image_live_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration. |
image_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property imageOpened: Oss stock scan task detect images. |
image_porn_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration. |
image_scan_limit |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property imageScanLimit: The upper limit for scanning images in the oss stock scan task. |
image_scenes |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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. |
image_terrorism_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes. |
oss_stock_task_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ossStockTaskName: The name of the oss stock scan task. |
scan_image_no_file_type |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes. |
video_ad_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios. |
video_auto_freeze_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property videoAutoFreezeOpened: Video detection auto freeze switch. |
video_frame_interval |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property videoFrameInterval: Resource attribute field representing the framing frequency. |
video_live_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property videoLiveFreezeConfig: Video automatic freeze live scene configuration. |
video_max_frames |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut. |
video_max_size |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property videoMaxSize: Resource property field representing the maximum size of a single video. |
video_opened |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property videoOpened: Oss stock scan task detect video. |
video_porn_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property videoPornFreezeConfig: Video automatic freezing porn scene configuration. |
video_scan_limit |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property videoScanLimit: The upper limit of video scanning in the oss stock scan task. |
video_scenes |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property videoScenes: The video detection scenarios included in the oss stock scan task. |
video_terrorism_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes. |
video_voice_antispam_freeze_config |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video. |
buckets
Required
buckets: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], 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"}].
start_date
Required
start_date: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
audio_antispam_freeze_config
Optional
audio_antispam_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
audio_auto_freeze_opened
Optional
audio_auto_freeze_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property audioAutoFreezeOpened: Audio detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
audio_max_size
Optional
audio_max_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
audio_opened
Optional
audio_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property audioOpened: Oss stock scan task detect audio.
true: scan audio, false: do not scan audio.
audio_scan_limit
Optional
audio_scan_limit: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
The default value is 1000/Bucket.
audio_scenes
Optional
audio_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property audioScenes: The audio detection scenarios included in the oss stock scan task.
Set the value to ["antispam"].
auto_freeze_type
Optional
auto_freeze_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property autoFreezeType: Automatic freeze type.
Value: acl: modify permissions, copy: Move files.
biz_type
Optional
biz_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bizType: Business scenarios used by the oss stock scan task.
callback_id
Optional
callback_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
end_date
Optional
end_date: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
image_ad_freeze_config
Optional
image_ad_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
image_auto_freeze_opened
Optional
image_auto_freeze_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property imageAutoFreezeOpened: Picture detection auto freeze switch.
Value: true: auto freeze, false: not auto freeze.
image_live_freeze_config
Optional
image_live_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
image_opened
Optional
image_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property imageOpened: Oss stock scan task detect images.
true: scan images, false: do not scan images.
image_porn_freeze_config
Optional
image_porn_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
image_scan_limit
Optional
image_scan_limit: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
image_scenes
Optional
image_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.
image_terrorism_freeze_config
Optional
image_terrorism_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
oss_stock_task_name
Optional
oss_stock_task_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ossStockTaskName: The name of the oss stock scan task.
scan_image_no_file_type
Optional
scan_image_no_file_type: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, 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.
video_ad_freeze_config
Optional
video_ad_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
video_auto_freeze_opened
Optional
video_auto_freeze_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property videoAutoFreezeOpened: Video detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
video_frame_interval
Optional
video_frame_interval: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property videoFrameInterval: Resource attribute field representing the framing frequency.
1~60 seconds/frame, the default is 1 second/frame.
video_live_freeze_config
Optional
video_live_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
video_max_frames
Optional
video_max_frames: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
video_max_size
Optional
video_max_size: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
video_opened
Optional
video_opened: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property videoOpened: Oss stock scan task detect video.
true: scan video, false: do not scan video.
video_porn_freeze_config
Optional
video_porn_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
video_scan_limit
Optional
video_scan_limit: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
The default value is 1000/Bucket.
video_scenes
Optional
video_scenes: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, 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.
video_terrorism_freeze_config
Optional
video_terrorism_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.
video_voice_antispam_freeze_config
Optional
video_voice_antispam_freeze_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.