Skip to content
v2.274.0

ConditionProperty Struct ​

A single condition that can match based on WAF rule action or label name.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const conditionProperty: observabilityadmin.CfnTelemetryRule.ConditionProperty = {
  actionCondition: {
    action: 'action',
  },
  labelNameCondition: {
    labelName: 'labelName',
  },
};

Properties ​

actionConditionoptionalIResolvable | CfnTelemetryRule.ActionConditionPropertyaction_conditionoptionaltyping.Union[IResolvable, ActionConditionProperty]actionConditionoptionalIResolvableActionConditionoptionalIResolvableActionConditionoptionalinterface{}#
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).
labelNameConditionoptionalIResolvable | CfnTelemetryRule.LabelNameConditionPropertylabel_name_conditionoptionaltyping.Union[IResolvable, LabelNameConditionProperty]labelNameConditionoptionalIResolvableLabelNameConditionoptionalIResolvableLabelNameConditionoptionalinterface{}#
Matches log records based on WAF rule labels applied to the request.