Class: AWSCDK::WAFv2::CfnWebACL::ClientSideActionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WAFv2::CfnWebACL::ClientSideActionConfigProperty
- Defined in:
- wa_fv2/cfn_web_acl.rb
Overview
This is part of the configuration for the managed rules AWSManagedRulesAntiDDoSRuleSet in ManagedRuleGroupConfig .
Instance Attribute Summary collapse
-
#challenge ⇒ AWSCDK::IResolvable, AWSCDK::WAFv2::CfnWebACL::ClientSideActionProperty
readonly
Configuration for the use of the
AWSManagedRulesAntiDDoSRuleSetrulesChallengeAllDuringEventandChallengeDDoSRequests.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(challenge:) ⇒ ClientSideActionConfigProperty
constructor
A new instance of ClientSideActionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(challenge:) ⇒ ClientSideActionConfigProperty
Returns a new instance of ClientSideActionConfigProperty.
1673 1674 1675 1676 |
# File 'wa_fv2/cfn_web_acl.rb', line 1673 def initialize(challenge:) @challenge = challenge.is_a?(Hash) ? ::AWSCDK::WAFv2::CfnWebACL::ClientSideActionProperty.new(**challenge.transform_keys(&:to_sym)) : challenge Jsii::Type.check_type(@challenge, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193YWZ2Mi5DZm5XZWJBQ0wuQ2xpZW50U2lkZUFjdGlvblByb3BlcnR5In1dfX0=")), "challenge") end |
Instance Attribute Details
#challenge ⇒ AWSCDK::IResolvable, AWSCDK::WAFv2::CfnWebACL::ClientSideActionProperty (readonly)
Configuration for the use of the AWSManagedRulesAntiDDoSRuleSet rules ChallengeAllDuringEvent and ChallengeDDoSRequests .
This setting isn't related to the configuration of the
Challengeaction itself. It only configures the use of the two anti-DDoS rules named here.
You can enable or disable the use of these rules, and you can configure how to use them when they are enabled.
1686 1687 1688 |
# File 'wa_fv2/cfn_web_acl.rb', line 1686 def challenge @challenge end |
Class Method Details
.jsii_properties ⇒ Object
1688 1689 1690 1691 1692 |
# File 'wa_fv2/cfn_web_acl.rb', line 1688 def self.jsii_properties { :challenge => "challenge", } end |
Instance Method Details
#to_jsii ⇒ Object
1694 1695 1696 1697 1698 1699 1700 |
# File 'wa_fv2/cfn_web_acl.rb', line 1694 def to_jsii result = {} result.merge!({ "challenge" => @challenge, }) result.compact end |