Class: AWSCDK::EKS::ALBControllerHelmChartOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::ALBControllerHelmChartOptions
- Defined in:
- eks/alb_controller_helm_chart_options.rb
Overview
Helm chart options that can be set for AlbControllerChart To add any new supported values refer https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/helm/aws-load-balancer-controller/values.yaml.
Instance Attribute Summary collapse
-
#enable_waf ⇒ Boolean?
readonly
Enable or disable AWS WAF on the ALB ingress controller.
-
#enable_wafv2 ⇒ Boolean?
readonly
Enable or disable AWS WAFv2 on the ALB ingress controller.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enable_waf: nil, enable_wafv2: nil) ⇒ ALBControllerHelmChartOptions
constructor
A new instance of ALBControllerHelmChartOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enable_waf: nil, enable_wafv2: nil) ⇒ ALBControllerHelmChartOptions
Returns a new instance of ALBControllerHelmChartOptions.
9 10 11 12 13 14 |
# File 'eks/alb_controller_helm_chart_options.rb', line 9 def initialize(enable_waf: nil, enable_wafv2: nil) @enable_waf = enable_waf Jsii::Type.check_type(@enable_waf, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "enableWaf") unless @enable_waf.nil? @enable_wafv2 = enable_wafv2 Jsii::Type.check_type(@enable_wafv2, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "enableWafv2") unless @enable_wafv2.nil? end |
Instance Attribute Details
#enable_waf ⇒ Boolean? (readonly)
Default: - no value defined for this helm chart option, so it will not be set in the helm chart values
Enable or disable AWS WAF on the ALB ingress controller.
20 21 22 |
# File 'eks/alb_controller_helm_chart_options.rb', line 20 def enable_waf @enable_waf end |
#enable_wafv2 ⇒ Boolean? (readonly)
Default: - no value defined for this helm chart option, so it will not be set in the helm chart values
Enable or disable AWS WAFv2 on the ALB ingress controller.
25 26 27 |
# File 'eks/alb_controller_helm_chart_options.rb', line 25 def enable_wafv2 @enable_wafv2 end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'eks/alb_controller_helm_chart_options.rb', line 27 def self.jsii_properties { :enable_waf => "enableWaf", :enable_wafv2 => "enableWafv2", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'eks/alb_controller_helm_chart_options.rb', line 34 def to_jsii result = {} result.merge!({ "enableWaf" => @enable_waf, "enableWafv2" => @enable_wafv2, }) result.compact end |