Class: AWSCDK::StepFunctionsTasks::EMRCreateClusterJsonPathProps
- Inherits:
-
AWSCDK::StepFunctions::TaskStateJsonPathBaseProps
- Object
- AWSCDK::StepFunctions::TaskStateJsonPathBaseProps
- AWSCDK::StepFunctionsTasks::EMRCreateClusterJsonPathProps
- Defined in:
- step_functions_tasks/emr_create_cluster_json_path_props.rb
Overview
Properties for calling an AWS service's API action using JSONPath from your state machine across regions.
Instance Attribute Summary collapse
-
#additional_info ⇒ String?
readonly
A JSON string for selecting additional features.
-
#applications ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::ApplicationConfigProperty>?
readonly
A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster.
-
#assign ⇒ Hash{String => Object}?
readonly
Workflow variables to store in this step.
-
#auto_scaling_role ⇒ AWSCDK::IAM::IRole?
readonly
An IAM role for automatic scaling policies.
-
#auto_termination_policy_idle_timeout ⇒ AWSCDK::Duration?
readonly
The amount of idle time after which the cluster automatically terminates.
-
#bootstrap_actions ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::BootstrapActionConfigProperty>?
readonly
A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
-
#cluster_role ⇒ AWSCDK::IAM::IRole?
readonly
Also called instance profile and EC2 role.
-
#comment ⇒ String?
readonly
A comment describing this state.
-
#configurations ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::ConfigurationProperty>?
readonly
The list of configurations supplied for the EMR cluster you are creating.
-
#credentials ⇒ AWSCDK::StepFunctions::Credentials?
readonly
Credentials for an IAM Role that the State Machine assumes for executing the task.
-
#custom_ami_id ⇒ String?
readonly
The ID of a custom Amazon EBS-backed Linux AMI.
-
#ebs_root_volume_iops ⇒ Numeric?
readonly
The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
-
#ebs_root_volume_size ⇒ AWSCDK::Size?
readonly
The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
-
#ebs_root_volume_throughput ⇒ Numeric?
readonly
The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
-
#heartbeat ⇒ AWSCDK::Duration?
readonly
deprecated
Deprecated.
use
heartbeatTimeout -
#heartbeat_timeout ⇒ AWSCDK::StepFunctions::Timeout?
readonly
Timeout for the heartbeat.
-
#input_path ⇒ String?
readonly
JSONPath expression to select part of the state to be the input to this state.
-
#instances ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::InstancesConfigProperty
readonly
A specification of the number and type of Amazon EC2 instances.
-
#integration_pattern ⇒ AWSCDK::StepFunctions::IntegrationPattern?
readonly
AWS Step Functions integrates with services directly in the Amazon States Language.
-
#kerberos_attributes ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::KerberosAttributesProperty?
readonly
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.
-
#log_uri ⇒ String?
readonly
The location in Amazon S3 to write the log files of the job flow.
-
#managed_scaling_policy ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::ManagedScalingPolicyProperty?
readonly
The specified managed scaling policy for an Amazon EMR cluster.
-
#name ⇒ String
readonly
The Name of the Cluster.
-
#output_path ⇒ String?
readonly
JSONPath expression to select part of the state to be the output to this state.
-
#query_language ⇒ AWSCDK::StepFunctions::QueryLanguage?
readonly
The name of the query language used by the state.
-
#release_label ⇒ String?
readonly
The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
-
#result_path ⇒ String?
readonly
JSONPath expression to indicate where to inject the state's output.
-
#result_selector ⇒ Hash{String => Object}?
readonly
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
-
#scale_down_behavior ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::EMRClusterScaleDownBehavior?
readonly
Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
-
#security_configuration ⇒ String?
readonly
The name of a security configuration to apply to the cluster.
-
#service_role ⇒ AWSCDK::IAM::IRole?
readonly
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
-
#state_name ⇒ String?
readonly
Optional name for this state.
-
#step_concurrency_level ⇒ Numeric?
readonly
Specifies the step concurrency level to allow multiple steps to run in parallel.
-
#tags ⇒ Hash{String => String}?
readonly
A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
-
#task_timeout ⇒ AWSCDK::StepFunctions::Timeout?
readonly
Timeout for the task.
-
#timeout ⇒ AWSCDK::Duration?
readonly
deprecated
Deprecated.
use
taskTimeout -
#visible_to_all_users ⇒ Boolean?
readonly
A value of true indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(comment: nil, query_language: nil, state_name: nil, credentials: nil, heartbeat: nil, heartbeat_timeout: nil, integration_pattern: nil, task_timeout: nil, timeout: nil, assign: nil, input_path: nil, output_path: nil, result_path: nil, result_selector: nil, instances:, name:, additional_info: nil, applications: nil, auto_scaling_role: nil, auto_termination_policy_idle_timeout: nil, bootstrap_actions: nil, cluster_role: nil, configurations: nil, custom_ami_id: nil, ebs_root_volume_iops: nil, ebs_root_volume_size: nil, ebs_root_volume_throughput: nil, kerberos_attributes: nil, log_uri: nil, managed_scaling_policy: nil, release_label: nil, scale_down_behavior: nil, security_configuration: nil, service_role: nil, step_concurrency_level: nil, tags: nil, visible_to_all_users: nil) ⇒ EMRCreateClusterJsonPathProps
constructor
A new instance of EMRCreateClusterJsonPathProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(comment: nil, query_language: nil, state_name: nil, credentials: nil, heartbeat: nil, heartbeat_timeout: nil, integration_pattern: nil, task_timeout: nil, timeout: nil, assign: nil, input_path: nil, output_path: nil, result_path: nil, result_selector: nil, instances:, name:, additional_info: nil, applications: nil, auto_scaling_role: nil, auto_termination_policy_idle_timeout: nil, bootstrap_actions: nil, cluster_role: nil, configurations: nil, custom_ami_id: nil, ebs_root_volume_iops: nil, ebs_root_volume_size: nil, ebs_root_volume_throughput: nil, kerberos_attributes: nil, log_uri: nil, managed_scaling_policy: nil, release_label: nil, scale_down_behavior: nil, security_configuration: nil, service_role: nil, step_concurrency_level: nil, tags: nil, visible_to_all_users: nil) ⇒ EMRCreateClusterJsonPathProps
Returns a new instance of EMRCreateClusterJsonPathProps.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 44 def initialize(comment: nil, query_language: nil, state_name: nil, credentials: nil, heartbeat: nil, heartbeat_timeout: nil, integration_pattern: nil, task_timeout: nil, timeout: nil, assign: nil, input_path: nil, output_path: nil, result_path: nil, result_selector: nil, instances:, name:, additional_info: nil, applications: nil, auto_scaling_role: nil, auto_termination_policy_idle_timeout: nil, bootstrap_actions: nil, cluster_role: nil, configurations: nil, custom_ami_id: nil, ebs_root_volume_iops: nil, ebs_root_volume_size: nil, ebs_root_volume_throughput: nil, kerberos_attributes: nil, log_uri: nil, managed_scaling_policy: nil, release_label: nil, scale_down_behavior: nil, security_configuration: nil, service_role: nil, step_concurrency_level: nil, tags: nil, visible_to_all_users: nil) @comment = comment Jsii::Type.check_type(@comment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "comment") unless @comment.nil? @query_language = query_language Jsii::Type.check_type(@query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "queryLanguage") unless @query_language.nil? @state_name = state_name Jsii::Type.check_type(@state_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stateName") unless @state_name.nil? @credentials = credentials.is_a?(Hash) ? ::AWSCDK::StepFunctions::Credentials.new(**credentials.transform_keys(&:to_sym)) : credentials Jsii::Type.check_type(@credentials, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5DcmVkZW50aWFscyJ9")), "credentials") unless @credentials.nil? @heartbeat = heartbeat Jsii::Type.check_type(@heartbeat, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "heartbeat") unless @heartbeat.nil? @heartbeat_timeout = heartbeat_timeout Jsii::Type.check_type(@heartbeat_timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5UaW1lb3V0In0=")), "heartbeatTimeout") unless @heartbeat_timeout.nil? @integration_pattern = integration_pattern Jsii::Type.check_type(@integration_pattern, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5JbnRlZ3JhdGlvblBhdHRlcm4ifQ==")), "integrationPattern") unless @integration_pattern.nil? @task_timeout = task_timeout Jsii::Type.check_type(@task_timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5UaW1lb3V0In0=")), "taskTimeout") unless @task_timeout.nil? @timeout = timeout Jsii::Type.check_type(@timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "timeout") unless @timeout.nil? @assign = assign Jsii::Type.check_type(@assign, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6ImFueSJ9LCJraW5kIjoibWFwIn19")), "assign") unless @assign.nil? @input_path = input_path Jsii::Type.check_type(@input_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputPath") unless @input_path.nil? @output_path = output_path Jsii::Type.check_type(@output_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputPath") unless @output_path.nil? @result_path = result_path Jsii::Type.check_type(@result_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resultPath") unless @result_path.nil? @result_selector = result_selector Jsii::Type.check_type(@result_selector, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6ImFueSJ9LCJraW5kIjoibWFwIn19")), "resultSelector") unless @result_selector.nil? @instances = instances.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::InstancesConfigProperty.new(**instances.transform_keys(&:to_sym)) : instances Jsii::Type.check_type(@instances, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FbXJDcmVhdGVDbHVzdGVyLkluc3RhbmNlc0NvbmZpZ1Byb3BlcnR5In0=")), "instances") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @additional_info = additional_info Jsii::Type.check_type(@additional_info, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "additionalInfo") unless @additional_info.nil? @applications = applications.is_a?(Array) ? applications.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::ApplicationConfigProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : applications Jsii::Type.check_type(@applications, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zdGVwZnVuY3Rpb25zX3Rhc2tzLkVtckNyZWF0ZUNsdXN0ZXIuQXBwbGljYXRpb25Db25maWdQcm9wZXJ0eSJ9LCJraW5kIjoiYXJyYXkifX0=")), "applications") unless @applications.nil? @auto_scaling_role = auto_scaling_role Jsii::Type.check_type(@auto_scaling_role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "autoScalingRole") unless @auto_scaling_role.nil? @auto_termination_policy_idle_timeout = auto_termination_policy_idle_timeout Jsii::Type.check_type(@auto_termination_policy_idle_timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "autoTerminationPolicyIdleTimeout") unless @auto_termination_policy_idle_timeout.nil? @bootstrap_actions = bootstrap_actions.is_a?(Array) ? bootstrap_actions.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::BootstrapActionConfigProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : bootstrap_actions Jsii::Type.check_type(@bootstrap_actions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zdGVwZnVuY3Rpb25zX3Rhc2tzLkVtckNyZWF0ZUNsdXN0ZXIuQm9vdHN0cmFwQWN0aW9uQ29uZmlnUHJvcGVydHkifSwia2luZCI6ImFycmF5In19")), "bootstrapActions") unless @bootstrap_actions.nil? @cluster_role = cluster_role Jsii::Type.check_type(@cluster_role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "clusterRole") unless @cluster_role.nil? @configurations = configurations.is_a?(Array) ? configurations.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::ConfigurationProperty.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : configurations Jsii::Type.check_type(@configurations, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zdGVwZnVuY3Rpb25zX3Rhc2tzLkVtckNyZWF0ZUNsdXN0ZXIuQ29uZmlndXJhdGlvblByb3BlcnR5In0sImtpbmQiOiJhcnJheSJ9fQ==")), "configurations") unless @configurations.nil? @custom_ami_id = custom_ami_id Jsii::Type.check_type(@custom_ami_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customAmiId") unless @custom_ami_id.nil? @ebs_root_volume_iops = ebs_root_volume_iops Jsii::Type.check_type(@ebs_root_volume_iops, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ebsRootVolumeIops") unless @ebs_root_volume_iops.nil? @ebs_root_volume_size = ebs_root_volume_size Jsii::Type.check_type(@ebs_root_volume_size, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5TaXplIn0=")), "ebsRootVolumeSize") unless @ebs_root_volume_size.nil? @ebs_root_volume_throughput = ebs_root_volume_throughput Jsii::Type.check_type(@ebs_root_volume_throughput, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "ebsRootVolumeThroughput") unless @ebs_root_volume_throughput.nil? @kerberos_attributes = kerberos_attributes.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::KerberosAttributesProperty.new(**kerberos_attributes.transform_keys(&:to_sym)) : kerberos_attributes Jsii::Type.check_type(@kerberos_attributes, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FbXJDcmVhdGVDbHVzdGVyLktlcmJlcm9zQXR0cmlidXRlc1Byb3BlcnR5In0=")), "kerberosAttributes") unless @kerberos_attributes.nil? @log_uri = log_uri Jsii::Type.check_type(@log_uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "logUri") unless @log_uri.nil? @managed_scaling_policy = managed_scaling_policy.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EMRCreateCluster::ManagedScalingPolicyProperty.new(**managed_scaling_policy.transform_keys(&:to_sym)) : managed_scaling_policy Jsii::Type.check_type(@managed_scaling_policy, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FbXJDcmVhdGVDbHVzdGVyLk1hbmFnZWRTY2FsaW5nUG9saWN5UHJvcGVydHkifQ==")), "managedScalingPolicy") unless @managed_scaling_policy.nil? @release_label = release_label Jsii::Type.check_type(@release_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "releaseLabel") unless @release_label.nil? @scale_down_behavior = scale_down_behavior Jsii::Type.check_type(@scale_down_behavior, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FbXJDcmVhdGVDbHVzdGVyLkVtckNsdXN0ZXJTY2FsZURvd25CZWhhdmlvciJ9")), "scaleDownBehavior") unless @scale_down_behavior.nil? @security_configuration = security_configuration Jsii::Type.check_type(@security_configuration, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "securityConfiguration") unless @security_configuration.nil? @service_role = service_role Jsii::Type.check_type(@service_role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "serviceRole") unless @service_role.nil? @step_concurrency_level = step_concurrency_level Jsii::Type.check_type(@step_concurrency_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "stepConcurrencyLevel") unless @step_concurrency_level.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? @visible_to_all_users = visible_to_all_users Jsii::Type.check_type(@visible_to_all_users, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "visibleToAllUsers") unless @visible_to_all_users.nil? end |
Instance Attribute Details
#additional_info ⇒ String? (readonly)
Default: - None
A JSON string for selecting additional features.
238 239 240 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 238 def additional_info @additional_info end |
#applications ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::ApplicationConfigProperty>? (readonly)
Default: - EMR selected default
A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster.
243 244 245 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 243 def applications @applications end |
#assign ⇒ Hash{String => Object}? (readonly)
Default: - Not assign variables
Workflow variables to store in this step.
Using workflow variables, you can store data in a step and retrieve that data in future steps.
192 193 194 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 192 def assign @assign end |
#auto_scaling_role ⇒ AWSCDK::IAM::IRole? (readonly)
Default: - A role will be created.
An IAM role for automatic scaling policies.
248 249 250 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 248 def auto_scaling_role @auto_scaling_role end |
#auto_termination_policy_idle_timeout ⇒ AWSCDK::Duration? (readonly)
Default: - No timeout
The amount of idle time after which the cluster automatically terminates.
You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
255 256 257 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 255 def auto_termination_policy_idle_timeout @auto_termination_policy_idle_timeout end |
#bootstrap_actions ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::BootstrapActionConfigProperty>? (readonly)
Default: - None
A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
260 261 262 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 260 def bootstrap_actions @bootstrap_actions end |
#cluster_role ⇒ AWSCDK::IAM::IRole? (readonly)
Default: - * A Role will be created
Also called instance profile and EC2 role.
An IAM role for an EMR cluster. The EC2 instances of the cluster assume this role.
This attribute has been renamed from jobFlowRole to clusterRole to align with other ERM/StepFunction integration parameters.
269 270 271 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 269 def cluster_role @cluster_role end |
#comment ⇒ String? (readonly)
Default: No comment
A comment describing this state.
125 126 127 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 125 def comment @comment end |
#configurations ⇒ Array<AWSCDK::StepFunctionsTasks::EMRCreateCluster::ConfigurationProperty>? (readonly)
Default: - None
The list of configurations supplied for the EMR cluster you are creating.
274 275 276 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 274 def configurations @configurations end |
#credentials ⇒ AWSCDK::StepFunctions::Credentials? (readonly)
Default: - None (Task is executed using the State Machine's execution role)
Credentials for an IAM Role that the State Machine assumes for executing the task.
This enables cross-account resource invocations.
146 147 148 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 146 def credentials @credentials end |
#custom_ami_id ⇒ String? (readonly)
Default: - None
The ID of a custom Amazon EBS-backed Linux AMI.
279 280 281 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 279 def custom_ami_id @custom_ami_id end |
#ebs_root_volume_iops ⇒ Numeric? (readonly)
Default: - EMR selected default
The IOPS of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
Requires EMR release label 6.15.0 or above. Must be in range [3000, 16000].
288 289 290 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 288 def ebs_root_volume_iops @ebs_root_volume_iops end |
#ebs_root_volume_size ⇒ AWSCDK::Size? (readonly)
Default: - EMR selected default
The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
293 294 295 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 293 def ebs_root_volume_size @ebs_root_volume_size end |
#ebs_root_volume_throughput ⇒ Numeric? (readonly)
Default: - EMR selected default
The throughput, in MiB/s, of the EBS root device volume of the Linux AMI that is used for each EC2 instance.
Requires EMR release label 6.15.0 or above. Must be in range [125, 1000].
302 303 304 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 302 def ebs_root_volume_throughput @ebs_root_volume_throughput end |
#heartbeat ⇒ AWSCDK::Duration? (readonly)
use heartbeatTimeout
Default: - None
Timeout for the heartbeat.
152 153 154 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 152 def heartbeat @heartbeat end |
#heartbeat_timeout ⇒ AWSCDK::StepFunctions::Timeout? (readonly)
Default: - None
Timeout for the heartbeat.
[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
160 161 162 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 160 def heartbeat_timeout @heartbeat_timeout end |
#input_path ⇒ String? (readonly)
Default: $
JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
200 201 202 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 200 def input_path @input_path end |
#instances ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::InstancesConfigProperty (readonly)
A specification of the number and type of Amazon EC2 instances.
229 230 231 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 229 def instances @instances end |
#integration_pattern ⇒ AWSCDK::StepFunctions::IntegrationPattern? (readonly)
Default: - IntegrationPattern.REQUEST_RESPONSE for most tasks. IntegrationPattern.RUN_JOB for the following exceptions: BatchSubmitJob, EmrAddStep, EmrCreateCluster, EmrTerminationCluster, and EmrContainersStartJobRun.
AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patterns.
Depending on the AWS Service, the Service Integration Pattern availability will vary.
170 171 172 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 170 def integration_pattern @integration_pattern end |
#kerberos_attributes ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::KerberosAttributesProperty? (readonly)
Default: - None
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.
307 308 309 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 307 def kerberos_attributes @kerberos_attributes end |
#log_uri ⇒ String? (readonly)
Default: - None
The location in Amazon S3 to write the log files of the job flow.
312 313 314 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 312 def log_uri @log_uri end |
#managed_scaling_policy ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::ManagedScalingPolicyProperty? (readonly)
Default: - None
The specified managed scaling policy for an Amazon EMR cluster.
317 318 319 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 317 def managed_scaling_policy @managed_scaling_policy end |
#name ⇒ String (readonly)
The Name of the Cluster.
233 234 235 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 233 def name @name end |
#output_path ⇒ String? (readonly)
Default: $
JSONPath expression to select part of the state to be the output to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
208 209 210 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 208 def output_path @output_path end |
#query_language ⇒ AWSCDK::StepFunctions::QueryLanguage? (readonly)
Default: - JSONPath
The name of the query language used by the state.
If the state does not contain a query_language field,
then it will use the query language specified in the top-level query_language field.
133 134 135 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 133 def query_language @query_language end |
#release_label ⇒ String? (readonly)
Default: - EMR selected default
The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
322 323 324 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 322 def release_label @release_label end |
#result_path ⇒ String? (readonly)
Default: $
JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
216 217 218 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 216 def result_path @result_path end |
#result_selector ⇒ Hash{String => Object}? (readonly)
Default: - None
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
225 226 227 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 225 def result_selector @result_selector end |
#scale_down_behavior ⇒ AWSCDK::StepFunctionsTasks::EMRCreateCluster::EMRClusterScaleDownBehavior? (readonly)
Default: - EMR selected default
Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
327 328 329 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 327 def scale_down_behavior @scale_down_behavior end |
#security_configuration ⇒ String? (readonly)
Default: - None
The name of a security configuration to apply to the cluster.
332 333 334 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 332 def security_configuration @security_configuration end |
#service_role ⇒ AWSCDK::IAM::IRole? (readonly)
Default: - A role will be created that Amazon EMR service can assume.
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
337 338 339 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 337 def service_role @service_role end |
#state_name ⇒ String? (readonly)
Default: - The construct ID will be used as state name
Optional name for this state.
138 139 140 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 138 def state_name @state_name end |
#step_concurrency_level ⇒ Numeric? (readonly)
Default: 1 - no step concurrency allowed
Specifies the step concurrency level to allow multiple steps to run in parallel.
Requires EMR release label 5.28.0 or above. Must be in range [1, 256].
345 346 347 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 345 def step_concurrency_level @step_concurrency_level end |
#tags ⇒ Hash{String => String}? (readonly)
Default: - None
A list of tags to associate with a cluster and propagate to Amazon EC2 instances.
350 351 352 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 350 def @tags end |
#task_timeout ⇒ AWSCDK::StepFunctions::Timeout? (readonly)
Default: - None
Timeout for the task.
[disable-awslint:duration-prop-type] is needed because all props interface in aws-stepfunctions-tasks extend this interface
178 179 180 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 178 def task_timeout @task_timeout end |
#timeout ⇒ AWSCDK::Duration? (readonly)
use taskTimeout
Default: - None
Timeout for the task.
184 185 186 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 184 def timeout @timeout end |
#visible_to_all_users ⇒ Boolean? (readonly)
Default: true
A value of true indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions.
355 356 357 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 355 def visible_to_all_users @visible_to_all_users end |
Class Method Details
.jsii_properties ⇒ Object
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 357 def self.jsii_properties { :comment => "comment", :query_language => "queryLanguage", :state_name => "stateName", :credentials => "credentials", :heartbeat => "heartbeat", :heartbeat_timeout => "heartbeatTimeout", :integration_pattern => "integrationPattern", :task_timeout => "taskTimeout", :timeout => "timeout", :assign => "assign", :input_path => "inputPath", :output_path => "outputPath", :result_path => "resultPath", :result_selector => "resultSelector", :instances => "instances", :name => "name", :additional_info => "additionalInfo", :applications => "applications", :auto_scaling_role => "autoScalingRole", :auto_termination_policy_idle_timeout => "autoTerminationPolicyIdleTimeout", :bootstrap_actions => "bootstrapActions", :cluster_role => "clusterRole", :configurations => "configurations", :custom_ami_id => "customAmiId", :ebs_root_volume_iops => "ebsRootVolumeIops", :ebs_root_volume_size => "ebsRootVolumeSize", :ebs_root_volume_throughput => "ebsRootVolumeThroughput", :kerberos_attributes => "kerberosAttributes", :log_uri => "logUri", :managed_scaling_policy => "managedScalingPolicy", :release_label => "releaseLabel", :scale_down_behavior => "scaleDownBehavior", :security_configuration => "securityConfiguration", :service_role => "serviceRole", :step_concurrency_level => "stepConcurrencyLevel", :tags => "tags", :visible_to_all_users => "visibleToAllUsers", } end |
Instance Method Details
#to_jsii ⇒ Object
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 |
# File 'step_functions_tasks/emr_create_cluster_json_path_props.rb', line 399 def to_jsii result = {} result.merge!(super) result.merge!({ "comment" => @comment, "queryLanguage" => @query_language, "stateName" => @state_name, "credentials" => @credentials, "heartbeat" => @heartbeat, "heartbeatTimeout" => @heartbeat_timeout, "integrationPattern" => @integration_pattern, "taskTimeout" => @task_timeout, "timeout" => @timeout, "assign" => @assign, "inputPath" => @input_path, "outputPath" => @output_path, "resultPath" => @result_path, "resultSelector" => @result_selector, "instances" => @instances, "name" => @name, "additionalInfo" => @additional_info, "applications" => @applications, "autoScalingRole" => @auto_scaling_role, "autoTerminationPolicyIdleTimeout" => @auto_termination_policy_idle_timeout, "bootstrapActions" => @bootstrap_actions, "clusterRole" => @cluster_role, "configurations" => @configurations, "customAmiId" => @custom_ami_id, "ebsRootVolumeIops" => @ebs_root_volume_iops, "ebsRootVolumeSize" => @ebs_root_volume_size, "ebsRootVolumeThroughput" => @ebs_root_volume_throughput, "kerberosAttributes" => @kerberos_attributes, "logUri" => @log_uri, "managedScalingPolicy" => @managed_scaling_policy, "releaseLabel" => @release_label, "scaleDownBehavior" => @scale_down_behavior, "securityConfiguration" => @security_configuration, "serviceRole" => @service_role, "stepConcurrencyLevel" => @step_concurrency_level, "tags" => @tags, "visibleToAllUsers" => @visible_to_all_users, }) result.compact end |