Skip to content

Instance

This class encapsulates and extends the ROS resource type ALIYUN::ThreatDetection::Instance, which is used to purchase Security Center (SAS).

Initializers

import { Instance } from '@alicloud/ros-cdk-threatdetection'
new Instance(scope: Construct, id: string, props: InstanceProps, enableResourcePropertyConstraint?: boolean)
Name Type Description
scope @alicloud/ros-cdk-core.Construct No description.
id string No description.
props InstanceProps No description.
enableResourcePropertyConstraint boolean No description.

scopeRequired

  • Type: @alicloud/ros-cdk-core.Construct

idRequired

  • Type: string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: boolean

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.
getAtt No description.
setMetadata No description.

toString

public toString(): string

Returns a string representation of this construct.

synthesize

public synthesize(session: ISynthesisSession): void

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.

sessionRequired

  • Type: @alicloud/ros-cdk-core.ISynthesisSession

The synthesis session.


addCondition

public addCondition(condition: RosCondition): void

conditionRequired

  • Type: @alicloud/ros-cdk-core.RosCondition

addCount

public addCount(count: number | IResolvable): void

countRequired

  • Type: number | @alicloud/ros-cdk-core.IResolvable

addDependency

public addDependency(resource: Resource): void

resourceRequired

  • Type: @alicloud/ros-cdk-core.Resource

addResourceDesc

public addResourceDesc(desc: string): void

descRequired

  • Type: string

applyRemovalPolicy

public applyRemovalPolicy(policy: RemovalPolicy): void

policyRequired

  • Type: @alicloud/ros-cdk-core.RemovalPolicy

getAtt

public getAtt(name: string): IResolvable

nameRequired

  • Type: string

setMetadata

public setMetadata(key: string, value: any): void

keyRequired

  • Type: string

valueRequired

  • Type: any

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import { Instance } from '@alicloud/ros-cdk-threatdetection'
Instance.isConstruct(x: any)

Return whether the given object is a Construct.

xRequired

  • Type: any

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node associated with this construct.
ref string No description.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
resource @alicloud/ros-cdk-core.RosResource No description.
attrBuyNumber @alicloud/ros-cdk-core.IResolvable Attribute BuyNumber: Number of servers.
attrContainerImageScan @alicloud/ros-cdk-core.IResolvable Attribute ContainerImageScan: Container Image security scan.
attrContainerImageScanNew @alicloud/ros-cdk-core.IResolvable Attribute ContainerImageScanNew: Container Image security scan.
attrCreateTime @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The creation time of the resource.
attrHoneypot @alicloud/ros-cdk-core.IResolvable Attribute Honeypot: Number of cloud honeypot licenses.
attrHoneypotSwitch @alicloud/ros-cdk-core.IResolvable Attribute HoneypotSwitch: Cloud honeypot.
attrInstanceId @alicloud/ros-cdk-core.IResolvable Attribute InstanceId: The first ID of the resource.
attrPaymentType @alicloud/ros-cdk-core.IResolvable Attribute PaymentType: The payment type of the resource.
attrRaspCount @alicloud/ros-cdk-core.IResolvable Attribute RaspCount: Number of application protection licenses.
attrRenewalPeriodUnit @alicloud/ros-cdk-core.IResolvable Attribute RenewalPeriodUnit: Automatic renewal period unit, value:.
attrRenewalStatus @alicloud/ros-cdk-core.IResolvable Attribute RenewalStatus: Automatic renewal status, value:.
attrRenewPeriod @alicloud/ros-cdk-core.IResolvable Attribute RenewPeriod: Automatic renewal cycle, in months.
attrSasAntiRansomware @alicloud/ros-cdk-core.IResolvable Attribute SasAntiRansomware: Anti-ransomware capacity.
attrSasCspm @alicloud/ros-cdk-core.IResolvable Attribute SasCspm: Cloud platform configuration check scan times, interval type, value range:[1000,9999999999].
attrSasCspmSwitch @alicloud/ros-cdk-core.IResolvable Attribute SasCspmSwitch: Cloud platform configuration check switch.
attrSasSc @alicloud/ros-cdk-core.IResolvable Attribute SasSc: Security screen.
attrSasSdk @alicloud/ros-cdk-core.IResolvable Attribute SasSdk: Number of malicious file detections.
attrSasSdkSwitch @alicloud/ros-cdk-core.IResolvable Attribute SasSdkSwitch: Malicious file detection SDK.
attrSasSlsStorage @alicloud/ros-cdk-core.IResolvable Attribute SasSlsStorage: Log analysis storage capacity.
attrSasWebguardBoolean @alicloud/ros-cdk-core.IResolvable Attribute SasWebguardBoolean: Web tamper-proof switch.
attrSasWebguardOrderNum @alicloud/ros-cdk-core.IResolvable Attribute SasWebguardOrderNum: Tamper-proof authorization number.
attrThreatAnalysis @alicloud/ros-cdk-core.IResolvable Attribute ThreatAnalysis: Threat Analysis log storage capacity.
attrThreatAnalysisSwitch @alicloud/ros-cdk-core.IResolvable Attribute ThreatAnalysisSwitch: Threat analysis.
attrVCore @alicloud/ros-cdk-core.IResolvable Attribute VCore: Number of cores.
attrVersionCode @alicloud/ros-cdk-core.IResolvable Attribute VersionCode: Select the security center version.
attrVulCount @alicloud/ros-cdk-core.IResolvable Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000].
attrVulSwitch @alicloud/ros-cdk-core.IResolvable Attribute VulSwitch: Vulnerability fix switch.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node associated with this construct.


