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. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: OssStockTaskProps
enableResourcePropertyConstraint
Optional
- 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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- 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.
- 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. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAudioAntispamFreezeConfig
Required
public readonly attrAudioAntispamFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.
attrAudioAutoFreezeOpened
Required
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.
attrAudioMaxSize
Required
public readonly attrAudioMaxSize: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.
attrAudioOpened
Required
public readonly attrAudioOpened: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AudioOpened: oss stock scan task detect audio.
attrAudioScanLimit
Required
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.
attrAudioScenes
Required
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.
attrAutoFreezeType
Required
public readonly attrAutoFreezeType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoFreezeType: Automatic freeze type.
attrBizType
Required
public readonly attrBizType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BizType: Business scenarios used by the oss stock scan task.
attrBuckets
Required
public readonly attrBuckets: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Buckets: The bucket configuration list of the oss stock scan task.
attrCallbackId
Required
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.
attrEndDate
Required
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.
attrImageAdFreezeConfig
Required
public readonly attrImageAdFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
attrImageAutoFreezeOpened
Required
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.
attrImageLiveFreezeConfig
Required
public readonly attrImageLiveFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.
attrImageOpened
Required
public readonly attrImageOpened: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageOpened: oss stock scan task detect images.
attrImagePornFreezeConfig
Required
public readonly attrImagePornFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.
attrImageScanLimit
Required
public readonly attrImageScanLimit: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.
attrImageScenes
Required
public readonly attrImageScenes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.
attrImageTerrorismFreezeConfig
Required
public readonly attrImageTerrorismFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
attrScanImageNoFileType
Required
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.
attrStartDate
Required
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.
attrVideoAdFreezeConfig
Required
public readonly attrVideoAdFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
attrVideoAutoFreezeOpened
Required
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.
attrVideoFrameInterval
Required
public readonly attrVideoFrameInterval: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.
attrVideoLiveFreezeConfig
Required
public readonly attrVideoLiveFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.
attrVideoMaxFrames
Required
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.
attrVideoMaxSize
Required
public readonly attrVideoMaxSize: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.
attrVideoOpened
Required
public readonly attrVideoOpened: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoOpened: oss stock scan task detect video.
attrVideoPornFreezeConfig
Required
public readonly attrVideoPornFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.
attrVideoScanLimit
Required
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.
attrVideoScenes
Required
public readonly attrVideoScenes: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.
attrVideoTerrorismFreezeConfig
Required
public readonly attrVideoTerrorismFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
attrVideoVoiceAntispamFreezeConfig
Required
public readonly attrVideoVoiceAntispamFreezeConfig: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.