Class: AWSCDK::WAFv2::CfnWebACL::OnSourceDDoSProtectionConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wa_fv2/cfn_web_acl.rb

Overview

Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alb_low_reputation_mode:) ⇒ OnSourceDDoSProtectionConfigProperty

Returns a new instance of OnSourceDDoSProtectionConfigProperty.

Parameters:

  • alb_low_reputation_mode (String)

    The level of DDoS protection that applies to web ACLs associated with Application Load Balancers.



3857
3858
3859
3860
# File 'wa_fv2/cfn_web_acl.rb', line 3857

def initialize(alb_low_reputation_mode:)
  @alb_low_reputation_mode = alb_low_reputation_mode
  Jsii::Type.check_type(@alb_low_reputation_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "albLowReputationMode")
end

Instance Attribute Details

#alb_low_reputation_modeString (readonly)

The level of DDoS protection that applies to web ACLs associated with Application Load Balancers.

ACTIVE_UNDER_DDOS protection is enabled by default whenever a web ACL is associated with an Application Load Balancer. In the event that an Application Load Balancer experiences high-load conditions or suspected DDoS attacks, the ACTIVE_UNDER_DDOS protection automatically rate limits traffic from known low reputation sources without disrupting Application Load Balancer availability. ALWAYS_ON protection provides constant, always-on monitoring of known low reputation sources for suspected DDoS attacks. While this provides a higher level of protection, there may be potential impacts on legitimate traffic.



3868
3869
3870
# File 'wa_fv2/cfn_web_acl.rb', line 3868

def alb_low_reputation_mode
  @alb_low_reputation_mode
end

Class Method Details

.jsii_propertiesObject



3870
3871
3872
3873
3874
# File 'wa_fv2/cfn_web_acl.rb', line 3870

def self.jsii_properties
  {
    :alb_low_reputation_mode => "albLowReputationMode",
  }
end

Instance Method Details

#to_jsiiObject



3876
3877
3878
3879
3880
3881
3882
# File 'wa_fv2/cfn_web_acl.rb', line 3876

def to_jsii
  result = {}
  result.merge!({
    "albLowReputationMode" => @alb_low_reputation_mode,
  })
  result.compact
end