aws-cdk-lib.aws_networkfirewall.CfnRuleGroup.PublishMetricActionProperty

interface PublishMetricActionProperty

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

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.

This setting defines a CloudWatch dimension value to be published.

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 publishMetricActionProperty: networkfirewall.CfnRuleGroup.PublishMetricActionProperty = {
  dimensions: [{
    value: 'value',
  }],
};

Properties

NameTypeDescription
dimensionsIResolvable | IResolvable | DimensionProperty[]CfnRuleGroup.PublishMetricActionProperty.Dimensions.

dimensions

Type: IResolvable | IResolvable | DimensionProperty[]

CfnRuleGroup.PublishMetricActionProperty.Dimensions.