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: