Skip to content

OssStockTask

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

Initializers

import { OssStockTask } from '@alicloud/ros-cdk-aligreen'
new OssStockTask(scope: Construct, id: string, props: OssStockTaskProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props OssStockTaskProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

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.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

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: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

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

isConstruct

import { OssStockTask } from '@alicloud/ros-cdk-aligreen'
OssStockTask.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

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

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrAudioAntispamFreezeConfigRequired

public readonly attrAudioAntispamFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.


attrAudioAutoFreezeOpenedRequired

public readonly attrAudioAutoFreezeOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.

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


attrAudioMaxSizeRequired

public readonly attrAudioMaxSize: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrAudioOpenedRequired

public readonly attrAudioOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AudioOpened: oss stock scan task detect audio.


attrAudioScanLimitRequired

public readonly attrAudioScanLimit: IResolvable;
  • Type: @alicloud/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 readonly attrAudioScenes: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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

Set the value to antispam.


attrAutoFreezeTypeRequired

public readonly attrAutoFreezeType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute AutoFreezeType: Automatic freeze type.


attrBizTypeRequired

public readonly attrBizType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrBucketsRequired

public readonly attrBuckets: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrCallbackIdRequired

public readonly attrCallbackId: IResolvable;
  • Type: @alicloud/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 readonly attrEndDate: IResolvable;
  • Type: @alicloud/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 readonly attrImageAdFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrImageAutoFreezeOpenedRequired

public readonly attrImageAutoFreezeOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.

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


attrImageLiveFreezeConfigRequired

public readonly attrImageLiveFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.


attrImageOpenedRequired

public readonly attrImageOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImageOpened: oss stock scan task detect images.


attrImagePornFreezeConfigRequired

public readonly attrImagePornFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.


attrImageScanLimitRequired

public readonly attrImageScanLimit: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrImageScenesRequired

public readonly attrImageScenes: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrImageTerrorismFreezeConfigRequired

public readonly attrImageTerrorismFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrScanImageNoFileTypeRequired

public readonly attrScanImageNoFileType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrStartDateRequired

public readonly attrStartDate: IResolvable;
  • Type: @alicloud/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 readonly attrVideoAdFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrVideoAutoFreezeOpenedRequired

public readonly attrVideoAutoFreezeOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.

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


attrVideoFrameIntervalRequired

public readonly attrVideoFrameInterval: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.


attrVideoLiveFreezeConfigRequired

public readonly attrVideoLiveFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.


attrVideoMaxFramesRequired

public readonly attrVideoMaxFrames: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrVideoMaxSizeRequired

public readonly attrVideoMaxSize: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrVideoOpenedRequired

public readonly attrVideoOpened: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoOpened: oss stock scan task detect video.


attrVideoPornFreezeConfigRequired

public readonly attrVideoPornFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.


attrVideoScanLimitRequired

public readonly attrVideoScanLimit: IResolvable;
  • Type: @alicloud/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 readonly attrVideoScenes: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrVideoTerrorismFreezeConfigRequired

public readonly attrVideoTerrorismFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrVideoVoiceAntispamFreezeConfigRequired

public readonly attrVideoVoiceAntispamFreezeConfig: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.