MachineLearningDetectionConfigProperty Struct
The MachineLearningDetectionConfig property type controls confidence of the machine learning model.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const machineLearningDetectionConfigProperty: iot.CfnSecurityProfile.MachineLearningDetectionConfigProperty = {
confidenceLevel: 'confidenceLevel',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot
machine_learning_detection_config_property = iot.CfnSecurityProfile.MachineLearningDetectionConfigProperty(
confidence_level="confidenceLevel"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
MachineLearningDetectionConfigProperty machineLearningDetectionConfigProperty = MachineLearningDetectionConfigProperty.builder()
.confidenceLevel("confidenceLevel")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var machineLearningDetectionConfigProperty = new MachineLearningDetectionConfigProperty {
ConfidenceLevel = "confidenceLevel"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
machineLearningDetectionConfigProperty := &MachineLearningDetectionConfigProperty{
ConfidenceLevel: jsii.String("confidenceLevel"),
}
Properties
confidenceLeveloptionalstringconfidence_leveloptionalstrconfidenceLeveloptionalStringConfidenceLeveloptionalstringConfidenceLeveloptional*string #The model confidence level.
There are three levels of confidence, "high" , "medium" , and "low" .
The higher the confidence level, the lower the sensitivity, and the lower the alarm frequency will be.