Class CfnRuleGroup.DimensionProperty
The value to use in an Amazon CloudWatch custom metric dimension.
Inheritance
System.Object
CfnRuleGroup.DimensionProperty
Implements
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DimensionProperty : Object, CfnRuleGroup.IDimensionProperty
Syntax (vb)
Public Class DimensionProperty
Inherits Object
Implements CfnRuleGroup.IDimensionProperty
Remarks
This is used in the PublishMetrics
custom action. A CloudWatch custom metric dimension is a name/value pair that's part of the identity of a metric.
AWS Network Firewall sets the dimension name to CustomAction
and you provide the dimension value.
For more information about CloudWatch custom metric dimensions, see Publishing Custom Metrics in the Amazon CloudWatch User Guide .
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.NetworkFirewall;
var dimensionProperty = new DimensionProperty {
Value = "value"
};
Synopsis
Constructors
DimensionProperty() |
Properties
Value | The value to use in the custom metric dimension. |
Constructors
DimensionProperty()
public DimensionProperty()
Properties
Value
The value to use in the custom metric dimension.
public string Value { get; set; }
Property Value
System.String