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
using AlibabaCloud.SDK.ROS.CDK.Aligreen;
new OssStockTask(Construct Scope, string Id, OssStockTaskProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description |
|---|---|---|
Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. |
Id | string | No description. |
Props | OssStockTaskProps | No description. |
EnableResourcePropertyConstraint | bool | No description. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: OssStockTaskProps
EnableResourcePropertyConstraintOptional
- Type: bool
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
private string ToString()
Returns a string representation of this construct.
Synthesize
private 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.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Aligreen;
OssStockTask.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node associated with this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Ref | string | No description. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
Resource | AlibabaCloud.SDK.ROS.CDK.Core.RosResource | No description. |
AttrAudioAntispamFreezeConfig | object | Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration. |
AttrAudioAutoFreezeOpened | object | Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch. |
AttrAudioMaxSize | object | Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio. |
AttrAudioOpened | object | Attribute AudioOpened: oss stock scan task detect audio. |
AttrAudioScanLimit | object | Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task. |
AttrAudioScenes | object | Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task. |
AttrAutoFreezeType | object | Attribute AutoFreezeType: Automatic freeze type. |
AttrBizType | object | Attribute BizType: Business scenarios used by the oss stock scan task. |
AttrBuckets | object | Attribute Buckets: The bucket configuration list of the oss stock scan task. |
AttrCallbackId | object | Attribute CallbackId: The ID of the primary key of the notification message bound to the oss stock scan task. |
AttrEndDate | object | Attribute EndDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point. |
AttrImageAdFreezeConfig | object | Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes. |
AttrImageAutoFreezeOpened | object | Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch. |
AttrImageLiveFreezeConfig | object | Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration. |
AttrImageOpened | object | Attribute ImageOpened: oss stock scan task detect images. |
AttrImagePornFreezeConfig | object | Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration. |
AttrImageScanLimit | object | Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task. |
AttrImageScenes | object | Attribute ImageScenes: The image moderation scenario included in the oss stock scan task. |
AttrImageTerrorismFreezeConfig | object | Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes. |
AttrScanImageNoFileType | object | Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes. |
AttrStartDate | object | Attribute StartDate: The start time of the file upload time range represents the files uploaded after scanning this time point. |
AttrVideoAdFreezeConfig | object | Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios. |
AttrVideoAutoFreezeOpened | object | Attribute VideoAutoFreezeOpened: Video detection auto freeze switch. |
AttrVideoFrameInterval | object | Attribute VideoFrameInterval: Resource attribute field representing the framing frequency. |
AttrVideoLiveFreezeConfig | object | Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration. |
AttrVideoMaxFrames | object | Attribute VideoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut. |
AttrVideoMaxSize | object | Attribute VideoMaxSize: Resource property field representing the maximum size of a single video. |
AttrVideoOpened | object | Attribute VideoOpened: oss stock scan task detect video. |
AttrVideoPornFreezeConfig | object | Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration. |
AttrVideoScanLimit | object | Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task. |
AttrVideoScenes | object | Attribute VideoScenes: The video detection scenarios included in the oss stock scan task. |
AttrVideoTerrorismFreezeConfig | object | Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes. |
AttrVideoVoiceAntispamFreezeConfig | object | Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video. |
Props | OssStockTaskProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.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 string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAudioAntispamFreezeConfigRequired
public object AttrAudioAntispamFreezeConfig { get; }
- Type: object
Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.
AttrAudioAutoFreezeOpenedRequired
public object AttrAudioAutoFreezeOpened { get; }
- Type: object
Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
AttrAudioMaxSizeRequired
public object AttrAudioMaxSize { get; }
- Type: object
Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.
AttrAudioOpenedRequired
public object AttrAudioOpened { get; }
- Type: object
Attribute AudioOpened: oss stock scan task detect audio.
AttrAudioScanLimitRequired
public object AttrAudioScanLimit { get; }
- Type: object
Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task.
The default value is 1000/Bucket.
AttrAudioScenesRequired
public object AttrAudioScenes { get; }
- Type: object
Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task.
Set the value to antispam.
AttrAutoFreezeTypeRequired
public object AttrAutoFreezeType { get; }
- Type: object
Attribute AutoFreezeType: Automatic freeze type.
AttrBizTypeRequired
public object AttrBizType { get; }
- Type: object
Attribute BizType: Business scenarios used by the oss stock scan task.
AttrBucketsRequired
public object AttrBuckets { get; }
- Type: object
Attribute Buckets: The bucket configuration list of the oss stock scan task.
AttrCallbackIdRequired
public object AttrCallbackId { get; }
- Type: object
Attribute CallbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
AttrEndDateRequired
public object AttrEndDate { get; }
- Type: object
Attribute EndDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
AttrImageAdFreezeConfigRequired
public object AttrImageAdFreezeConfig { get; }
- Type: object
Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
AttrImageAutoFreezeOpenedRequired
public object AttrImageAutoFreezeOpened { get; }
- Type: object
Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.
Value: true: auto freeze, false: not auto freeze.
AttrImageLiveFreezeConfigRequired
public object AttrImageLiveFreezeConfig { get; }
- Type: object
Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.
AttrImageOpenedRequired
public object AttrImageOpened { get; }
- Type: object
Attribute ImageOpened: oss stock scan task detect images.
AttrImagePornFreezeConfigRequired
public object AttrImagePornFreezeConfig { get; }
- Type: object
Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.
AttrImageScanLimitRequired
public object AttrImageScanLimit { get; }
- Type: object
Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.
AttrImageScenesRequired
public object AttrImageScenes { get; }
- Type: object
Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.
AttrImageTerrorismFreezeConfigRequired
public object AttrImageTerrorismFreezeConfig { get; }
- Type: object
Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
AttrScanImageNoFileTypeRequired
public object AttrScanImageNoFileType { get; }
- Type: object
Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
AttrStartDateRequired
public object AttrStartDate { get; }
- Type: object
Attribute StartDate: The start time of the file upload time range represents the files uploaded after scanning this time point.
AttrVideoAdFreezeConfigRequired
public object AttrVideoAdFreezeConfig { get; }
- Type: object
Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
AttrVideoAutoFreezeOpenedRequired
public object AttrVideoAutoFreezeOpened { get; }
- Type: object
Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.
Value: true: automatically freeze, false: not automatically freeze.
AttrVideoFrameIntervalRequired
public object AttrVideoFrameInterval { get; }
- Type: object
Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.
AttrVideoLiveFreezeConfigRequired
public object AttrVideoLiveFreezeConfig { get; }
- Type: object
Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.
AttrVideoMaxFramesRequired
public object AttrVideoMaxFrames { get; }
- Type: object
Attribute VideoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
AttrVideoMaxSizeRequired
public object AttrVideoMaxSize { get; }
- Type: object
Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.
AttrVideoOpenedRequired
public object AttrVideoOpened { get; }
- Type: object
Attribute VideoOpened: oss stock scan task detect video.
AttrVideoPornFreezeConfigRequired
public object AttrVideoPornFreezeConfig { get; }
- Type: object
Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.
AttrVideoScanLimitRequired
public object AttrVideoScanLimit { get; }
- Type: object
Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task.
The default value is 1000/Bucket.
AttrVideoScenesRequired
public object AttrVideoScenes { get; }
- Type: object
Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.
AttrVideoTerrorismFreezeConfigRequired
public object AttrVideoTerrorismFreezeConfig { get; }
- Type: object
Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
AttrVideoVoiceAntispamFreezeConfigRequired
public object AttrVideoVoiceAntispamFreezeConfig { get; }
- Type: object
Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
PropsRequired
public OssStockTaskProps Props { get; }
- Type: OssStockTaskProps