aws-cdk-lib.aws_networkfirewall.CfnFirewallPolicy.DimensionProperty

interface DimensionProperty

LanguageType name
.NETAmazon.CDK.AWS.NetworkFirewall.CfnFirewallPolicy.DimensionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewallPolicy_DimensionProperty
Javasoftware.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.DimensionProperty
Pythonaws_cdk.aws_networkfirewall.CfnFirewallPolicy.DimensionProperty
TypeScript aws-cdk-lib » aws_networkfirewall » CfnFirewallPolicy » DimensionProperty

The value to use in an Amazon CloudWatch custom metric dimension.

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 { aws_networkfirewall as networkfirewall } from 'aws-cdk-lib';
const dimensionProperty: networkfirewall.CfnFirewallPolicy.DimensionProperty = {
  value: 'value',
};

Properties

NameTypeDescription
valuestringThe value to use in the custom metric dimension.

value

Type: string

The value to use in the custom metric dimension.