Instance
This class encapsulates and extends the ROS resource type ALIYUN::ThreatDetection::Instance, which is used to purchase Security Center (SAS).
Initializers
import ros_cdk_threatdetection
ros_cdk_threatdetection.Instance(
scope: Construct,
id: str,
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,
enable_resource_property_constraint: bool = None
)
| Name | Type | Description |
|---|---|---|
scope |
ros_cdk_core.Construct |
No description. |
id |
str |
No 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. |
enable_resource_property_constraint |
bool |
No description. |
scopeRequired
- Type: ros_cdk_core.Construct
idRequired
- Type: str
payment_typeRequired
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property paymentType: The payment type of the resource.
version_codeRequired
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property buyNumber: Number of servers.
container_image_scanOptional
- 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
- 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
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property honeypotSwitch: Cloud honeypot.
Value:
- 1: Yes.
- 2: No.
modify_typeOptional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property modifyType: Change configuration type, value - Upgrade: Upgrade.
- Downgrade: Downgrade.
periodOptional
- 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
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property raspCount: Number of application protection licenses.
Interval type, value interval:[1,100000000].
renewal_period_unitOptional
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
- ManualRenewal: manual renewal. Default ManualRenewal.
renew_periodOptional
- 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
- 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
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sasCspmSwitch: Cloud platform configuration check switch.
Value:
- 0: No.
- 1: Yes.
sas_scOptional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sasSc: Security screen.
Value:
- true: Yes.
- false: No.
sas_sdkOptional
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sasSdkSwitch: Malicious file detection SDK.
sas_sls_storageOptional
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sasWebguardBoolean: Web tamper-proof switch.
Value:
- 0: No.
- 1: Yes.
sas_webguard_order_numOptional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sasWebguardOrderNum: Tamper-proof authorization number.
Value:
- 0: No
- 1: Yes.
threat_analysisOptional
- 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
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property threatAnalysisSwitch: Threat analysis.
Value:
- 0: No.
- 1: Yes.
v_coreOptional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vCore: Number of cores.
vul_countOptional
- 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
- 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.
enable_resource_property_constraintOptional
- Type: bool
Methods
| Name | Description |
|---|---|
to_string |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
add_condition |
No description. |
add_count |
No description. |
add_dependency |
No description. |
add_resource_desc |
No description. |
apply_removal_policy |
No description. |
get_att |
No description. |
set_metadata |
No description. |
to_string
def to_string() -> str
Returns a string representation of this construct.
synthesize
def synthesize(
session: ISynthesisSession
) -> None
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: ros_cdk_core.ISynthesisSession
The synthesis session.
add_condition
def add_condition(
condition: RosCondition
) -> None
- Type: ros_cdk_core.RosCondition
add_count
def add_count(
count: typing.Union[typing.Union[int, float], IResolvable]
) -> None
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
add_dependency
def add_dependency(
resource: Resource
) -> None
- Type: ros_cdk_core.Resource
add_resource_desc
def add_resource_desc(
desc: str
) -> None
- Type: str
apply_removal_policy
def apply_removal_policy(
policy: RemovalPolicy
) -> None
- Type: ros_cdk_core.RemovalPolicy
get_att
def get_att(
name: str
) -> IResolvable
- Type: str
set_metadata
def set_metadata(
key: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
Static Functions
| Name | Description |
|---|---|
is_construct |
Return whether the given object is a Construct. |
is_construct
import ros_cdk_threatdetection
ros_cdk_threatdetection.Instance.is_construct(
x: typing.Any
)
Return whether the given object is a Construct.
- Type: typing.Any
Properties
| Name | Type | Description |
|---|---|---|
node |
ros_cdk_core.ConstructNode |
The construct tree node associated with this construct. |
ref |
str |
No description. |
stack |
ros_cdk_core.Stack |
The stack in which this resource is defined. |
resource |
ros_cdk_core.RosResource |
No description. |
attr_buy_number |
ros_cdk_core.IResolvable |
Attribute BuyNumber: Number of servers. |
attr_container_image_scan |
ros_cdk_core.IResolvable |
Attribute ContainerImageScan: Container Image security scan. |
attr_container_image_scan_new |
ros_cdk_core.IResolvable |
Attribute ContainerImageScanNew: Container Image security scan. |
attr_create_time |
ros_cdk_core.IResolvable |
Attribute CreateTime: The creation time of the resource. |
attr_honeypot |
ros_cdk_core.IResolvable |
Attribute Honeypot: Number of cloud honeypot licenses. |
attr_honeypot_switch |
ros_cdk_core.IResolvable |
Attribute HoneypotSwitch: Cloud honeypot. |
attr_instance_id |
ros_cdk_core.IResolvable |
Attribute InstanceId: The first ID of the resource. |
attr_payment_type |
ros_cdk_core.IResolvable |
Attribute PaymentType: The payment type of the resource. |
attr_rasp_count |
ros_cdk_core.IResolvable |
Attribute RaspCount: Number of application protection licenses. |
attr_renewal_period_unit |
ros_cdk_core.IResolvable |
Attribute RenewalPeriodUnit: Automatic renewal period unit, value:. |
attr_renewal_status |
ros_cdk_core.IResolvable |
Attribute RenewalStatus: Automatic renewal status, value:. |
attr_renew_period |
ros_cdk_core.IResolvable |
Attribute RenewPeriod: Automatic renewal cycle, in months. |
attr_sas_anti_ransomware |
ros_cdk_core.IResolvable |
Attribute SasAntiRansomware: Anti-ransomware capacity. |
attr_sas_cspm |
ros_cdk_core.IResolvable |
Attribute SasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999]. |
attr_sas_cspm_switch |
ros_cdk_core.IResolvable |
Attribute SasCspmSwitch: Cloud platform configuration check switch. |
attr_sas_sc |
ros_cdk_core.IResolvable |
Attribute SasSc: Security screen. |
attr_sas_sdk |
ros_cdk_core.IResolvable |
Attribute SasSdk: Number of malicious file detections. |
attr_sas_sdk_switch |
ros_cdk_core.IResolvable |
Attribute SasSdkSwitch: Malicious file detection SDK. |
attr_sas_sls_storage |
ros_cdk_core.IResolvable |
Attribute SasSlsStorage: Log analysis storage capacity. |
attr_sas_webguard_boolean |
ros_cdk_core.IResolvable |
Attribute SasWebguardBoolean: Web tamper-proof switch. |
attr_sas_webguard_order_num |
ros_cdk_core.IResolvable |
Attribute SasWebguardOrderNum: Tamper-proof authorization number. |
attr_threat_analysis |
ros_cdk_core.IResolvable |
Attribute ThreatAnalysis: Threat Analysis log storage capacity. |
attr_threat_analysis_switch |
ros_cdk_core.IResolvable |
Attribute ThreatAnalysisSwitch: Threat analysis. |
attr_v_core |
ros_cdk_core.IResolvable |
Attribute VCore: Number of cores. |
attr_version_code |
ros_cdk_core.IResolvable |
Attribute VersionCode: Select the security center version. |
attr_vul_count |
ros_cdk_core.IResolvable |
Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000]. |
attr_vul_switch |
ros_cdk_core.IResolvable |
Attribute VulSwitch: Vulnerability fix switch. |
nodeRequired
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node associated with this construct.
refRequired
ref: str
- Type: str
stackRequired
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
resourceOptional
resource: RosResource
- Type: ros_cdk_core.RosResource
attr_buy_numberRequired
attr_buy_number: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute BuyNumber: Number of servers.
attr_container_image_scanRequired
attr_container_image_scan: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ContainerImageScan: Container Image security scan.
Interval type, value interval:[0,200000].
attr_container_image_scan_newRequired
attr_container_image_scan_new: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ContainerImageScanNew: Container Image security scan.
Interval type, value interval:[0,200000].
attr_create_timeRequired
attr_create_time: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute CreateTime: The creation time of the resource.
attr_honeypotRequired
attr_honeypot: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute Honeypot: Number of cloud honeypot licenses.
Interval type, value interval:[20,500].
attr_honeypot_switchRequired
attr_honeypot_switch: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute HoneypotSwitch: Cloud honeypot.
attr_instance_idRequired
attr_instance_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute InstanceId: The first ID of the resource.
attr_payment_typeRequired
attr_payment_type: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute PaymentType: The payment type of the resource.
attr_rasp_countRequired
attr_rasp_count: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute RaspCount: Number of application protection licenses.
Interval type, value interval:[1,100000000].
attr_renewal_period_unitRequired
attr_renewal_period_unit: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute RenewalPeriodUnit: Automatic renewal period unit, value:.
attr_renewal_statusRequired
attr_renewal_status: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute RenewalStatus: Automatic renewal status, value:.
attr_renew_periodRequired
attr_renew_period: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute RenewPeriod: Automatic renewal cycle, in months.
attr_sas_anti_ransomwareRequired
attr_sas_anti_ransomware: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasAntiRansomware: Anti-ransomware capacity.
Unit: GB. Interval type, value interval:[0,9999999999].
attr_sas_cspmRequired
attr_sas_cspm: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
attr_sas_cspm_switchRequired
attr_sas_cspm_switch: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasCspmSwitch: Cloud platform configuration check switch.
attr_sas_scRequired
attr_sas_sc: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasSc: Security screen.
attr_sas_sdkRequired
attr_sas_sdk: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasSdk: Number of malicious file detections.
Unit: 10,000 times. Interval type, value interval:[10,9999999999].
attr_sas_sdk_switchRequired
attr_sas_sdk_switch: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasSdkSwitch: Malicious file detection SDK.
attr_sas_sls_storageRequired
attr_sas_sls_storage: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasSlsStorage: Log analysis storage capacity.
Unit: GB. Interval type, value interval:[0,600000].
attr_sas_webguard_booleanRequired
attr_sas_webguard_boolean: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasWebguardBoolean: Web tamper-proof switch.
attr_sas_webguard_order_numRequired
attr_sas_webguard_order_num: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute SasWebguardOrderNum: Tamper-proof authorization number.
attr_threat_analysisRequired
attr_threat_analysis: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ThreatAnalysis: Threat Analysis log storage capacity.
Interval type, value interval:[0,9999999999].
attr_threat_analysis_switchRequired
attr_threat_analysis_switch: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ThreatAnalysisSwitch: Threat analysis.
attr_v_coreRequired
attr_v_core: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VCore: Number of cores.
attr_version_codeRequired
attr_version_code: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VersionCode: Select the security center version.
attr_vul_countRequired
attr_vul_count: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000].
attr_vul_switchRequired
attr_vul_switch: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute VulSwitch: Vulnerability fix switch.