@Generated(value="jsii-pacmak/1.42.0 (build 5f6b62c)", date="2021-11-17T10:20:01.635Z") @Stability(value=Experimental) public abstract class FirewallRuleAction extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
FirewallRuleAction() |
protected |
FirewallRuleAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FirewallRuleAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static FirewallRuleAction |
alert()
(experimental) Permit the request to go through but send an alert to the logs.
|
static FirewallRuleAction |
allow()
(experimental) Permit the request to go through.
|
static FirewallRuleAction |
block()
(experimental) Disallow the request.
|
static FirewallRuleAction |
block(DnsBlockResponse response)
(experimental) Disallow the request.
|
abstract String |
getAction()
(experimental) The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list.
|
abstract DnsBlockResponse |
getBlockResponse()
(experimental) The way that you want DNS Firewall to block the request.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected FirewallRuleAction(software.amazon.jsii.JsiiObjectRef objRef)
protected FirewallRuleAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected FirewallRuleAction()
@Stability(value=Experimental) @NotNull public static FirewallRuleAction alert()
@Stability(value=Experimental) @NotNull public static FirewallRuleAction allow()
@Stability(value=Experimental) @NotNull public static FirewallRuleAction block(@Nullable DnsBlockResponse response)
response - The way that you want DNS Firewall to block the request.@Stability(value=Experimental) @NotNull public static FirewallRuleAction block()
@Stability(value=Experimental) @NotNull public abstract String getAction()
@Stability(value=Experimental) @Nullable public abstract DnsBlockResponse getBlockResponse()
Copyright © 2021. All rights reserved.