@Stability(value=Stable)
public static interface CfnFirewallPolicy.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 |
CfnFirewallPolicy.DimensionProperty.Builder
A builder for
CfnFirewallPolicy.DimensionProperty |
static class |
CfnFirewallPolicy.DimensionProperty.Jsii$Proxy
An implementation for
CfnFirewallPolicy.DimensionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFirewallPolicy.DimensionProperty.Builder |
builder() |
String |
getValue()
The value to use in the custom metric dimension.
|
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static CfnFirewallPolicy.DimensionProperty.Builder builder()
Copyright © 2022. All rights reserved.