Skip to content
v2.278.0

ActionConditionProperty Struct ​

Condition that matches based on the specific WAF action taken on the request.

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 actionConditionProperty: observabilityadmin.CfnTelemetryRule.ActionConditionProperty = {
  action: 'action',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin

action_condition_property = observabilityadmin.CfnTelemetryRule.ActionConditionProperty(
    action="action"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.observabilityadmin.*;

ActionConditionProperty actionConditionProperty = ActionConditionProperty.builder()
        .action("action")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 actionConditionProperty = new ActionConditionProperty {
    Action = "action"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

actionConditionProperty := &ActionConditionProperty{
	Action: jsii.String("action"),
}

Properties ​

actionoptionalstringactionoptionalstractionoptionalStringActionoptionalstringActionoptional*string #
The WAF action to match against (ALLOW, BLOCK, COUNT, CAPTCHA, CHALLENGE, EXCLUDED_AS_COUNT).