@Stability(value=Stable)
public static interface CfnSecurityProfile.BehaviorProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
BehaviorProperty behaviorProperty = BehaviorProperty.builder()
.name("name")
// the properties below are optional
.criteria(BehaviorCriteriaProperty.builder()
.comparisonOperator("comparisonOperator")
.consecutiveDatapointsToAlarm(123)
.consecutiveDatapointsToClear(123)
.durationSeconds(123)
.mlDetectionConfig(MachineLearningDetectionConfigProperty.builder()
.confidenceLevel("confidenceLevel")
.build())
.statisticalThreshold(StatisticalThresholdProperty.builder()
.statistic("statistic")
.build())
.value(MetricValueProperty.builder()
.cidrs(List.of("cidrs"))
.count("count")
.number(123)
.numbers(List.of(123))
.ports(List.of(123))
.strings(List.of("strings"))
.build())
.build())
.metric("metric")
.metricDimension(MetricDimensionProperty.builder()
.dimensionName("dimensionName")
// the properties below are optional
.operator("operator")
.build())
.suppressAlerts(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSecurityProfile.BehaviorProperty.Builder
A builder for
CfnSecurityProfile.BehaviorProperty |
static class |
CfnSecurityProfile.BehaviorProperty.Jsii$Proxy
An implementation for
CfnSecurityProfile.BehaviorProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSecurityProfile.BehaviorProperty.Builder |
builder() |
default Object |
getCriteria()
`CfnSecurityProfile.BehaviorProperty.Criteria`.
|
default String |
getMetric()
`CfnSecurityProfile.BehaviorProperty.Metric`.
|
default Object |
getMetricDimension()
`CfnSecurityProfile.BehaviorProperty.MetricDimension`.
|
String |
getName()
`CfnSecurityProfile.BehaviorProperty.Name`.
|
default Object |
getSuppressAlerts()
`CfnSecurityProfile.BehaviorProperty.SuppressAlerts`.
|
@Stability(value=Stable) @Nullable default Object getCriteria()
@Stability(value=Stable) @Nullable default String getMetric()
@Stability(value=Stable) @Nullable default Object getMetricDimension()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getSuppressAlerts()
@Stability(value=Stable) static CfnSecurityProfile.BehaviorProperty.Builder builder()
Copyright © 2021. All rights reserved.