Class: AWSCDK::IoTFleetWise::CfnModelManifestProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_fleet_wise/cfn_model_manifest_props.rb

Overview

Properties for defining a CfnModelManifest.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, signal_catalog_arn:, description: nil, nodes: nil, status: nil, tags: nil) ⇒ CfnModelManifestProps

Returns a new instance of CfnModelManifestProps.

Parameters:

  • name (String)

    The name of the vehicle model.

  • signal_catalog_arn (String)

    The Amazon Resource Name (ARN) of the signal catalog associated with the vehicle model.

  • description (String, nil) (defaults to: nil)

    A brief description of the vehicle model.

  • nodes (Array<String>, nil) (defaults to: nil)

    A list of nodes, which are a general abstraction of signals.

  • status (String, nil) (defaults to: nil)

    The state of the vehicle model.

  • tags (Array<AWSCDK::CfnTag>, nil) (defaults to: nil)

    Metadata that can be used to manage the vehicle model.



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 = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
end

Instance Attribute Details

#descriptionString? (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

#nameString (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

#nodesArray<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_arnString (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

#statusString? (readonly)

Note:

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

#tagsArray<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
  @tags
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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