Class CfnSecurityProfile.MetricToRetainProperty
The metric you want to retain.
Inheritance
System.Object
CfnSecurityProfile.MetricToRetainProperty
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricToRetainProperty : Object, CfnSecurityProfile.IMetricToRetainProperty
Syntax (vb)
Public Class MetricToRetainProperty
Inherits Object
Implements CfnSecurityProfile.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
Constructors
MetricToRetainProperty() |
Properties
ExportMetric | The value indicates exporting metrics related to the |
Metric | A standard of measurement. |
MetricDimension | The dimension of the metric. |
Constructors
MetricToRetainProperty()
public MetricToRetainProperty()
Properties
ExportMetric
The value indicates exporting metrics related to the MetricToRetain
when it's true.
public object ExportMetric { get; set; }
Property Value
System.Object
Remarks
Metric
A standard of measurement.
public string Metric { get; set; }
Property Value
System.String
Remarks
MetricDimension
The dimension of the metric.
public object MetricDimension { get; set; }
Property Value
System.Object