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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.shield.CfnProtection.ActionProperty
CfnProtection.ActionProperty.Builder, CfnProtection.ActionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnProtection.ActionProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectgetBlock()Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFBlockaction.final ObjectgetCount()Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFCountaction.final inthashCode()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.ActionPropertySpecifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFBlockaction.You must specify exactly one action, either
BlockorCount.Example JSON:
{ "Block": {} }Example YAML:
Block: {}- Specified by:
getBlockin interfaceCfnProtection.ActionProperty
-
getCount
Description copied from interface:CfnProtection.ActionPropertySpecifies that Shield Advanced should configure its AWS WAF rules with the AWS WAFCountaction.You must specify exactly one action, either
BlockorCount.Example JSON:
{ "Count": {} }Example YAML:
Count: {}- Specified by:
getCountin interfaceCfnProtection.ActionProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-