Class: AWSCDK::Macie::CfnFindingsFilter::CriterionAdditionalPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Macie::CfnFindingsFilter::CriterionAdditionalPropertiesProperty
- Defined in:
- macie/cfn_findings_filter.rb
Overview
Specifies a condition that defines the property, operator, and one or more values to use in a findings filter.
A findings filter , also referred to as a filter rule , is a set of custom criteria that specifies which findings to include or exclude from the results of a query for findings. You can also configure a findings filter to suppress (automatically archive) findings that match the filter's criteria. For more information, see Filtering Macie findings in the Amazon Macie User Guide .
Instance Attribute Summary collapse
-
#eq ⇒ Array<String>?
readonly
The value for the specified property matches (equals) the specified value.
-
#gt ⇒ Numeric?
readonly
The value for the specified property is greater than the specified value.
-
#gte ⇒ Numeric?
readonly
The value for the specified property is greater than or equal to the specified value.
-
#lt ⇒ Numeric?
readonly
The value for the specified property is less than the specified value.
-
#lte ⇒ Numeric?
readonly
The value for the specified property is less than or equal to the specified value.
-
#neq ⇒ Array<String>?
readonly
The value for the specified property doesn't match (doesn't equal) the specified value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil, neq: nil) ⇒ CriterionAdditionalPropertiesProperty
constructor
A new instance of CriterionAdditionalPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil, neq: nil) ⇒ CriterionAdditionalPropertiesProperty
Returns a new instance of CriterionAdditionalPropertiesProperty.
614 615 616 617 618 619 620 621 622 623 624 625 626 627 |
# File 'macie/cfn_findings_filter.rb', line 614 def initialize(eq: nil, gt: nil, gte: nil, lt: nil, lte: nil, neq: nil) @eq = eq Jsii::Type.check_type(@eq, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "eq") unless @eq.nil? @gt = gt Jsii::Type.check_type(@gt, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gt") unless @gt.nil? @gte = gte Jsii::Type.check_type(@gte, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "gte") unless @gte.nil? @lt = lt Jsii::Type.check_type(@lt, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lt") unless @lt.nil? @lte = lte Jsii::Type.check_type(@lte, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lte") unless @lte.nil? @neq = neq Jsii::Type.check_type(@neq, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "neq") unless @neq.nil? end |
Instance Attribute Details
#eq ⇒ Array<String>? (readonly)
The value for the specified property matches (equals) the specified value.
If you specify multiple values, Amazon Macie uses OR logic to join the values.
635 636 637 |
# File 'macie/cfn_findings_filter.rb', line 635 def eq @eq end |
#gt ⇒ Numeric? (readonly)
The value for the specified property is greater than the specified value.
640 641 642 |
# File 'macie/cfn_findings_filter.rb', line 640 def gt @gt end |
#gte ⇒ Numeric? (readonly)
The value for the specified property is greater than or equal to the specified value.
645 646 647 |
# File 'macie/cfn_findings_filter.rb', line 645 def gte @gte end |
#lt ⇒ Numeric? (readonly)
The value for the specified property is less than the specified value.
650 651 652 |
# File 'macie/cfn_findings_filter.rb', line 650 def lt @lt end |
#lte ⇒ Numeric? (readonly)
The value for the specified property is less than or equal to the specified value.
655 656 657 |
# File 'macie/cfn_findings_filter.rb', line 655 def lte @lte end |
#neq ⇒ Array<String>? (readonly)
The value for the specified property doesn't match (doesn't equal) the specified value.
If you specify multiple values, Amazon Macie uses OR logic to join the values.
662 663 664 |
# File 'macie/cfn_findings_filter.rb', line 662 def neq @neq end |
Class Method Details
.jsii_properties ⇒ Object
664 665 666 667 668 669 670 671 672 673 |
# File 'macie/cfn_findings_filter.rb', line 664 def self.jsii_properties { :eq => "eq", :gt => "gt", :gte => "gte", :lt => "lt", :lte => "lte", :neq => "neq", } end |
Instance Method Details
#to_jsii ⇒ Object
675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'macie/cfn_findings_filter.rb', line 675 def to_jsii result = {} result.merge!({ "eq" => @eq, "gt" => @gt, "gte" => @gte, "lt" => @lt, "lte" => @lte, "neq" => @neq, }) result.compact end |