Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-instance

Initializer

import ros_cdk_threatdetection
ros_cdk_threatdetection.InstanceProps(
  payment_type: typing.Union[str, IResolvable],
  version_code: typing.Union[str, IResolvable],
  buy_number: typing.Union[str, IResolvable] = None,
  container_image_scan: typing.Union[str, IResolvable] = None,
  container_image_scan_new: typing.Union[str, IResolvable] = None,
  honeypot: typing.Union[str, IResolvable] = None,
  honeypot_switch: typing.Union[str, IResolvable] = None,
  modify_type: typing.Union[str, IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  product_type: typing.Union[str, IResolvable] = None,
  rasp_count: typing.Union[str, IResolvable] = None,
  renewal_period_unit: typing.Union[str, IResolvable] = None,
  renewal_status: typing.Union[str, IResolvable] = None,
  renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
  sas_anti_ransomware: typing.Union[str, IResolvable] = None,
  sas_cspm: typing.Union[str, IResolvable] = None,
  sas_cspm_switch: typing.Union[str, IResolvable] = None,
  sas_sc: typing.Union[str, IResolvable] = None,
  sas_sdk: typing.Union[str, IResolvable] = None,
  sas_sdk_switch: typing.Union[str, IResolvable] = None,
  sas_sls_storage: typing.Union[str, IResolvable] = None,
  sas_webguard_boolean: typing.Union[str, IResolvable] = None,
  sas_webguard_order_num: typing.Union[str, IResolvable] = None,
  threat_analysis: typing.Union[str, IResolvable] = None,
  threat_analysis_switch: typing.Union[str, IResolvable] = None,
  v_core: typing.Union[str, IResolvable] = None,
  vul_count: typing.Union[str, IResolvable] = None,
  vul_switch: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
payment_type typing.Union[str, ros_cdk_core.IResolvable] Property paymentType: The payment type of the resource.
version_code typing.Union[str, ros_cdk_core.IResolvable] Property versionCode: Select the security center version.
buy_number typing.Union[str, ros_cdk_core.IResolvable] Property buyNumber: Number of servers.
container_image_scan typing.Union[str, ros_cdk_core.IResolvable] Property containerImageScan: Container Image security scan.
container_image_scan_new typing.Union[str, ros_cdk_core.IResolvable] Property containerImageScanNew: Container Image security scan.
honeypot typing.Union[str, ros_cdk_core.IResolvable] Property honeypot: Number of cloud honeypot licenses.
honeypot_switch typing.Union[str, ros_cdk_core.IResolvable] Property honeypotSwitch: Cloud honeypot.
modify_type typing.Union[str, ros_cdk_core.IResolvable] Property modifyType: Change configuration type, value - Upgrade: Upgrade.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: Prepaid cycle.
product_type typing.Union[str, ros_cdk_core.IResolvable] Property productType: Product type, only China station needs to be set to sas, international station does not need to set.
rasp_count typing.Union[str, ros_cdk_core.IResolvable] Property raspCount: Number of application protection licenses.
renewal_period_unit typing.Union[str, ros_cdk_core.IResolvable] Property renewalPeriodUnit: Automatic renewal period unit, value: - M: month.
renewal_status typing.Union[str, ros_cdk_core.IResolvable] Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
renew_period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property renewPeriod: Automatic renewal cycle, in months.
sas_anti_ransomware typing.Union[str, ros_cdk_core.IResolvable] Property sasAntiRansomware: Anti-ransomware capacity.
sas_cspm typing.Union[str, ros_cdk_core.IResolvable] Property sasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
sas_cspm_switch typing.Union[str, ros_cdk_core.IResolvable] Property sasCspmSwitch: Cloud platform configuration check switch.
sas_sc typing.Union[str, ros_cdk_core.IResolvable] Property sasSc: Security screen.
sas_sdk typing.Union[str, ros_cdk_core.IResolvable] Property sasSdk: Number of malicious file detections.
sas_sdk_switch typing.Union[str, ros_cdk_core.IResolvable] Property sasSdkSwitch: Malicious file detection SDK.
sas_sls_storage typing.Union[str, ros_cdk_core.IResolvable] Property sasSlsStorage: Log analysis storage capacity.
sas_webguard_boolean typing.Union[str, ros_cdk_core.IResolvable] Property sasWebguardBoolean: Web tamper-proof switch.
sas_webguard_order_num typing.Union[str, ros_cdk_core.IResolvable] Property sasWebguardOrderNum: Tamper-proof authorization number.
threat_analysis typing.Union[str, ros_cdk_core.IResolvable] Property threatAnalysis: Threat Analysis log storage capacity.
threat_analysis_switch typing.Union[str, ros_cdk_core.IResolvable] Property threatAnalysisSwitch: Threat analysis.
v_core typing.Union[str, ros_cdk_core.IResolvable] Property vCore: Number of cores.
vul_count typing.Union[str, ros_cdk_core.IResolvable] Property vulCount: Vulnerability repair times, interval type, value range:[20,100000000].
vul_switch typing.Union[str, ros_cdk_core.IResolvable] Property vulSwitch: Vulnerability fix switch.

payment_typeRequired

payment_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property paymentType: The payment type of the resource.


version_codeRequired

version_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property versionCode: Select the security center version.

Value:

  • level7: Antivirus Edition.
  • level3: Premium version.
  • level2: Enterprise Edition.
  • level8: Ultimate.
  • level10: Purchase value-added services only.

buy_numberOptional

buy_number: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property buyNumber: Number of servers.


container_image_scanOptional

container_image_scan: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property containerImageScan: Container Image security scan.

Interval type, value interval:[0,200000].

The step size is 20, that is, only multiples of 20 can be filled in.


container_image_scan_newOptional

container_image_scan_new: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property containerImageScanNew: Container Image security scan.

Interval type, value interval:[0,200000].

The step size is 20, that is, only multiples of 20 can be filled in.


honeypotOptional

honeypot: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property honeypot: Number of cloud honeypot licenses.

Interval type, value interval:[20,500].

This module can only be purchased when honeypot_switch = 1, starting with 20.


honeypot_switchOptional

honeypot_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property honeypotSwitch: Cloud honeypot.

Value:

  • 1: Yes.
  • 2: No.

modify_typeOptional

modify_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property modifyType: Change configuration type, value - Upgrade: Upgrade.

  • Downgrade: Downgrade.

periodOptional

period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property period: Prepaid cycle.

The unit is Monthly, please enter an integer multiple of 12 for annual paid products.

must be set when creating a prepaid instance.


product_typeOptional

product_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property productType: Product type, only China station needs to be set to sas, international station does not need to set.


rasp_countOptional

rasp_count: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property raspCount: Number of application protection licenses.

Interval type, value interval:[1,100000000].


renewal_period_unitOptional

renewal_period_unit: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property renewalPeriodUnit: Automatic renewal period unit, value: - M: month.

  • Y: years.

Must be set when RenewalStatus = AutoRenewal.


renewal_statusOptional

renewal_status: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.

  • ManualRenewal: manual renewal. Default ManualRenewal.

renew_periodOptional

renew_period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property renewPeriod: Automatic renewal cycle, in months.

When RenewalStatus is set to AutoRenewal, it must be set.


sas_anti_ransomwareOptional

sas_anti_ransomware: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasAntiRansomware: Anti-ransomware capacity.

Unit: GB. Interval type, value interval:[0,9999999999].

The step size is 10, that is, only multiples of 10 can be filled in.


sas_cspmOptional

sas_cspm: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].

You must have sas_cspm_switch = 1 to purchase this module. The step size is 100, that is, only multiples of 10 can be filled in.


sas_cspm_switchOptional

sas_cspm_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasCspmSwitch: Cloud platform configuration check switch.

Value:

  • 0: No.
  • 1: Yes.

sas_scOptional

sas_sc: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasSc: Security screen.

Value:

  • true: Yes.
  • false: No.

sas_sdkOptional

sas_sdk: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasSdk: Number of malicious file detections.

Unit: 10,000 times. Interval type, value interval:[10,9999999999].

This module can only be purchased when sas_sdk_switch = 1. The step size is 10, that is, only multiples of 10 can be filled in.


sas_sdk_switchOptional

sas_sdk_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasSdkSwitch: Malicious file detection SDK.


sas_sls_storageOptional

sas_sls_storage: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasSlsStorage: Log analysis storage capacity.

Unit: GB. Interval type, value interval:[0,600000].

The step size is 10, that is, only multiples of 10 can be filled in.


sas_webguard_booleanOptional

sas_webguard_boolean: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasWebguardBoolean: Web tamper-proof switch.

Value:

  • 0: No.
  • 1: Yes.

sas_webguard_order_numOptional

sas_webguard_order_num: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property sasWebguardOrderNum: Tamper-proof authorization number.

Value:

  • 0: No
  • 1: Yes.

threat_analysisOptional

threat_analysis: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property threatAnalysis: Threat Analysis log storage capacity.

Interval type, value interval:[0,9999999999].

This module can only be purchased when Threat_analysis_switch = 1. The step size is 10, that is, only multiples of 10 can be filled in.


threat_analysis_switchOptional

threat_analysis_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property threatAnalysisSwitch: Threat analysis.

Value:

  • 0: No.
  • 1: Yes.

v_coreOptional

v_core: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vCore: Number of cores.


vul_countOptional

vul_count: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vulCount: Vulnerability repair times, interval type, value range:[20,100000000].

This module can only be purchased when vul_switch = 1. Only when the version_code value is level7 or level10. other versions do not need to be purchased separately.


vul_switchOptional

vul_switch: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vulSwitch: Vulnerability fix switch.

Value:

  • 0: No.
  • 1: Yes.

When the value of version_code is level7 or level10, the purchase is allowed. Other versions do not need to be purchased separately.