Class: AWSCDK::IoTAnalytics::CfnPipeline::FilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnPipeline::FilterProperty
- Defined in:
- io_t_analytics/cfn_pipeline.rb
Overview
An activity that filters a message based on its attributes.
Instance Attribute Summary collapse
-
#_next ⇒ String?
readonly
The next activity in the pipeline.
-
#filter ⇒ String
readonly
An expression that looks like an SQL WHERE clause that must return a Boolean value.
-
#name ⇒ String
readonly
The name of the 'filter' activity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter:, name:, _next: nil) ⇒ FilterProperty
constructor
A new instance of FilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter:, name:, _next: nil) ⇒ FilterProperty
Returns a new instance of FilterProperty.
978 979 980 981 982 983 984 985 |
# File 'io_t_analytics/cfn_pipeline.rb', line 978 def initialize(filter:, name:, _next: nil) @filter = filter Jsii::Type.check_type(@filter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filter") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @_next = _next Jsii::Type.check_type(@_next, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "next") unless @_next.nil? end |
Instance Attribute Details
#_next ⇒ String? (readonly)
The next activity in the pipeline.
1001 1002 1003 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1001 def _next @_next end |
#filter ⇒ String (readonly)
An expression that looks like an SQL WHERE clause that must return a Boolean value.
991 992 993 |
# File 'io_t_analytics/cfn_pipeline.rb', line 991 def filter @filter end |
#name ⇒ String (readonly)
The name of the 'filter' activity.
996 997 998 |
# File 'io_t_analytics/cfn_pipeline.rb', line 996 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1003 1004 1005 1006 1007 1008 1009 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1003 def self.jsii_properties { :filter => "filter", :name => "name", :_next => "next", } end |
Instance Method Details
#to_jsii ⇒ Object
1011 1012 1013 1014 1015 1016 1017 1018 1019 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1011 def to_jsii result = {} result.merge!({ "filter" => @filter, "name" => @name, "next" => @_next, }) result.compact end |