Skip to content

OssStockTask

This class encapsulates and extends the ROS resource type ALIYUN::Aligreen::OssStockTask.

Initializers

import com.aliyun.ros.cdk.aligreen.OssStockTask;
OssStockTask.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .buckets(java.util.List<java.lang.Object>)
    .buckets(IResolvable)
    .startDate(java.lang.String)
    .startDate(IResolvable)
//  .audioAntispamFreezeConfig(IResolvable)
//  .audioAntispamFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .audioAutoFreezeOpened(java.lang.Boolean)
//  .audioAutoFreezeOpened(IResolvable)
//  .audioMaxSize(java.lang.Number)
//  .audioMaxSize(IResolvable)
//  .audioOpened(java.lang.Boolean)
//  .audioOpened(IResolvable)
//  .audioScanLimit(java.lang.Number)
//  .audioScanLimit(IResolvable)
//  .audioScenes(IResolvable)
//  .audioScenes(java.util.List<java.lang.String)
//  .audioScenes(IResolvable>)
//  .autoFreezeType(java.lang.String)
//  .autoFreezeType(IResolvable)
//  .bizType(java.lang.String)
//  .bizType(IResolvable)
//  .callbackId(java.lang.Number)
//  .callbackId(IResolvable)
//  .endDate(java.lang.String)
//  .endDate(IResolvable)
//  .imageAdFreezeConfig(IResolvable)
//  .imageAdFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .imageAutoFreezeOpened(java.lang.Boolean)
//  .imageAutoFreezeOpened(IResolvable)
//  .imageLiveFreezeConfig(IResolvable)
//  .imageLiveFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .imageOpened(java.lang.Boolean)
//  .imageOpened(IResolvable)
//  .imagePornFreezeConfig(IResolvable)
//  .imagePornFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .imageScanLimit(java.lang.Number)
//  .imageScanLimit(IResolvable)
//  .imageScenes(IResolvable)
//  .imageScenes(java.util.List<java.lang.String)
//  .imageScenes(IResolvable>)
//  .imageTerrorismFreezeConfig(IResolvable)
//  .imageTerrorismFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .ossStockTaskName(java.lang.String)
//  .ossStockTaskName(IResolvable)
//  .scanImageNoFileType(java.lang.Boolean)
//  .scanImageNoFileType(IResolvable)
//  .videoAdFreezeConfig(IResolvable)
//  .videoAdFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .videoAutoFreezeOpened(java.lang.Boolean)
//  .videoAutoFreezeOpened(IResolvable)
//  .videoFrameInterval(java.lang.Number)
//  .videoFrameInterval(IResolvable)
//  .videoLiveFreezeConfig(IResolvable)
//  .videoLiveFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .videoMaxFrames(java.lang.Number)
//  .videoMaxFrames(IResolvable)
//  .videoMaxSize(java.lang.Number)
//  .videoMaxSize(IResolvable)
//  .videoOpened(java.lang.Boolean)
//  .videoOpened(IResolvable)
//  .videoPornFreezeConfig(IResolvable)
//  .videoPornFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .videoScanLimit(java.lang.Number)
//  .videoScanLimit(IResolvable)
//  .videoScenes(IResolvable)
//  .videoScenes(java.util.List<java.lang.String)
//  .videoScenes(IResolvable>)
//  .videoTerrorismFreezeConfig(IResolvable)
//  .videoTerrorismFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .videoVoiceAntispamFreezeConfig(IResolvable)
//  .videoVoiceAntispamFreezeConfig(java.util.Map<java.lang.String, java.lang.Object>)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
buckets java.util.List OR com.aliyun.ros.cdk.core.IResolvable Property buckets: The bucket configuration list of the oss stock scan task.
startDate java.lang.String OR com.aliyun.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 com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property audioAntispamFreezeConfig: Voice auto freeze configuration.
audioAutoFreezeOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property audioAutoFreezeOpened: Audio detection auto freeze switch.
audioMaxSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property audioMaxSize: Resource property field representing the maximum size of a single audio.
audioOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property audioOpened: Oss stock scan task detect audio.
audioScanLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property audioScanLimit: The upper limit of voice scan in the oss stock scan task.
audioScenes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property audioScenes: The audio detection scenarios included in the oss stock scan task.
autoFreezeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property autoFreezeType: Automatic freeze type.
bizType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bizType: Business scenarios used by the oss stock scan task.
callbackId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property callbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
endDate java.lang.String OR com.aliyun.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 com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property imageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
imageAutoFreezeOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property imageAutoFreezeOpened: Picture detection auto freeze switch.
imageLiveFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property imageLiveFreezeConfig: Picture automatic freezing live scene configuration.
imageOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property imageOpened: Oss stock scan task detect images.
imagePornFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property imagePornFreezeConfig: Picture automatic freezing porn scene configuration.
imageScanLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property imageScanLimit: The upper limit for scanning images in the oss stock scan task.
imageScenes com.aliyun.ros.cdk.core.IResolvable OR java.util.List 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 com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property imageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
ossStockTaskName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ossStockTaskName: The name of the oss stock scan task.
scanImageNoFileType java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property scanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
videoAdFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property videoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
videoAutoFreezeOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property videoAutoFreezeOpened: Video detection auto freeze switch.
videoFrameInterval java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property videoFrameInterval: Resource attribute field representing the framing frequency.
videoLiveFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property videoLiveFreezeConfig: Video automatic freeze live scene configuration.
videoMaxFrames java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property videoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
videoMaxSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property videoMaxSize: Resource property field representing the maximum size of a single video.
videoOpened java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property videoOpened: Oss stock scan task detect video.
videoPornFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property videoPornFreezeConfig: Video automatic freezing porn scene configuration.
videoScanLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property videoScanLimit: The upper limit of video scanning in the oss stock scan task.
videoScenes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property videoScenes: The video detection scenarios included in the oss stock scan task.
videoTerrorismFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property videoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
videoVoiceAntispamFreezeConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property videoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

