OssStockTask
- Implements: IOssStockTask
This class encapsulates and extends the ROS resource type ALIYUN::Aligreen::OssStockTask, which is used to create a full scan task for Object Storage Service (OSS) buckets.
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
- Type: OssStockTaskProps
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. |
fetchCondition | No description. |
fetchDependency | No description. |
fetchResourceDesc | 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
fetchCondition
public fetchCondition(): RosCondition
fetchDependency
public fetchDependency(): string[]
fetchResourceDesc
public fetchResourceDesc(): string
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. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
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 | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration. |
attrAudioAutoFreezeOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch. |
attrAudioMaxSize | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio. |
attrAudioOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioOpened: oss stock scan task detect audio. |
attrAudioScanLimit | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task. |
attrAudioScenes | string | @alicloud/ros-cdk-core.IResolvable | Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task. |
attrAutoFreezeType | string | @alicloud/ros-cdk-core.IResolvable | Attribute AutoFreezeType: Automatic freeze type. |
attrBizType | string | @alicloud/ros-cdk-core.IResolvable | Attribute BizType: Business scenarios used by the oss stock scan task. |
attrBuckets | string | @alicloud/ros-cdk-core.IResolvable | Attribute Buckets: The bucket configuration list of the oss stock scan task. |
attrCallbackId | string | @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 | string | @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 | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes. |
attrImageAutoFreezeOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch. |
attrImageLiveFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration. |
attrImageOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageOpened: oss stock scan task detect images. |
attrImagePornFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration. |
attrImageScanLimit | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task. |
attrImageScenes | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageScenes: The image moderation scenario included in the oss stock scan task. |
attrImageTerrorismFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes. |
attrScanImageNoFileType | string | @alicloud/ros-cdk-core.IResolvable | Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes. |
attrStartDate | string | @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 | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios. |
attrVideoAutoFreezeOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoAutoFreezeOpened: Video detection auto freeze switch. |
attrVideoFrameInterval | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoFrameInterval: Resource attribute field representing the framing frequency. |
attrVideoLiveFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration. |
attrVideoMaxFrames | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut. |
attrVideoMaxSize | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoMaxSize: Resource property field representing the maximum size of a single video. |
attrVideoOpened | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoOpened: oss stock scan task detect video. |
attrVideoPornFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration. |
attrVideoScanLimit | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task. |
attrVideoScenes | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoScenes: The video detection scenarios included in the oss stock scan task. |
attrVideoTerrorismFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes. |
attrVideoVoiceAntispamFreezeConfig | string | @alicloud/ros-cdk-core.IResolvable | Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video. |
props | OssStockTaskProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/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 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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.
attrAudioAutoFreezeOpenedRequired
public readonly attrAudioAutoFreezeOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
attrAudioMaxSizeRequired
public readonly attrAudioMaxSize: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.
attrAudioOpenedRequired
public readonly attrAudioOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AudioOpened: oss stock scan task detect audio.
attrAudioScanLimitRequired
public readonly attrAudioScanLimit: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AutoFreezeType: Automatic freeze type.
attrBizTypeRequired
public readonly attrBizType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute BizType: Business scenarios used by the oss stock scan task.
attrBucketsRequired
public readonly attrBuckets: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Buckets: The bucket configuration list of the oss stock scan task.
attrCallbackIdRequired
public readonly attrCallbackId: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
attrImageAutoFreezeOpenedRequired
public readonly attrImageAutoFreezeOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.
Value: true: auto freeze, false: not auto freeze.
attrImageLiveFreezeConfigRequired
public readonly attrImageLiveFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.
attrImageOpenedRequired
public readonly attrImageOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageOpened: oss stock scan task detect images.
attrImagePornFreezeConfigRequired
public readonly attrImagePornFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.
attrImageScanLimitRequired
public readonly attrImageScanLimit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.
attrImageScenesRequired
public readonly attrImageScenes: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.
attrImageTerrorismFreezeConfigRequired
public readonly attrImageTerrorismFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
attrScanImageNoFileTypeRequired
public readonly attrScanImageNoFileType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
attrStartDateRequired
public readonly attrStartDate: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
attrVideoAutoFreezeOpenedRequired
public readonly attrVideoAutoFreezeOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
attrVideoFrameIntervalRequired
public readonly attrVideoFrameInterval: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.
attrVideoLiveFreezeConfigRequired
public readonly attrVideoLiveFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.
attrVideoMaxFramesRequired
public readonly attrVideoMaxFrames: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.
attrVideoOpenedRequired
public readonly attrVideoOpened: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoOpened: oss stock scan task detect video.
attrVideoPornFreezeConfigRequired
public readonly attrVideoPornFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.
attrVideoScanLimitRequired
public readonly attrVideoScanLimit: string | IResolvable;
- Type: string | @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: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.
attrVideoTerrorismFreezeConfigRequired
public readonly attrVideoTerrorismFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
attrVideoVoiceAntispamFreezeConfigRequired
public readonly attrVideoVoiceAntispamFreezeConfig: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
propsRequired
public readonly props: OssStockTaskProps;
- Type: OssStockTaskProps