Class: AWSCDK::SecurityHub::CfnInsight::KeywordFilterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
security_hub/cfn_insight.rb

Overview

A keyword filter for querying findings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:) ⇒ KeywordFilterProperty

Returns a new instance of KeywordFilterProperty.

Parameters:

  • value (String)

    A value for the keyword.



1862
1863
1864
1865
# File 'security_hub/cfn_insight.rb', line 1862

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

Instance Attribute Details

#valueString (readonly)

A value for the keyword.



1871
1872
1873
# File 'security_hub/cfn_insight.rb', line 1871

def value
  @value
end

Class Method Details

.jsii_propertiesObject



1873
1874
1875
1876
1877
# File 'security_hub/cfn_insight.rb', line 1873

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

Instance Method Details

#to_jsiiObject



1879
1880
1881
1882
1883
1884
1885
# File 'security_hub/cfn_insight.rb', line 1879

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