aws-cdk-lib.aws_iot.CfnSecurityProfile.BehaviorProperty

interface BehaviorProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnSecurityProfile.BehaviorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnSecurityProfile_BehaviorProperty
Javasoftware.amazon.awscdk.services.iot.CfnSecurityProfile.BehaviorProperty
Pythonaws_cdk.aws_iot.CfnSecurityProfile.BehaviorProperty
TypeScript aws-cdk-lib » aws_iot » CfnSecurityProfile » BehaviorProperty

A Device Defender security profile behavior.

Example

// 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 behaviorProperty: iot.CfnSecurityProfile.BehaviorProperty = {
  name: 'name',

  // the properties below are optional
  criteria: {
    comparisonOperator: 'comparisonOperator',
    consecutiveDatapointsToAlarm: 123,
    consecutiveDatapointsToClear: 123,
    durationSeconds: 123,
    mlDetectionConfig: {
      confidenceLevel: 'confidenceLevel',
    },
    statisticalThreshold: {
      statistic: 'statistic',
    },
    value: {
      cidrs: ['cidrs'],
      count: 'count',
      number: 123,
      numbers: [123],
      ports: [123],
      strings: ['strings'],
    },
  },
  metric: 'metric',
  metricDimension: {
    dimensionName: 'dimensionName',

    // the properties below are optional
    operator: 'operator',
  },
  suppressAlerts: false,
};

Properties

NameTypeDescription
namestringThe name you've given to the behavior.
criteria?IResolvable | BehaviorCriteriaPropertyThe criteria that determine if a device is behaving normally in regard to the metric .
metric?stringWhat is measured by the behavior.
metricDimension?IResolvable | MetricDimensionPropertyThe dimension of the metric.
suppressAlerts?boolean | IResolvableThe alert status.

name

Type: string

The name you've given to the behavior.


criteria?

Type: IResolvable | BehaviorCriteriaProperty (optional)

The criteria that determine if a device is behaving normally in regard to the metric .


metric?

Type: string (optional)

What is measured by the behavior.


metricDimension?

Type: IResolvable | MetricDimensionProperty (optional)

The dimension of the metric.


suppressAlerts?

Type: boolean | IResolvable (optional)

The alert status.

If you set the value to true , alerts will be suppressed.