interface ConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ObservabilityAdmin.CfnTelemetryRule.ConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsobservabilityadmin#CfnTelemetryRule_ConditionProperty |
Java | software.amazon.awscdk.services.observabilityadmin.CfnTelemetryRule.ConditionProperty |
Python | aws_cdk.aws_observabilityadmin.CfnTelemetryRule.ConditionProperty |
TypeScript | aws-cdk-lib » aws_observabilityadmin » CfnTelemetryRule » ConditionProperty |
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 { aws_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const conditionProperty: observabilityadmin.CfnTelemetryRule.ConditionProperty = {
actionCondition: {
action: 'action',
},
labelNameCondition: {
labelName: 'labelName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| action | IResolvable | Action | Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.). |
| label | IResolvable | Label | Matches log records based on WAF rule labels applied to the request. |
actionCondition?
Type:
IResolvable | Action
(optional)
Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).
labelNameCondition?
Type:
IResolvable | Label
(optional)
Matches log records based on WAF rule labels applied to the request.

.NET
Go
Java
Python
TypeScript