Skip to content

CallbackProps

Properties for defining a Callback.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-callback

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
&alicloudroscdkaligreen.CallbackProps {
    CallbackName: interface{},
    CallbackSuggestions: interface{},
    CallbackTypes: interface{},
    CallbackUrl: interface{},
    CryptType: interface{},
}

Properties

Name Type Description
CallbackName interface{} Property callbackName: The Callback name defined by the customer.
CallbackSuggestions interface{} Property callbackSuggestions: List of audit results supported by message notification.
CallbackTypes interface{} Property callbackTypes: A list of Callback types.
CallbackUrl interface{} Property callbackUrl: The detection result will be called back to the url.
CryptType interface{} Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service.

CallbackNameRequired

CallbackName interface{}
  • Type: interface{}

Property callbackName: The Callback name defined by the customer.

It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.


CallbackSuggestionsRequired

CallbackSuggestions interface{}
  • Type: interface{}

Property callbackSuggestions: List of audit results supported by message notification.

Value: block: confirmed violation, review: Suspected violation, pass: normal.


CallbackTypesRequired

CallbackTypes interface{}
  • Type: interface{}

Property callbackTypes: A list of Callback types.

Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.


CallbackUrlRequired

CallbackUrl interface{}
  • Type: interface{}

Property callbackUrl: The detection result will be called back to the url.


CryptTypeOptional

CryptType interface{}
  • Type: interface{}

Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the Aliyun Green Service to your business service.

Value: 0:SHA256,1: SM3.