EmrModifyInstanceFleetByNameProps

class aws_cdk.aws_stepfunctions_tasks.EmrModifyInstanceFleetByNameProps(*, comment=None, heartbeat=None, input_path=None, integration_pattern=None, output_path=None, result_path=None, result_selector=None, timeout=None, cluster_id, instance_fleet_name, target_on_demand_capacity, target_spot_capacity)

Bases: aws_cdk.aws_stepfunctions.TaskStateBaseProps

Properties for EmrModifyInstanceFleetByName.

Parameters
  • comment (Optional[str]) – An optional description for this state. Default: - No comment

  • heartbeat (Optional[Duration]) – Timeout for the heartbeat. Default: - None

  • input_path (Optional[str]) – 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 {}. Default: - The entire task input (JSON path ‘$’)

  • integration_pattern (Optional[IntegrationPattern]) – AWS Step Functions integrates with services directly in the Amazon States Language. You can control these AWS services using service integration patterns Default: IntegrationPattern.REQUEST_RESPONSE

  • output_path (Optional[str]) – JSONPath expression to select select a portion of the state output to pass to the next state. May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}. Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path ‘$’)

  • result_path (Optional[str]) – 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. Default: - Replaces the entire input with the result (JSON path ‘$’)

  • result_selector (Optional[Mapping[str, Any]]) – 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. Default: - None

  • timeout (Optional[Duration]) – Timeout for the state machine. Default: - None

  • cluster_id (str) – The ClusterId to update.

  • instance_fleet_name (str) – The InstanceFleetName to update.

  • target_on_demand_capacity (Union[int, float]) – The target capacity of On-Demand units for the instance fleet. Default: - None

  • target_spot_capacity (Union[int, float]) – The target capacity of Spot units for the instance fleet. Default: - None

Attributes

cluster_id

The ClusterId to update.

Return type

str

comment

An optional description for this state.

Default
  • No comment

Return type

Optional[str]

heartbeat

Timeout for the heartbeat.

Default
  • None

Return type

Optional[Duration]

input_path

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 {}.

Default
  • The entire task input (JSON path ‘$’)

Return type

Optional[str]

instance_fleet_name

The InstanceFleetName to update.

Return type

str

integration_pattern

AWS Step Functions integrates with services directly in the Amazon States Language.

You can control these AWS services using service integration patterns

Default

IntegrationPattern.REQUEST_RESPONSE

See

https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token

Return type

Optional[IntegrationPattern]

output_path

JSONPath expression to select select a portion of the state output to pass to the next state.

May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.

Default

  • The entire JSON node determined by the state input, the task result,

and resultPath is passed to the next state (JSON path ‘$’)

Return type

Optional[str]

result_path

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.

Default
  • Replaces the entire input with the result (JSON path ‘$’)

Return type

Optional[str]

result_selector

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.

Default
  • None

See

https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector

Return type

Optional[Mapping[str, Any]]

target_on_demand_capacity

The target capacity of On-Demand units for the instance fleet.

Default
  • None

See

https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceFleetModifyConfig.html

Return type

Union[int, float]

target_spot_capacity

The target capacity of Spot units for the instance fleet.

Default
  • None

See

https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceFleetModifyConfig.html

Return type

Union[int, float]

timeout

Timeout for the state machine.

Default
  • None

Return type

Optional[Duration]