Interface CfnRuleGroup.ChallengeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroup.ChallengeProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.ChallengeProperty
extends software.amazon.jsii.JsiiSerializable
Checks that the request has a valid token with an unexpired challenge timestamp and, if not, returns a browser challenge to the client.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;
ChallengeProperty challengeProperty = ChallengeProperty.builder()
.customRequestHandling(CustomRequestHandlingProperty.builder()
.insertHeaders(List.of(CustomHTTPHeaderProperty.builder()
.name("name")
.value("value")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleGroup.ChallengePropertystatic final classAn implementation forCfnRuleGroup.ChallengeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomRequestHandling
Custom request handling.Returns union: either
IResolvableorCfnRuleGroup.CustomRequestHandlingProperty- See Also:
-
builder
-