Class: AWSCDK::SAM::CfnFunction::CloudWatchEventEventProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::CloudWatchEventEventProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #input ⇒ String? readonly
- #input_path ⇒ String? readonly
- #pattern ⇒ Object readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pattern:, input: nil, input_path: nil) ⇒ CloudWatchEventEventProperty
constructor
A new instance of CloudWatchEventEventProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pattern:, input: nil, input_path: nil) ⇒ CloudWatchEventEventProperty
Returns a new instance of CloudWatchEventEventProperty.
1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'sam/cfn_function.rb', line 1180 def initialize(pattern:, input: nil, input_path: nil) @pattern = pattern Jsii::Type.check_type(@pattern, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "pattern") @input = input Jsii::Type.check_type(@input, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "input") unless @input.nil? @input_path = input_path Jsii::Type.check_type(@input_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputPath") unless @input_path.nil? end |
Instance Attribute Details
#input ⇒ String? (readonly)
1194 1195 1196 |
# File 'sam/cfn_function.rb', line 1194 def input @input end |
#input_path ⇒ String? (readonly)
1197 1198 1199 |
# File 'sam/cfn_function.rb', line 1197 def input_path @input_path end |
#pattern ⇒ Object (readonly)
1191 1192 1193 |
# File 'sam/cfn_function.rb', line 1191 def pattern @pattern end |
Class Method Details
.jsii_properties ⇒ Object
1199 1200 1201 1202 1203 1204 1205 |
# File 'sam/cfn_function.rb', line 1199 def self.jsii_properties { :pattern => "pattern", :input => "input", :input_path => "inputPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1207 1208 1209 1210 1211 1212 1213 1214 1215 |
# File 'sam/cfn_function.rb', line 1207 def to_jsii result = {} result.merge!({ "pattern" => @pattern, "input" => @input, "inputPath" => @input_path, }) result.compact end |