Class: AWSCDK::IoTFleetWise::CfnSignalCatalogProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnSignalCatalogProps
- Defined in:
- io_t_fleet_wise/cfn_signal_catalog_props.rb
Overview
Properties for defining a CfnSignalCatalog.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A brief description of the signal catalog.
-
#name ⇒ String?
readonly
The name of the signal catalog.
-
#node_counts ⇒ AWSCDK::IResolvable, ...
readonly
Information about the number of nodes and node types in a vehicle network.
-
#nodes ⇒ AWSCDK::IResolvable, ...
readonly
A list of information about nodes, which are a general abstraction of signals.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Metadata that can be used to manage the signal catalog.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(description: nil, name: nil, node_counts: nil, nodes: nil, tags: nil) ⇒ CfnSignalCatalogProps
constructor
A new instance of CfnSignalCatalogProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(description: nil, name: nil, node_counts: nil, nodes: nil, tags: nil) ⇒ CfnSignalCatalogProps
Returns a new instance of CfnSignalCatalogProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 14 def initialize(description: nil, name: nil, node_counts: nil, nodes: nil, tags: nil) @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @node_counts = node_counts.is_a?(Hash) ? ::AWSCDK::IoTFleetWise::CfnSignalCatalog::NodeCountsProperty.new(**node_counts.transform_keys(&:to_sym)) : node_counts Jsii::Type.check_type(@node_counts, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RmbGVldHdpc2UuQ2ZuU2lnbmFsQ2F0YWxvZy5Ob2RlQ291bnRzUHJvcGVydHkifV19fQ==")), "nodeCounts") unless @node_counts.nil? @nodes = nodes Jsii::Type.check_type(@nodes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaW90ZmxlZXR3aXNlLkNmblNpZ25hbENhdGFsb2cuTm9kZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "nodes") unless @nodes.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
A brief description of the signal catalog.
31 32 33 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 31 def description @description end |
#name ⇒ String? (readonly)
The name of the signal catalog.
36 37 38 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 36 def name @name end |
#node_counts ⇒ AWSCDK::IResolvable, ... (readonly)
Information about the number of nodes and node types in a vehicle network.
41 42 43 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 41 def node_counts @node_counts end |
#nodes ⇒ AWSCDK::IResolvable, ... (readonly)
A list of information about nodes, which are a general abstraction of signals.
46 47 48 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 46 def nodes @nodes end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Metadata that can be used to manage the signal catalog.
51 52 53 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 51 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
53 54 55 56 57 58 59 60 61 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 53 def self.jsii_properties { :description => "description", :name => "name", :node_counts => "nodeCounts", :nodes => "nodes", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
63 64 65 66 67 68 69 70 71 72 73 |
# File 'io_t_fleet_wise/cfn_signal_catalog_props.rb', line 63 def to_jsii result = {} result.merge!({ "description" => @description, "name" => @name, "nodeCounts" => @node_counts, "nodes" => @nodes, "tags" => @tags, }) result.compact end |