Interface CfnSecurityProfile.IMetricToRetainProperty
The metric you want to retain.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMetricToRetainProperty
Syntax (vb)
Public Interface IMetricToRetainProperty
Remarks
Dimensions are optional.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var metricToRetainProperty = new MetricToRetainProperty {
Metric = "metric",
// the properties below are optional
ExportMetric = false,
MetricDimension = new MetricDimensionProperty {
DimensionName = "dimensionName",
// the properties below are optional
Operator = "operator"
}
};
Synopsis
Properties
ExportMetric | The value indicates exporting metrics related to the |
Metric | A standard of measurement. |
MetricDimension | The dimension of the metric. |
Properties
ExportMetric
The value indicates exporting metrics related to the MetricToRetain
when it's true.
virtual object ExportMetric { get; }
Property Value
System.Object
Remarks
Metric
A standard of measurement.
string Metric { get; }
Property Value
System.String
Remarks
MetricDimension
The dimension of the metric.
virtual object MetricDimension { get; }
Property Value
System.Object