Class: AWSCDK::StepFunctionsTasks::EMRCreateCluster::ScriptBootstrapActionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::StepFunctionsTasks::EMRCreateCluster::ScriptBootstrapActionConfigProperty
- Defined in:
- step_functions_tasks/emr_create_cluster.rb
Overview
Configuration of the script to run during a bootstrap action.
Instance Attribute Summary collapse
-
#args ⇒ Array<String>?
readonly
A list of command line arguments to pass to the bootstrap action script.
-
#path ⇒ String
readonly
Location of the script to run during a bootstrap action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path:, args: nil) ⇒ ScriptBootstrapActionConfigProperty
constructor
A new instance of ScriptBootstrapActionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(path:, args: nil) ⇒ ScriptBootstrapActionConfigProperty
Returns a new instance of ScriptBootstrapActionConfigProperty.
2488 2489 2490 2491 2492 2493 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 2488 def initialize(path:, args: nil) @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") @args = args Jsii::Type.check_type(@args, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "args") unless @args.nil? end |
Instance Attribute Details
#args ⇒ Array<String>? (readonly)
Note:
Default: No args
A list of command line arguments to pass to the bootstrap action script.
2505 2506 2507 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 2505 def args @args end |
#path ⇒ String (readonly)
Location of the script to run during a bootstrap action.
Can be either a location in Amazon S3 or on a local file system.
2500 2501 2502 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 2500 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
2507 2508 2509 2510 2511 2512 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 2507 def self.jsii_properties { :path => "path", :args => "args", } end |
Instance Method Details
#to_jsii ⇒ Object
2514 2515 2516 2517 2518 2519 2520 2521 |
# File 'step_functions_tasks/emr_create_cluster.rb', line 2514 def to_jsii result = {} result.merge!({ "path" => @path, "args" => @args, }) result.compact end |