Instance
- Implements: IInstance
This class encapsulates and extends the ROS resource type ALIYUN::ThreatDetection::Instance, which is used to purchase Security Center (SAS).
Initializers
using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
new Instance(Construct Scope, string Id, InstanceProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description |
|---|---|---|
Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. |
Id | string | No description. |
Props | InstanceProps | No description. |
EnableResourcePropertyConstraint | bool | No description. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: InstanceProps
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
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
Instance.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node associated with this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Ref | string | No description. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
Resource | AlibabaCloud.SDK.ROS.CDK.Core.RosResource | No description. |
AttrBuyNumber | object | Attribute BuyNumber: Number of servers. |
AttrContainerImageScan | object | Attribute ContainerImageScan: Container Image security scan. |
AttrContainerImageScanNew | object | Attribute ContainerImageScanNew: Container Image security scan. |
AttrCreateTime | object | Attribute CreateTime: The creation time of the resource. |
AttrHoneypot | object | Attribute Honeypot: Number of cloud honeypot licenses. |
AttrHoneypotSwitch | object | Attribute HoneypotSwitch: Cloud honeypot. |
AttrInstanceId | object | Attribute InstanceId: The first ID of the resource. |
AttrPaymentType | object | Attribute PaymentType: The payment type of the resource. |
AttrRaspCount | object | Attribute RaspCount: Number of application protection licenses. |
AttrRenewalPeriodUnit | object | Attribute RenewalPeriodUnit: Automatic renewal period unit, value:. |
AttrRenewalStatus | object | Attribute RenewalStatus: Automatic renewal status, value:. |
AttrRenewPeriod | object | Attribute RenewPeriod: Automatic renewal cycle, in months. |
AttrSasAntiRansomware | object | Attribute SasAntiRansomware: Anti-ransomware capacity. |
AttrSasCspm | object | Attribute SasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999]. |
AttrSasCspmSwitch | object | Attribute SasCspmSwitch: Cloud platform configuration check switch. |
AttrSasSc | object | Attribute SasSc: Security screen. |
AttrSasSdk | object | Attribute SasSdk: Number of malicious file detections. |
AttrSasSdkSwitch | object | Attribute SasSdkSwitch: Malicious file detection SDK. |
AttrSasSlsStorage | object | Attribute SasSlsStorage: Log analysis storage capacity. |
AttrSasWebguardBoolean | object | Attribute SasWebguardBoolean: Web tamper-proof switch. |
AttrSasWebguardOrderNum | object | Attribute SasWebguardOrderNum: Tamper-proof authorization number. |
AttrThreatAnalysis | object | Attribute ThreatAnalysis: Threat Analysis log storage capacity. |
AttrThreatAnalysisSwitch | object | Attribute ThreatAnalysisSwitch: Threat analysis. |
AttrVCore | object | Attribute VCore: Number of cores. |
AttrVersionCode | object | Attribute VersionCode: Select the security center version. |
AttrVulCount | object | Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000]. |
AttrVulSwitch | object | Attribute VulSwitch: Vulnerability fix switch. |
Props | InstanceProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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
public string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrBuyNumberRequired
public object AttrBuyNumber { get; }
- Type: object
Attribute BuyNumber: Number of servers.
AttrContainerImageScanRequired
public object AttrContainerImageScan { get; }
- Type: object
Attribute ContainerImageScan: Container Image security scan.
Interval type, value interval:[0,200000].
AttrContainerImageScanNewRequired
public object AttrContainerImageScanNew { get; }
- Type: object
Attribute ContainerImageScanNew: Container Image security scan.
Interval type, value interval:[0,200000].
AttrCreateTimeRequired
public object AttrCreateTime { get; }
- Type: object
Attribute CreateTime: The creation time of the resource.
AttrHoneypotRequired
public object AttrHoneypot { get; }
- Type: object
Attribute Honeypot: Number of cloud honeypot licenses.
Interval type, value interval:[20,500].
AttrHoneypotSwitchRequired
public object AttrHoneypotSwitch { get; }
- Type: object
Attribute HoneypotSwitch: Cloud honeypot.
AttrInstanceIdRequired
public object AttrInstanceId { get; }
- Type: object
Attribute InstanceId: The first ID of the resource.
AttrPaymentTypeRequired
public object AttrPaymentType { get; }
- Type: object
Attribute PaymentType: The payment type of the resource.
AttrRaspCountRequired
public object AttrRaspCount { get; }
- Type: object
Attribute RaspCount: Number of application protection licenses.
Interval type, value interval:[1,100000000].
AttrRenewalPeriodUnitRequired
public object AttrRenewalPeriodUnit { get; }
- Type: object
Attribute RenewalPeriodUnit: Automatic renewal period unit, value:.
AttrRenewalStatusRequired
public object AttrRenewalStatus { get; }
- Type: object
Attribute RenewalStatus: Automatic renewal status, value:.
AttrRenewPeriodRequired
public object AttrRenewPeriod { get; }
- Type: object
Attribute RenewPeriod: Automatic renewal cycle, in months.
AttrSasAntiRansomwareRequired
public object AttrSasAntiRansomware { get; }
- Type: object
Attribute SasAntiRansomware: Anti-ransomware capacity.
Unit: GB. Interval type, value interval:[0,9999999999].
AttrSasCspmRequired
public object AttrSasCspm { get; }
- Type: object
Attribute SasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
AttrSasCspmSwitchRequired
public object AttrSasCspmSwitch { get; }
- Type: object
Attribute SasCspmSwitch: Cloud platform configuration check switch.
AttrSasScRequired
public object AttrSasSc { get; }
- Type: object
Attribute SasSc: Security screen.
AttrSasSdkRequired
public object AttrSasSdk { get; }
- Type: object
Attribute SasSdk: Number of malicious file detections.
Unit: 10,000 times. Interval type, value interval:[10,9999999999].
AttrSasSdkSwitchRequired
public object AttrSasSdkSwitch { get; }
- Type: object
Attribute SasSdkSwitch: Malicious file detection SDK.
AttrSasSlsStorageRequired
public object AttrSasSlsStorage { get; }
- Type: object
Attribute SasSlsStorage: Log analysis storage capacity.
Unit: GB. Interval type, value interval:[0,600000].
AttrSasWebguardBooleanRequired
public object AttrSasWebguardBoolean { get; }
- Type: object
Attribute SasWebguardBoolean: Web tamper-proof switch.
AttrSasWebguardOrderNumRequired
public object AttrSasWebguardOrderNum { get; }
- Type: object
Attribute SasWebguardOrderNum: Tamper-proof authorization number.
AttrThreatAnalysisRequired
public object AttrThreatAnalysis { get; }
- Type: object
Attribute ThreatAnalysis: Threat Analysis log storage capacity.
Interval type, value interval:[0,9999999999].
AttrThreatAnalysisSwitchRequired
public object AttrThreatAnalysisSwitch { get; }
- Type: object
Attribute ThreatAnalysisSwitch: Threat analysis.
AttrVCoreRequired
public object AttrVCore { get; }
- Type: object
Attribute VCore: Number of cores.
AttrVersionCodeRequired
public object AttrVersionCode { get; }
- Type: object
Attribute VersionCode: Select the security center version.
AttrVulCountRequired
public object AttrVulCount { get; }
- Type: object
Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000].
AttrVulSwitchRequired
public object AttrVulSwitch { get; }
- Type: object
Attribute VulSwitch: Vulnerability fix switch.
PropsRequired
public InstanceProps Props { get; }
- Type: InstanceProps