Interface CfnTelemetryRulePropsMixin.ConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTelemetryRulePropsMixin.ConditionProperty.Jsii$Proxy
- Enclosing class:
CfnTelemetryRulePropsMixin
@Stability(Stable)
public static interface CfnTelemetryRulePropsMixin.ConditionProperty
extends software.amazon.jsii.JsiiSerializable
A single condition that can match based on WAF rule action or label name.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.*;
ConditionProperty conditionProperty = ConditionProperty.builder()
.actionCondition(ActionConditionProperty.builder()
.action("action")
.build())
.labelNameCondition(LabelNameConditionProperty.builder()
.labelName("labelName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTelemetryRulePropsMixin.ConditionPropertystatic final classAn implementation forCfnTelemetryRulePropsMixin.ConditionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionCondition
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).Returns union: either
IResolvableorCfnTelemetryRulePropsMixin.ActionConditionProperty- See Also:
-
getLabelNameCondition
Matches log records based on WAF rule labels applied to the request.Returns union: either
IResolvableorCfnTelemetryRulePropsMixin.LabelNameConditionProperty- See Also:
-
builder
-