Class: AWSCDK::StepFunctionsTasks::EMRCreateCluster::BootstrapActionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctionsTasks::EMRCreateCluster::BootstrapActionConfigProperty
- Defined in:
- step_functions_tasks/emr_create_cluster.rb
Overview
Configuration of a bootstrap action.
See the RunJobFlow API for complete documentation on input parameters
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the bootstrap action.
-
#script_bootstrap_action ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::ScriptBootstrapActionConfigProperty
readonly
The script run by the bootstrap action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, script_bootstrap_action:) ⇒ BootstrapActionConfigProperty
constructor
A new instance of BootstrapActionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, script_bootstrap_action:) ⇒ BootstrapActionConfigProperty
Returns a new instance of BootstrapActionConfigProperty.
792 793 794 795 796 797 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 792 def initialize(name:, script_bootstrap_action:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @script_bootstrap_action = script_bootstrap_action.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::ScriptBootstrapActionConfigProperty.new(**script_bootstrap_action.transform_keys(&:to_sym)) : script_bootstrap_action Jsii::Type.check_type(@script_bootstrap_action, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FbXJDcmVhdGVDbHVzdGVyLlNjcmlwdEJvb3RzdHJhcEFjdGlvbkNvbmZpZ1Byb3BlcnR5In0=")), "scriptBootstrapAction") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the bootstrap action.
802 803 804 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 802 def name @name end |
#script_bootstrap_action ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::ScriptBootstrapActionConfigProperty (readonly)
The script run by the bootstrap action.
806 807 808 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 806 def script_bootstrap_action @script_bootstrap_action end |
Class Method Details
.jsii_properties ⇒ Object
808 809 810 811 812 813 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 808 def self.jsii_properties { :name => "name", :script_bootstrap_action => "scriptBootstrapAction", } end |
Instance Method Details
#to_jsii ⇒ Object
815 816 817 818 819 820 821 822 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 815 def to_jsii result = {} result.merge!({ "name" => @name, "scriptBootstrapAction" => @script_bootstrap_action, }) result.compact end |