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