@Stability(value=Stable)
public static interface CfnRuleGroup.DimensionProperty
extends software.amazon.jsii.JsiiSerializable
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 .
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.networkfirewall.*;
DimensionProperty dimensionProperty = DimensionProperty.builder()
.value("value")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRuleGroup.DimensionProperty.Builder
A builder for
CfnRuleGroup.DimensionProperty |
static class |
CfnRuleGroup.DimensionProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.DimensionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleGroup.DimensionProperty.Builder |
builder() |
String |
getValue()
The value to use in the custom metric dimension.
|
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static CfnRuleGroup.DimensionProperty.Builder builder()
Copyright © 2022. All rights reserved.