Class: AWSCDK::Interfaces::AWSIotevents::InputReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSIotevents::InputReference
- Defined in:
- interfaces/aws_iotevents/input_reference.rb
Overview
A reference to a Input resource.
Instance Attribute Summary collapse
-
#input_name ⇒ String
readonly
The InputName of the Input resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_name:) ⇒ InputReference
constructor
A new instance of InputReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_name:) ⇒ InputReference
Returns a new instance of InputReference.
8 9 10 11 |
# File 'interfaces/aws_iotevents/input_reference.rb', line 8 def initialize(input_name:) @input_name = input_name Jsii::Type.check_type(@input_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputName") end |
Instance Attribute Details
#input_name ⇒ String (readonly)
The InputName of the Input resource.
16 17 18 |
# File 'interfaces/aws_iotevents/input_reference.rb', line 16 def input_name @input_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_iotevents/input_reference.rb', line 18 def self.jsii_properties { :input_name => "inputName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_iotevents/input_reference.rb', line 24 def to_jsii result = {} result.merge!({ "inputName" => @input_name, }) result.compact end |