Class: AWSCDK::ElementalInference::CfnFeedProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElementalInference::CfnFeedProps
- Defined in:
- elemental_inference/cfn_feed_props.rb
Overview
Properties for defining a CfnFeed.
Instance Attribute Summary collapse
- #name ⇒ String readonly
- #outputs ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ElementalInference::CfnFeed::GetOutputProperty> readonly
- #tags ⇒ Hash{String => String}? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, outputs:, tags: nil) ⇒ CfnFeedProps
constructor
A new instance of CfnFeedProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, outputs:, tags: nil) ⇒ CfnFeedProps
Returns a new instance of CfnFeedProps.
12 13 14 15 16 17 18 19 |
# File 'elemental_inference/cfn_feed_props.rb', line 12 def initialize(name:, outputs:, tags: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @outputs = outputs Jsii::Type.check_type(@outputs, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxlbWVudGFsaW5mZXJlbmNlLkNmbkZlZWQuR2V0T3V0cHV0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "outputs") @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#name ⇒ String (readonly)
23 24 25 |
# File 'elemental_inference/cfn_feed_props.rb', line 23 def name @name end |
#outputs ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::ElementalInference::CfnFeed::GetOutputProperty> (readonly)
26 27 28 |
# File 'elemental_inference/cfn_feed_props.rb', line 26 def outputs @outputs end |
#tags ⇒ Hash{String => String}? (readonly)
29 30 31 |
# File 'elemental_inference/cfn_feed_props.rb', line 29 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
31 32 33 34 35 36 37 |
# File 'elemental_inference/cfn_feed_props.rb', line 31 def self.jsii_properties { :name => "name", :outputs => "outputs", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'elemental_inference/cfn_feed_props.rb', line 39 def to_jsii result = {} result.merge!({ "name" => @name, "outputs" => @outputs, "tags" => @tags, }) result.compact end |