Interface CfnSecurityProfile.MetricValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSecurityProfile.MetricValueProperty.Jsii$Proxy
- Enclosing class:
CfnSecurityProfile
@Stability(Stable)
public static interface CfnSecurityProfile.MetricValueProperty
extends software.amazon.jsii.JsiiSerializable
The value to be compared with the
metric .
Example:
// 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.*;
MetricValueProperty metricValueProperty = MetricValueProperty.builder()
.cidrs(List.of("cidrs"))
.count("count")
.number(123)
.numbers(List.of(123))
.ports(List.of(123))
.strings(List.of("strings"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSecurityProfile.MetricValuePropertystatic final classAn implementation forCfnSecurityProfile.MetricValueProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getCidrs()If thecomparisonOperatorcalls for a set of CIDRs, use this to specify that set to be compared with themetric.default StringgetCount()If thecomparisonOperatorcalls for a numeric value, use this to specify that numeric value to be compared with themetric.default NumberThe numeric values of a metric.default ObjectThe numeric value of a metric.default ObjectgetPorts()If thecomparisonOperatorcalls for a set of ports, use this to specify that set to be compared with themetric.The string values of a metric.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidrs
If thecomparisonOperatorcalls for a set of CIDRs, use this to specify that set to be compared with themetric.- See Also:
-
getCount
If thecomparisonOperatorcalls for a numeric value, use this to specify that numeric value to be compared with themetric.- See Also:
-
getNumber
The numeric values of a metric.- See Also:
-
getNumbers
The numeric value of a metric.Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
getPorts
If thecomparisonOperatorcalls for a set of ports, use this to specify that set to be compared with themetric.Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
getStrings
The string values of a metric.- See Also:
-
builder
-