aws-cdk-lib.aws_wafv2.CfnLoggingConfiguration.ActionConditionProperty

interface ActionConditionProperty

LanguageType name
.NETAmazon.CDK.AWS.WAFv2.CfnLoggingConfiguration.ActionConditionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnLoggingConfiguration_ActionConditionProperty
Javasoftware.amazon.awscdk.services.wafv2.CfnLoggingConfiguration.ActionConditionProperty
Pythonaws_cdk.aws_wafv2.CfnLoggingConfiguration.ActionConditionProperty
TypeScript aws-cdk-lib » aws_wafv2 » CfnLoggingConfiguration » ActionConditionProperty

A single action condition for a condition in a logging filter.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const actionConditionProperty: wafv2.CfnLoggingConfiguration.ActionConditionProperty = {
  action: 'action',
};

Properties

NameTypeDescription
actionstringThe action setting that a log record must contain in order to meet the condition.

action

Type: string

The action setting that a log record must contain in order to meet the condition.

This is the action that AWS WAF applied to the web request.

For rule groups, this is either the configured rule action setting, or if you've applied a rule action override to the rule, it's the override action. The value EXCLUDED_AS_COUNT matches on excluded rules and also on rules that have a rule action override of Count.