Class CfnProtection.ActionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.shield.CfnProtection.ActionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnProtection.ActionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnProtection.ActionProperty
@Stability(Stable)
@Internal
public static final class CfnProtection.ActionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnProtection.ActionProperty
An implementation for
CfnProtection.ActionProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.shield.CfnProtection.ActionProperty
CfnProtection.ActionProperty.Builder, CfnProtection.ActionProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnProtection.ActionProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
getBlock()
Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFBlock
action.final Object
getCount()
Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFCount
action.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnProtection.ActionProperty.Builder
.
-
-
Method Details
-
getBlock
Description copied from interface:CfnProtection.ActionProperty
Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFBlock
action.You must specify exactly one action, either
Block
orCount
.Example JSON:
{ "Block": {} }
Example YAML:
Block: {}
- Specified by:
getBlock
in interfaceCfnProtection.ActionProperty
- See Also:
-
getCount
Description copied from interface:CfnProtection.ActionProperty
Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFCount
action.You must specify exactly one action, either
Block
orCount
.Example JSON:
{ "Count": {} }
Example YAML:
Count: {}
- Specified by:
getCount
in interfaceCfnProtection.ActionProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-