Class: AWSCDK::IoTFleetWise::CfnModelManifestProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnModelManifestProps
- Defined in:
- io_t_fleet_wise/cfn_model_manifest_props.rb
Overview
Properties for defining a CfnModelManifest.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A brief description of the vehicle model.
-
#name ⇒ String
readonly
The name of the vehicle model.
-
#nodes ⇒ Array<String>?
readonly
A list of nodes, which are a general abstraction of signals.
-
#signal_catalog_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the signal catalog associated with the vehicle model.
-
#status ⇒ String?
readonly
The state of the vehicle model.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Metadata that can be used to manage the vehicle model.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, signal_catalog_arn:, description: nil, nodes: nil, status: nil, tags: nil) ⇒ CfnModelManifestProps
constructor
A new instance of CfnModelManifestProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, signal_catalog_arn:, description: nil, nodes: nil, status: nil, tags: nil) ⇒ CfnModelManifestProps
Returns a new instance of CfnModelManifestProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 15 def initialize(name:, signal_catalog_arn:, description: nil, nodes: nil, status: nil, tags: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @signal_catalog_arn = signal_catalog_arn Jsii::Type.check_type(@signal_catalog_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "signalCatalogArn") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @nodes = nodes Jsii::Type.check_type(@nodes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "nodes") unless @nodes.nil? @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.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 vehicle model.
44 45 46 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 44 def description @description end |
#name ⇒ String (readonly)
The name of the vehicle model.
34 35 36 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 34 def name @name end |
#nodes ⇒ Array<String>? (readonly)
A list of nodes, which are a general abstraction of signals.
49 50 51 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 49 def nodes @nodes end |
#signal_catalog_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the signal catalog associated with the vehicle model.
39 40 41 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 39 def signal_catalog_arn @signal_catalog_arn end |
#status ⇒ String? (readonly)
Default: - "DRAFT"
The state of the vehicle model.
If the status is ACTIVE , the vehicle model can't be edited. If the status is DRAFT , you can edit the vehicle model.
57 58 59 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 57 def status @status end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Metadata that can be used to manage the vehicle model.
62 63 64 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 62 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
64 65 66 67 68 69 70 71 72 73 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 64 def self.jsii_properties { :name => "name", :signal_catalog_arn => "signalCatalogArn", :description => "description", :nodes => "nodes", :status => "status", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'io_t_fleet_wise/cfn_model_manifest_props.rb', line 75 def to_jsii result = {} result.merge!({ "name" => @name, "signalCatalogArn" => @signal_catalog_arn, "description" => @description, "nodes" => @nodes, "status" => @status, "tags" => @tags, }) result.compact end |