interface ConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ObservabilityAdmin.Mixins.CfnOrganizationTelemetryRulePropsMixin.ConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsobservabilityadmin/mixins#CfnOrganizationTelemetryRulePropsMixin_ConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.observabilityadmin.mixins.CfnOrganizationTelemetryRulePropsMixin.ConditionProperty |
Python | aws_cdk.mixins_preview.aws_observabilityadmin.mixins.CfnOrganizationTelemetryRulePropsMixin.ConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_observabilityadmin » mixins » CfnOrganizationTelemetryRulePropsMixin » 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 { mixins as observabilityadmin_mixins } from '@aws-cdk/mixins-preview/aws-observabilityadmin';
const conditionProperty: observabilityadmin_mixins.CfnOrganizationTelemetryRulePropsMixin.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