Class CfnOrganizationTelemetryRule.ConditionProperty
A single condition that can match based on WAF rule action or label name.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ObservabilityAdmin
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOrganizationTelemetryRule.ConditionProperty : CfnOrganizationTelemetryRule.IConditionProperty
Syntax (vb)
Public Class CfnOrganizationTelemetryRule.ConditionProperty Implements CfnOrganizationTelemetryRule.IConditionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;
var conditionProperty = new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
};
Synopsis
Constructors
| ConditionProperty() | A single condition that can match based on WAF rule action or label name. |
Properties
| ActionCondition | Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.). |
| LabelNameCondition | Matches log records based on WAF rule labels applied to the request. |
Constructors
ConditionProperty()
A single condition that can match based on WAF rule action or label name.
public ConditionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ObservabilityAdmin;
var conditionProperty = new ConditionProperty {
ActionCondition = new ActionConditionProperty {
Action = "action"
},
LabelNameCondition = new LabelNameConditionProperty {
LabelName = "labelName"
}
};
Properties
ActionCondition
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).
public object? ActionCondition { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOrganizationTelemetryRule.IActionConditionProperty
LabelNameCondition
Matches log records based on WAF rule labels applied to the request.
public object? LabelNameCondition { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOrganizationTelemetryRule.ILabelNameConditionProperty