AuditCallbackProps
Properties for defining a AuditCallback
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-auditcallback
Initializer
import ros_cdk_aligreen
ros_cdk_aligreen.AuditCallbackProps(
audit_callback_name: typing.Union[str, IResolvable],
callback_suggestions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
callback_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
crypt_type: typing.Union[str, IResolvable],
url: typing.Union[str, IResolvable]
)
Properties
Name | Type | Description |
---|---|---|
audit_callback_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property auditCallbackName: The AuditCallback name defined by the customer. |
callback_suggestions |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property callbackSuggestions: List of audit results supported by message notification. |
callback_types |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property callbackTypes: A list of Callback types. |
crypt_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service. |
url |
typing.Union[str, ros_cdk_core.IResolvable] |
Property url: The detection result will be called back to the url. |
audit_callback_name
Required
audit_callback_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property auditCallbackName: The AuditCallback name defined by the customer.
It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.
callback_suggestions
Required
callback_suggestions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property callbackSuggestions: List of audit results supported by message notification.
Value: block: confirmed violation, review: Suspected violation, pass: normal.
callback_types
Required
callback_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property callbackTypes: A list of Callback types.
Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
crypt_type
Required
crypt_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service.
The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.
url
Required
url: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property url: The detection result will be called back to the url.