interface DimensionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.NetworkFirewall.CfnFirewallPolicy.DimensionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkfirewall#CfnFirewallPolicy_DimensionProperty |
![]() | software.amazon.awscdk.services.networkfirewall.CfnFirewallPolicy.DimensionProperty |
![]() | aws_cdk.aws_networkfirewall.CfnFirewallPolicy.DimensionProperty |
![]() | 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
Name | Type | Description |
---|---|---|
value | string | The value to use in the custom metric dimension. |
value
Type:
string
The value to use in the custom metric dimension.