Skip to content

OssStockTask

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 "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
alicloudroscdkaligreen.NewOssStockTask(scope Construct, id *string, props OssStockTaskProps, enableResourcePropertyConstraint *bool) OssStockTask
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props OssStockTaskProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


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

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

FetchCondition

func FetchCondition() RosCondition

FetchDependency

func FetchDependency() *[]*string

FetchResourceDesc

func FetchResourceDesc() *string

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

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

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
alicloudroscdkaligreen.OssStockTask_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node associated with this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Ref *string No description.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
Resource github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource No description.
AttrAudioAntispamFreezeConfig interface{} Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.
AttrAudioAutoFreezeOpened interface{} Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.
AttrAudioMaxSize interface{} Attribute AudioMaxSize: Resource property field representing the maximum size of a single audio.
AttrAudioOpened interface{} Attribute AudioOpened: oss stock scan task detect audio.
AttrAudioScanLimit interface{} Attribute AudioScanLimit: The upper limit of voice scan in the oss stock scan task.
AttrAudioScenes interface{} Attribute AudioScenes: The audio detection scenarios included in the oss stock scan task.
AttrAutoFreezeType interface{} Attribute AutoFreezeType: Automatic freeze type.
AttrBizType interface{} Attribute BizType: Business scenarios used by the oss stock scan task.
AttrBuckets interface{} Attribute Buckets: The bucket configuration list of the oss stock scan task.
AttrCallbackId interface{} Attribute CallbackId: The ID of the primary key of the notification message bound to the oss stock scan task.
AttrEndDate interface{} Attribute EndDate: The end time of the file upload time range indicates the scanning of files uploaded before this time point.
AttrImageAdFreezeConfig interface{} Attribute ImageAdFreezeConfig: Picture automatically freezes the configuration of ad scenes.
AttrImageAutoFreezeOpened interface{} Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.
AttrImageLiveFreezeConfig interface{} Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.
AttrImageOpened interface{} Attribute ImageOpened: oss stock scan task detect images.
AttrImagePornFreezeConfig interface{} Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.
AttrImageScanLimit interface{} Attribute ImageScanLimit: The upper limit for scanning images in the oss stock scan task.
AttrImageScenes interface{} Attribute ImageScenes: The image moderation scenario included in the oss stock scan task.
AttrImageTerrorismFreezeConfig interface{} Attribute ImageTerrorismFreezeConfig: The picture automatically freezes the configuration of terrorism scenes.
AttrScanImageNoFileType interface{} Attribute ScanImageNoFileType: Whether the oss stock scan task detects images with file names without suffixes.
AttrStartDate interface{} Attribute StartDate: The start time of the file upload time range represents the files uploaded after scanning this time point.
AttrVideoAdFreezeConfig interface{} Attribute VideoAdFreezeConfig: The video automatically freezes the configuration of ad scenarios.
AttrVideoAutoFreezeOpened interface{} Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.
AttrVideoFrameInterval interface{} Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.
AttrVideoLiveFreezeConfig interface{} Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.
AttrVideoMaxFrames interface{} Attribute VideoMaxFrames: A resource attribute field that represents the upper limit of a single video frame cut.
AttrVideoMaxSize interface{} Attribute VideoMaxSize: Resource property field representing the maximum size of a single video.
AttrVideoOpened interface{} Attribute VideoOpened: oss stock scan task detect video.
AttrVideoPornFreezeConfig interface{} Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.
AttrVideoScanLimit interface{} Attribute VideoScanLimit: The upper limit of video scanning in the oss stock scan task.
AttrVideoScenes interface{} Attribute VideoScenes: The video detection scenarios included in the oss stock scan task.
AttrVideoTerrorismFreezeConfig interface{} Attribute VideoTerrorismFreezeConfig: The video automatically freezes the configuration of terrorism scenes.
AttrVideoVoiceAntispamFreezeConfig interface{} Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.
Props OssStockTaskProps No description.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


EnvRequired

func Env() IResourceEnvironment
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrAudioAntispamFreezeConfigRequired

func AttrAudioAntispamFreezeConfig() interface{}
  • Type: interface{}

Attribute AudioAntispamFreezeConfig: Voice auto freeze configuration.


AttrAudioAutoFreezeOpenedRequired

func AttrAudioAutoFreezeOpened() interface{}
  • Type: interface{}

Attribute AudioAutoFreezeOpened: Audio detection auto freeze switch.

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


AttrAudioMaxSizeRequired

func AttrAudioMaxSize() interface{}
  • Type: interface{}

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


AttrAudioOpenedRequired

