RosInstance
This class is a base encapsulation around 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.NewRosInstance(scope Construct, id *string, props RosInstanceProps, enableResourcePropertyConstraint *bool) RosInstance
| Name | Type | Description |
|---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
- scope in which this resource is defined. |
id |
*string |
- scoped id of the resource. |
props |
RosInstanceProps |
- resource properties. |
enableResourcePropertyConstraint |
*bool |
No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
scope in which this resource is defined.
idRequired
- Type: *string
scoped id of the resource.
propsRequired
- Type: RosInstanceProps
resource properties.
enableResourcePropertyConstraintRequired
- 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. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
AddCondition |
No description. |
AddCount |
No description. |
AddDeletionOverride |
Syntactic sugar for addOverride(path, undefined). |
AddDependsOn |
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. |
AddDesc |
No description. |
AddMetaData |
No description. |
AddOverride |
Adds an override to the synthesized ROS resource. |
AddPropertyDeletionOverride |
Adds an override that deletes the value of a property from the resource definition. |
AddPropertyOverride |
Adds an override to a resource property. |
AddRosDependency |
No description. |
ApplyRemovalPolicy |
Sets the deletion policy of the resource based on the removal policy specified. |
GetAtt |
Returns a token for an runtime attribute of this resource. |
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.
OverrideLogicalId
func OverrideLogicalId(newLogicalId *string)
Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
AddCondition
func AddCondition(con RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDeletionOverride
func AddDeletionOverride(path *string)
Syntactic sugar for addOverride(path, undefined).
- Type: *string
The path of the value to delete.
AddDependsOn
func AddDependsOn(target RosResource)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AddDesc
func AddDesc(desc *string)
- Type: *string
AddMetaData
func AddMetaData(key *string, value interface{})
- Type: *string
- Type: interface{}
AddOverride
func AddOverride(path *string, value interface{})
Adds an override to the synthesized ROS resource.
To add a
property override, either use addPropertyOverride or prefix path with
"Properties." (i.e. Properties.TopicName).
If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
For example,
addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')
would add the overrides
"Properties": {
"GlobalSecondaryIndexes": [
{
"Projection": {
"NonKeyAttributes": [ "myattribute" ]
...
}
...
},
{
"ProjectionType": "INCLUDE"
...
},
]
...
}
- Type: *string
The path of the property, you can use dot notation to override values in complex types.
Any intermdediate keys will be created as needed.
- Type: interface{}
The value.
Could be primitive or complex.
AddPropertyDeletionOverride
func AddPropertyDeletionOverride(propertyPath *string)
Adds an override that deletes the value of a property from the resource definition.
- Type: *string
The path to the property.
AddPropertyOverride
func AddPropertyOverride(propertyPath *string, value interface{})
Adds an override to a resource property.
Syntactic sugar for addOverride("Properties.<...>", value).
- Type: *string
The path of the property.
- Type: interface{}
The value.
AddRosDependency
func AddRosDependency(target *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy, options RemovalPolicyOptions)
Sets the deletion policy of the resource based on the removal policy specified.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicyOptions
GetAtt
func GetAtt(attributeName *string) Reference
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility
in case there is no generated attribute.
- Type: *string
The name of the attribute.
Static Functions
| Name | Description |
|---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsRosElement |
Returns true if a construct is a stack element (i.e. part of the synthesized template). |
IsRosResource |
Check whether the given construct is a RosResource. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
alicloudroscdkthreatdetection.RosInstance_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
IsRosElement
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
alicloudroscdkthreatdetection.RosInstance_IsRosElement(x interface{}) *bool
Returns true if a construct is a stack element (i.e. part of the synthesized template).
Uses duck-typing instead of instanceof to allow stack elements from different
versions of this library to be included in the same stack.
- Type: interface{}
IsRosResource
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
alicloudroscdkthreatdetection.RosInstance_IsRosResource(construct IConstruct) *bool
Check whether the given construct is a RosResource.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IConstruct
Properties
| Name | Type | Description |
|---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
CreationStack |
[]string |
No description. |
LogicalId |
*string |
The logical ID for this stack element. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this element is defined. |
Ref |
*string |
Return a string that will be resolved to a RosTemplate { Ref } for this element. |
RosOptions |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IRosResourceOptions |
Options for this resource, such as condition, update policy etc. |
RosResourceType |
*string |
ROS resource type. |
AttrBuyNumber |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrContainerImageScan |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrContainerImageScanNew |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrCreateTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrHoneypot |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrHoneypotSwitch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrInstanceId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrPaymentType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrRaspCount |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrRenewalPeriodUnit |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrRenewalStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrRenewPeriod |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasAntiRansomware |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasCspm |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasCspmSwitch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasSc |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasSdk |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasSdkSwitch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasSlsStorage |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasWebguardBoolean |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrSasWebguardOrderNum |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrThreatAnalysis |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrThreatAnalysisSwitch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrVCore |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrVersionCode |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrVulCount |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
AttrVulSwitch |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
No description. |
EnableResourcePropertyConstraint |
*bool |
No description. |
PaymentType |
interface{} |
No description. |
VersionCode |
interface{} |
No description. |
BuyNumber |
interface{} |
No description. |
ContainerImageScan |
interface{} |
No description. |
ContainerImageScanNew |
interface{} |
No description. |
Honeypot |
interface{} |
No description. |
HoneypotSwitch |
interface{} |
No description. |
ModifyType |
interface{} |
No description. |
Period |
interface{} |
No description. |
ProductType |
interface{} |
No description. |
RaspCount |
interface{} |
No description. |
RenewalPeriodUnit |
interface{} |
No description. |
RenewalStatus |
interface{} |
No description. |
RenewPeriod |
interface{} |
No description. |
SasAntiRansomware |
interface{} |
No description. |
SasCspm |
interface{} |
No description. |
SasCspmSwitch |
interface{} |
No description. |
SasSc |
interface{} |
No description. |
SasSdk |
interface{} |
No description. |
SasSdkSwitch |
interface{} |
No description. |
SasSlsStorage |
interface{} |
No description. |
SasWebguardBoolean |
interface{} |
No description. |
SasWebguardOrderNum |
interface{} |
No description. |
ThreatAnalysis |
interface{} |
No description. |
ThreatAnalysisSwitch |
interface{} |
No description. |
VCore |
interface{} |
No description. |
VulCount |
interface{} |
No description. |
VulSwitch |
interface{} |
No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
CreationStackRequired
func CreationStack() *[]*string
- Type: []string
LogicalIdRequired
func LogicalId() *string
- Type: *string
The logical ID for this stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use overrideLogicalId(newLogicalId).
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this element is defined.
RosElements must be defined within a stack scope (directly or indirectly).
RefRequired
func Ref() *string
- Type: *string
Return a string that will be resolved to a RosTemplate { Ref } for this element.
If, by any chance, the intrinsic reference of a resource is not a string, you could
coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).
RosOptionsRequired
func RosOptions() IRosResourceOptions
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IRosResourceOptions
Options for this resource, such as condition, update policy etc.
RosResourceTypeRequired
func RosResourceType() *string
- Type: *string
ROS resource type.
AttrBuyNumberRequired
func AttrBuyNumber() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrContainerImageScanRequired
func AttrContainerImageScan() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrContainerImageScanNewRequired
func AttrContainerImageScanNew() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrCreateTimeRequired
func AttrCreateTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrHoneypotRequired
func AttrHoneypot() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrHoneypotSwitchRequired
func AttrHoneypotSwitch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrInstanceIdRequired
func AttrInstanceId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrPaymentTypeRequired
func AttrPaymentType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrRaspCountRequired
func AttrRaspCount() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrRenewalPeriodUnitRequired
func AttrRenewalPeriodUnit() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrRenewalStatusRequired
func AttrRenewalStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrRenewPeriodRequired
func AttrRenewPeriod() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasAntiRansomwareRequired
func AttrSasAntiRansomware() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasCspmRequired
func AttrSasCspm() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasCspmSwitchRequired
func AttrSasCspmSwitch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasScRequired
func AttrSasSc() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasSdkRequired
func AttrSasSdk() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasSdkSwitchRequired
func AttrSasSdkSwitch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasSlsStorageRequired
func AttrSasSlsStorage() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasWebguardBooleanRequired
func AttrSasWebguardBoolean() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrSasWebguardOrderNumRequired
func AttrSasWebguardOrderNum() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrThreatAnalysisRequired
func AttrThreatAnalysis() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrThreatAnalysisSwitchRequired
func AttrThreatAnalysisSwitch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrVCoreRequired
func AttrVCore() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrVersionCodeRequired
func AttrVersionCode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrVulCountRequired
func AttrVulCount() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
AttrVulSwitchRequired
func AttrVulSwitch() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
EnableResourcePropertyConstraintRequired
func EnableResourcePropertyConstraint() *bool
- Type: *bool
PaymentTypeRequired
func PaymentType() interface{}
- Type: interface{}
VersionCodeRequired
func VersionCode() interface{}
- Type: interface{}
BuyNumberOptional
func BuyNumber() interface{}
- Type: interface{}
ContainerImageScanOptional
func ContainerImageScan() interface{}
- Type: interface{}
ContainerImageScanNewOptional
func ContainerImageScanNew() interface{}
- Type: interface{}
HoneypotOptional
func Honeypot() interface{}
- Type: interface{}
HoneypotSwitchOptional
func HoneypotSwitch() interface{}
- Type: interface{}
ModifyTypeOptional
func ModifyType() interface{}
- Type: interface{}
PeriodOptional
func Period() interface{}
- Type: interface{}
ProductTypeOptional
func ProductType() interface{}
- Type: interface{}
RaspCountOptional
func RaspCount() interface{}
- Type: interface{}
RenewalPeriodUnitOptional
func RenewalPeriodUnit() interface{}
- Type: interface{}
RenewalStatusOptional
func RenewalStatus() interface{}
- Type: interface{}
RenewPeriodOptional
func RenewPeriod() interface{}
- Type: interface{}
SasAntiRansomwareOptional
func SasAntiRansomware() interface{}
- Type: interface{}
SasCspmOptional
func SasCspm() interface{}
- Type: interface{}
SasCspmSwitchOptional
func SasCspmSwitch() interface{}
- Type: interface{}
SasScOptional
func SasSc() interface{}
- Type: interface{}
SasSdkOptional
func SasSdk() interface{}
- Type: interface{}
SasSdkSwitchOptional
func SasSdkSwitch() interface{}
- Type: interface{}
SasSlsStorageOptional
func SasSlsStorage() interface{}
- Type: interface{}
SasWebguardBooleanOptional
func SasWebguardBoolean() interface{}
- Type: interface{}
SasWebguardOrderNumOptional
func SasWebguardOrderNum() interface{}
- Type: interface{}
ThreatAnalysisOptional
func ThreatAnalysis() interface{}
- Type: interface{}
ThreatAnalysisSwitchOptional
func ThreatAnalysisSwitch() interface{}
- Type: interface{}
VCoreOptional
func VCore() interface{}
- Type: interface{}
VulCountOptional
func VulCount() interface{}
- Type: interface{}
VulSwitchOptional
func VulSwitch() interface{}
- Type: interface{}
Constants
| Name | Type | Description |
|---|---|---|
RosResourceTypeName |
*string |
The resource type name for this resource class. |
RosResourceTypeNameRequired
func RosResourceTypeName() *string
- Type: *string
The resource type name for this resource class.