refRequired

public readonly ref: string;
  • Type: string

stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


resourceOptional

public readonly resource: RosResource;
  • Type: @alicloud/ros-cdk-core.RosResource

attrBuyNumberRequired

public readonly attrBuyNumber: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute BuyNumber: Number of servers.


attrContainerImageScanRequired

public readonly attrContainerImageScan: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ContainerImageScan: Container Image security scan.

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


attrContainerImageScanNewRequired

public readonly attrContainerImageScanNew: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ContainerImageScanNew: Container Image security scan.

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


attrCreateTimeRequired

public readonly attrCreateTime: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute CreateTime: The creation time of the resource.


attrHoneypotRequired

public readonly attrHoneypot: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute Honeypot: Number of cloud honeypot licenses.

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


attrHoneypotSwitchRequired

public readonly attrHoneypotSwitch: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute HoneypotSwitch: Cloud honeypot.


attrInstanceIdRequired

public readonly attrInstanceId: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute InstanceId: The first ID of the resource.


attrPaymentTypeRequired

public readonly attrPaymentType: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute PaymentType: The payment type of the resource.


attrRaspCountRequired

public readonly attrRaspCount: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RaspCount: Number of application protection licenses.

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


attrRenewalPeriodUnitRequired

public readonly attrRenewalPeriodUnit: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RenewalPeriodUnit: Automatic renewal period unit, value:.


attrRenewalStatusRequired

public readonly attrRenewalStatus: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RenewalStatus: Automatic renewal status, value:.


attrRenewPeriodRequired

public readonly attrRenewPeriod: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute RenewPeriod: Automatic renewal cycle, in months.


attrSasAntiRansomwareRequired

public readonly attrSasAntiRansomware: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasAntiRansomware: Anti-ransomware capacity.

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


attrSasCspmRequired

public readonly attrSasCspm: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

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


attrSasCspmSwitchRequired

public readonly attrSasCspmSwitch: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasCspmSwitch: Cloud platform configuration check switch.


attrSasScRequired

public readonly attrSasSc: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasSc: Security screen.


attrSasSdkRequired

public readonly attrSasSdk: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasSdk: Number of malicious file detections.

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


attrSasSdkSwitchRequired

public readonly attrSasSdkSwitch: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasSdkSwitch: Malicious file detection SDK.


attrSasSlsStorageRequired

public readonly attrSasSlsStorage: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasSlsStorage: Log analysis storage capacity.

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


attrSasWebguardBooleanRequired

public readonly attrSasWebguardBoolean: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasWebguardBoolean: Web tamper-proof switch.


attrSasWebguardOrderNumRequired

public readonly attrSasWebguardOrderNum: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute SasWebguardOrderNum: Tamper-proof authorization number.


attrThreatAnalysisRequired

public readonly attrThreatAnalysis: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ThreatAnalysis: Threat Analysis log storage capacity.

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


attrThreatAnalysisSwitchRequired

public readonly attrThreatAnalysisSwitch: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute ThreatAnalysisSwitch: Threat analysis.


attrVCoreRequired

public readonly attrVCore: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VCore: Number of cores.


attrVersionCodeRequired

public readonly attrVersionCode: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VersionCode: Select the security center version.


attrVulCountRequired

public readonly attrVulCount: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VulCount: Vulnerability repair times, interval type, value range:[20,100000000].


attrVulSwitchRequired

public readonly attrVulSwitch: IResolvable;
  • Type: @alicloud/ros-cdk-core.IResolvable

Attribute VulSwitch: Vulnerability fix switch.