Class: AWSCDK::RoboMaker::CfnSimulationApplicationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
robo_maker/cfn_simulation_application_props.rb

Overview

Properties for defining a CfnSimulationApplication.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(robot_software_suite:, simulation_software_suite:, current_revision_id: nil, environment: nil, name: nil, rendering_engine: nil, sources: nil, tags: nil) ⇒ CfnSimulationApplicationProps

Returns a new instance of CfnSimulationApplicationProps.

Parameters:



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'robo_maker/cfn_simulation_application_props.rb', line 17

def initialize(robot_software_suite:, simulation_software_suite:, current_revision_id: nil, environment: nil, name: nil, rendering_engine: nil, sources: nil, tags: nil)
  @robot_software_suite = robot_software_suite.is_a?(Hash) ? ::AWSCDK::RoboMaker::CfnSimulationApplication::RobotSoftwareSuiteProperty.new(**robot_software_suite.transform_keys(&:to_sym)) : robot_software_suite
  Jsii::Type.check_type(@robot_software_suite, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19yb2JvbWFrZXIuQ2ZuU2ltdWxhdGlvbkFwcGxpY2F0aW9uLlJvYm90U29mdHdhcmVTdWl0ZVByb3BlcnR5In1dfX0=")), "robotSoftwareSuite")
  @simulation_software_suite = simulation_software_suite.is_a?(Hash) ? ::AWSCDK::RoboMaker::CfnSimulationApplication::SimulationSoftwareSuiteProperty.new(**simulation_software_suite.transform_keys(&:to_sym)) : simulation_software_suite
  Jsii::Type.check_type(@simulation_software_suite, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19yb2JvbWFrZXIuQ2ZuU2ltdWxhdGlvbkFwcGxpY2F0aW9uLlNpbXVsYXRpb25Tb2Z0d2FyZVN1aXRlUHJvcGVydHkifV19fQ==")), "simulationSoftwareSuite")
  @current_revision_id = current_revision_id
  Jsii::Type.check_type(@current_revision_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "currentRevisionId") unless @current_revision_id.nil?
  @environment = environment
  Jsii::Type.check_type(@environment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "environment") unless @environment.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @rendering_engine = rendering_engine.is_a?(Hash) ? ::AWSCDK::RoboMaker::CfnSimulationApplication::RenderingEngineProperty.new(**rendering_engine.transform_keys(&:to_sym)) : rendering_engine
  Jsii::Type.check_type(@rendering_engine, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19yb2JvbWFrZXIuQ2ZuU2ltdWxhdGlvbkFwcGxpY2F0aW9uLlJlbmRlcmluZ0VuZ2luZVByb3BlcnR5In1dfX0=")), "renderingEngine") unless @rendering_engine.nil?
  @sources = sources
  Jsii::Type.check_type(@sources, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfcm9ib21ha2VyLkNmblNpbXVsYXRpb25BcHBsaWNhdGlvbi5Tb3VyY2VDb25maWdQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "sources") unless @sources.nil?
  @tags = tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil?
end

Instance Attribute Details

#current_revision_idString? (readonly)

The current revision id.



50
51
52
# File 'robo_maker/cfn_simulation_application_props.rb', line 50

def current_revision_id
  @current_revision_id
end

#environmentString? (readonly)

The environment of the simulation application.



55
56
57
# File 'robo_maker/cfn_simulation_application_props.rb', line 55

def environment
  @environment
end

#nameString? (readonly)

The name of the simulation application.



60
61
62
# File 'robo_maker/cfn_simulation_application_props.rb', line 60

def name
  @name
end

#rendering_engineAWSCDK::IResolvable, ... (readonly)

The rendering engine for the simulation application.



65
66
67
# File 'robo_maker/cfn_simulation_application_props.rb', line 65

def rendering_engine
  @rendering_engine
end

#robot_software_suiteAWSCDK::IResolvable, AWSCDK::RoboMaker::CfnSimulationApplication::RobotSoftwareSuiteProperty (readonly)

The robot software suite used by the simulation application.



40
41
42
# File 'robo_maker/cfn_simulation_application_props.rb', line 40

def robot_software_suite
  @robot_software_suite
end

#simulation_software_suiteAWSCDK::IResolvable, AWSCDK::RoboMaker::CfnSimulationApplication::SimulationSoftwareSuiteProperty (readonly)

The simulation software suite used by the simulation application.



45
46
47
# File 'robo_maker/cfn_simulation_application_props.rb', line 45

def simulation_software_suite
  @simulation_software_suite
end

#sourcesAWSCDK::IResolvable, ... (readonly)

The sources of the simulation application.



70
71
72
# File 'robo_maker/cfn_simulation_application_props.rb', line 70

def sources
  @sources
end

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

A map that contains tag keys and tag values that are attached to the simulation application.



75
76
77
# File 'robo_maker/cfn_simulation_application_props.rb', line 75

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



77
78
79
80
81
82
83
84
85
86
87
88
# File 'robo_maker/cfn_simulation_application_props.rb', line 77

def self.jsii_properties
  {
    :robot_software_suite => "robotSoftwareSuite",
    :simulation_software_suite => "simulationSoftwareSuite",
    :current_revision_id => "currentRevisionId",
    :environment => "environment",
    :name => "name",
    :rendering_engine => "renderingEngine",
    :sources => "sources",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'robo_maker/cfn_simulation_application_props.rb', line 90

def to_jsii
  result = {}
  result.merge!({
    "robotSoftwareSuite" => @robot_software_suite,
    "simulationSoftwareSuite" => @simulation_software_suite,
    "currentRevisionId" => @current_revision_id,
    "environment" => @environment,
    "name" => @name,
    "renderingEngine" => @rendering_engine,
    "sources" => @sources,
    "tags" => @tags,
  })
  result.compact
end