Interface CfnSecurityProfile.MetricToRetainProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSecurityProfile.MetricToRetainProperty.Jsii$Proxy
- Enclosing class:
CfnSecurityProfile
@Stability(Stable)
public static interface CfnSecurityProfile.MetricToRetainProperty
extends software.amazon.jsii.JsiiSerializable
The metric you want to retain.
Dimensions are optional.
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.*;
MetricToRetainProperty metricToRetainProperty = MetricToRetainProperty.builder()
.metric("metric")
// the properties below are optional
.exportMetric(false)
.metricDimension(MetricDimensionProperty.builder()
.dimensionName("dimensionName")
// the properties below are optional
.operator("operator")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSecurityProfile.MetricToRetainPropertystatic final classAn implementation forCfnSecurityProfile.MetricToRetainProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMetric
A standard of measurement.- See Also:
-
getExportMetric
The value indicates exporting metrics related to theMetricToRetainwhen it's true.Returns union: either
BooleanorIResolvable- See Also:
-
getMetricDimension
The dimension of the metric.Returns union: either
IResolvableorCfnSecurityProfile.MetricDimensionProperty- See Also:
-
builder
-