Class: AWSCDK::ElementalInference::CfnFeedProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elemental_inference/cfn_feed_props.rb

Overview

Properties for defining a CfnFeed.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, outputs:, tags: nil) ⇒ CfnFeedProps

Returns a new instance of CfnFeedProps.

Parameters:



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 = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#nameString (readonly)



23
24
25
# File 'elemental_inference/cfn_feed_props.rb', line 23

def name
  @name
end

#tagsHash{String => String}? (readonly)



29
30
31
# File 'elemental_inference/cfn_feed_props.rb', line 29

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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