bucketsRequired

  • Type: java.util.List OR com.aliyun.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

  • Type: java.lang.String OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property audioAutoFreezeOpened: Audio detection auto freeze switch.

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


audioMaxSizeOptional

  • Type: java.lang.Number OR com.aliyun.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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property audioOpened: Oss stock scan task detect audio.

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


audioScanLimitOptional

  • Type: java.lang.Number OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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

Set the value to ["antispam"].


autoFreezeTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property autoFreezeType: Automatic freeze type.

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


bizTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


callbackIdOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

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


endDateOptional

  • Type: java.lang.String OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property imageAutoFreezeOpened: Picture detection auto freeze switch.

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


imageLiveFreezeConfigOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property imageOpened: Oss stock scan task detect images.

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


imagePornFreezeConfigOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Number OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


scanImageNoFileTypeOptional

  • Type: java.lang.Boolean OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property videoAutoFreezeOpened: Video detection auto freeze switch.

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


videoFrameIntervalOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property videoFrameInterval: Resource attribute field representing the framing frequency.

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


videoLiveFreezeConfigOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Number OR com.aliyun.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

  • Type: java.lang.Number OR com.aliyun.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

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property videoOpened: Oss stock scan task detect video.

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


videoPornFreezeConfigOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: java.lang.Number OR com.aliyun.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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.aligreen.OssStockTask;
OssStockTask.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrAudioAntispamFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.
attrAudioAutoFreezeOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.
attrAudioMaxSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.
attrAudioOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioOpened: oss stock scan task detect audio.
attrAudioScanLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task.
attrAudioScenes java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task.
attrAutoFreezeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoFreezeType: Automatic freeze type.
attrBizType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute BizType: Business scenarios used by the oss stock scan task.
attrBuckets java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Buckets: The bucket configuration list of the oss stock scan task.
attrCallbackId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CallbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
attrEndDate java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EndDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
attrImageAdFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
attrImageAutoFreezeOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.
attrImageLiveFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.
attrImageOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageOpened: oss stock scan task detect images.
attrImagePornFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.
attrImageScanLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.
attrImageScenes java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.
attrImageTerrorismFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
attrScanImageNoFileType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
attrStartDate java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StartDate: The start time of the file upload time range represents the files uploaded after scanning this time point.
attrVideoAdFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
attrVideoAutoFreezeOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.
attrVideoFrameInterval java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.
attrVideoLiveFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.
attrVideoMaxFrames java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
attrVideoMaxSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.
attrVideoOpened java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoOpened: oss stock scan task detect video.
attrVideoPornFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.
attrVideoScanLimit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task.
attrVideoScenes java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.
attrVideoTerrorismFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
attrVideoVoiceAntispamFreezeConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
props OssStockTaskProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrAudioAntispamFreezeConfigRequired

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

Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.


attrAudioAutoFreezeOpenedRequired

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

Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.

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


attrAudioMaxSizeRequired

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

Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.


attrAudioOpenedRequired

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

Attribute AudioOpened: oss stock scan task detect audio.


attrAudioScanLimitRequired

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

Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task.

The default value is 1000/Bucket.


attrAudioScenesRequired

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

Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task.

Set the value to antispam.


attrAutoFreezeTypeRequired

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

Attribute AutoFreezeType: Automatic freeze type.


attrBizTypeRequired

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

Attribute BizType: Business scenarios used by the oss stock scan task.


attrBucketsRequired

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

Attribute Buckets: The bucket configuration list of the oss stock scan task.


attrCallbackIdRequired

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

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


attrEndDateRequired

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

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


attrImageAdFreezeConfigRequired

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

Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.


attrImageAutoFreezeOpenedRequired

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

Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.

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


attrImageLiveFreezeConfigRequired

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

Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.


attrImageOpenedRequired

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

Attribute ImageOpened: oss stock scan task detect images.


attrImagePornFreezeConfigRequired

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

Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.


attrImageScanLimitRequired

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

Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.


attrImageScenesRequired

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

Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.


attrImageTerrorismFreezeConfigRequired

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

Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.


attrScanImageNoFileTypeRequired

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

Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.


attrStartDateRequired

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

Attribute StartDate: The start time of the file upload time range represents the files uploaded after scanning this time point.


attrVideoAdFreezeConfigRequired

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

Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.


attrVideoAutoFreezeOpenedRequired

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

Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.

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


attrVideoFrameIntervalRequired

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

Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.


attrVideoLiveFreezeConfigRequired

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

Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.


attrVideoMaxFramesRequired

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

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


attrVideoMaxSizeRequired

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

Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.


attrVideoOpenedRequired

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

Attribute VideoOpened: oss stock scan task detect video.


attrVideoPornFreezeConfigRequired

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

Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.


attrVideoScanLimitRequired

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

Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task.

The default value is 1000/Bucket.


attrVideoScenesRequired

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

Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.


attrVideoTerrorismFreezeConfigRequired

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

Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.


attrVideoVoiceAntispamFreezeConfigRequired

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

Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.


propsRequired

public OssStockTaskProps getProps();