func AttrAudioOpened() interface{}
  • Type: interface{}

Attribute AudioOpened: oss stock scan task detect audio.


AttrAudioScanLimitRequired

func AttrAudioScanLimit() interface{}
  • Type: interface{}

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

The default value is 1000/Bucket.


AttrAudioScenesRequired

func AttrAudioScenes() interface{}
  • Type: interface{}

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

Set the value to antispam.


AttrAutoFreezeTypeRequired

func AttrAutoFreezeType() interface{}
  • Type: interface{}

Attribute AutoFreezeType: Automatic freeze type.


AttrBizTypeRequired

func AttrBizType() interface{}
  • Type: interface{}

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


AttrBucketsRequired

func AttrBuckets() interface{}
  • Type: interface{}

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


AttrCallbackIdRequired

func AttrCallbackId() interface{}
  • Type: interface{}

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


AttrEndDateRequired

func AttrEndDate() interface{}
  • Type: interface{}

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


AttrImageAdFreezeConfigRequired

func AttrImageAdFreezeConfig() interface{}
  • Type: interface{}

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


AttrImageAutoFreezeOpenedRequired

func AttrImageAutoFreezeOpened() interface{}
  • Type: interface{}

Attribute ImageAutoFreezeOpened: Picture detection auto freeze switch.

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


AttrImageLiveFreezeConfigRequired

func AttrImageLiveFreezeConfig() interface{}
  • Type: interface{}

Attribute ImageLiveFreezeConfig: Picture automatic freezing live scene configuration.


AttrImageOpenedRequired

func AttrImageOpened() interface{}
  • Type: interface{}

Attribute ImageOpened: oss stock scan task detect images.


AttrImagePornFreezeConfigRequired

func AttrImagePornFreezeConfig() interface{}
  • Type: interface{}

Attribute ImagePornFreezeConfig: Picture automatic freezing porn scene configuration.


AttrImageScanLimitRequired

func AttrImageScanLimit() interface{}
  • Type: interface{}

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


AttrImageScenesRequired

func AttrImageScenes() interface{}
  • Type: interface{}

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


AttrImageTerrorismFreezeConfigRequired

func AttrImageTerrorismFreezeConfig() interface{}
  • Type: interface{}

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


AttrScanImageNoFileTypeRequired

func AttrScanImageNoFileType() interface{}
  • Type: interface{}

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


AttrStartDateRequired

func AttrStartDate() interface{}
  • Type: interface{}

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


AttrVideoAdFreezeConfigRequired

func AttrVideoAdFreezeConfig() interface{}
  • Type: interface{}

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


AttrVideoAutoFreezeOpenedRequired

func AttrVideoAutoFreezeOpened() interface{}
  • Type: interface{}

Attribute VideoAutoFreezeOpened: Video detection auto freeze switch.

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


AttrVideoFrameIntervalRequired

func AttrVideoFrameInterval() interface{}
  • Type: interface{}

Attribute VideoFrameInterval: Resource attribute field representing the framing frequency.


AttrVideoLiveFreezeConfigRequired

func AttrVideoLiveFreezeConfig() interface{}
  • Type: interface{}

Attribute VideoLiveFreezeConfig: Video automatic freeze live scene configuration.


AttrVideoMaxFramesRequired

func AttrVideoMaxFrames() interface{}
  • Type: interface{}

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


AttrVideoMaxSizeRequired

func AttrVideoMaxSize() interface{}
  • Type: interface{}

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


AttrVideoOpenedRequired

func AttrVideoOpened() interface{}
  • Type: interface{}

Attribute VideoOpened: oss stock scan task detect video.


AttrVideoPornFreezeConfigRequired

func AttrVideoPornFreezeConfig() interface{}
  • Type: interface{}

Attribute VideoPornFreezeConfig: Video automatic freezing porn scene configuration.


AttrVideoScanLimitRequired

func AttrVideoScanLimit() interface{}
  • Type: interface{}

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

The default value is 1000/Bucket.


AttrVideoScenesRequired

func AttrVideoScenes() interface{}
  • Type: interface{}

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


AttrVideoTerrorismFreezeConfigRequired

func AttrVideoTerrorismFreezeConfig() interface{}
  • Type: interface{}

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


AttrVideoVoiceAntispamFreezeConfigRequired

func AttrVideoVoiceAntispamFreezeConfig() interface{}
  • Type: interface{}

Attribute VideoVoiceAntispamFreezeConfig: Voice auto freeze configuration in video.


PropsRequired

func Props() OssStockTaskProps