Class: AWSCDK::SecurityHub::CfnInsight::NumberFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnInsight::NumberFilterProperty
- Defined in:
- security_hub/cfn_insight.rb
Overview
A number filter for querying findings.
Instance Attribute Summary collapse
-
#eq ⇒ Numeric?
readonly
The equal-to condition to be applied to a single field when querying for findings.
-
#gte ⇒ Numeric?
readonly
The greater-than-equal condition to be applied to a single field when querying for findings.
-
#lte ⇒ Numeric?
readonly
The less-than-equal condition to be applied to a single field when querying for findings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(eq: nil, gte: nil, lte: nil) ⇒ NumberFilterProperty
constructor
A new instance of NumberFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(eq: nil, gte: nil, lte: nil) ⇒ NumberFilterProperty
Returns a new instance of NumberFilterProperty.
1976 1977 1978 1979 1980 1981 1982 1983 |
# File 'security_hub/cfn_insight.rb', line 1976 def initialize(eq: nil, gte: nil, lte: nil) @eq = eq Jsii::Type.check_type(@eq, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "eq") unless @eq.nil? @gte = gte Jsii::Type.check_type(@gte, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gte") unless @gte.nil? @lte = lte Jsii::Type.check_type(@lte, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lte") unless @lte.nil? end |
Instance Attribute Details
#eq ⇒ Numeric? (readonly)
The equal-to condition to be applied to a single field when querying for findings.
1989 1990 1991 |
# File 'security_hub/cfn_insight.rb', line 1989 def eq @eq end |
#gte ⇒ Numeric? (readonly)
The greater-than-equal condition to be applied to a single field when querying for findings.
1994 1995 1996 |
# File 'security_hub/cfn_insight.rb', line 1994 def gte @gte end |
#lte ⇒ Numeric? (readonly)
The less-than-equal condition to be applied to a single field when querying for findings.
1999 2000 2001 |
# File 'security_hub/cfn_insight.rb', line 1999 def lte @lte end |
Class Method Details
.jsii_properties ⇒ Object
2001 2002 2003 2004 2005 2006 2007 |
# File 'security_hub/cfn_insight.rb', line 2001 def self.jsii_properties { :eq => "eq", :gte => "gte", :lte => "lte", } end |
Instance Method Details
#to_jsii ⇒ Object
2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# File 'security_hub/cfn_insight.rb', line 2009 def to_jsii result = {} result.merge!({ "eq" => @eq, "gte" => @gte, "lte" => @lte, }) result.compact end |