Class: AWSCDK::Macie::CfnFindingsFilter::FindingCriteriaProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
macie/cfn_findings_filter.rb

Overview

Specifies, as a map, one or more property-based conditions for 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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(criterion: nil) ⇒ FindingCriteriaProperty

Returns a new instance of FindingCriteriaProperty.

Parameters:



698
699
700
701
# File 'macie/cfn_findings_filter.rb', line 698

def initialize(criterion: nil)
  @criterion = criterion
  Jsii::Type.check_type(@criterion, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWFjaWUuQ2ZuRmluZGluZ3NGaWx0ZXIuQ3JpdGVyaW9uQWRkaXRpb25hbFByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19LCJraW5kIjoibWFwIn19XX19")), "criterion") unless @criterion.nil?
end

Instance Attribute Details

#criterionAWSCDK::IResolvable, ... (readonly)

Specifies a condition that defines the property, operator, and one or more values to use to filter the results.



707
708
709
# File 'macie/cfn_findings_filter.rb', line 707

def criterion
  @criterion
end

Class Method Details

.jsii_propertiesObject



709
710
711
712
713
# File 'macie/cfn_findings_filter.rb', line 709

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

Instance Method Details

#to_jsiiObject



715
716
717
718
719
720
721
# File 'macie/cfn_findings_filter.rb', line 715

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