Class: AWSCDK::Pipes::CfnPipe::FilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::FilterProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
Filter events using an event pattern.
For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
Instance Attribute Summary collapse
-
#pattern ⇒ String?
readonly
The event pattern.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pattern: nil) ⇒ FilterProperty
constructor
A new instance of FilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pattern: nil) ⇒ FilterProperty
Returns a new instance of FilterProperty.
1784 1785 1786 1787 |
# File 'pipes/cfn_pipe.rb', line 1784 def initialize(pattern: nil) @pattern = pattern Jsii::Type.check_type(@pattern, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pattern") unless @pattern.nil? end |
Instance Attribute Details
#pattern ⇒ String? (readonly)
The event pattern.
1793 1794 1795 |
# File 'pipes/cfn_pipe.rb', line 1793 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
1795 1796 1797 1798 1799 |
# File 'pipes/cfn_pipe.rb', line 1795 def self.jsii_properties { :pattern => "pattern", } end |
Instance Method Details
#to_jsii ⇒ Object
1801 1802 1803 1804 1805 1806 1807 |
# File 'pipes/cfn_pipe.rb', line 1801 def to_jsii result = {} result.merge!({ "pattern" => @pattern, }) result.compact end |