Interface EmrModifyInstanceGroupByNameJsonPathProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonPathBaseProps
- All Known Implementing Classes:
EmrModifyInstanceGroupByNameJsonPathProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:30.896Z")
@Stability(Stable)
public interface EmrModifyInstanceGroupByNameJsonPathProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for EmrModifyInstanceGroupByName using JSONPath.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Object assign;
ConfigurationProperty configurationProperty_;
Object resultSelector;
TaskRole taskRole;
Timeout timeout;
EmrModifyInstanceGroupByNameJsonPathProps emrModifyInstanceGroupByNameJsonPathProps = EmrModifyInstanceGroupByNameJsonPathProps.builder()
.clusterId("clusterId")
.instanceGroup(InstanceGroupModifyConfigProperty.builder()
.configurations(List.of(ConfigurationProperty.builder()
.classification("classification")
.configurations(List.of(configurationProperty_))
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.eC2InstanceIdsToTerminate(List.of("eC2InstanceIdsToTerminate"))
.instanceCount(123)
.shrinkPolicy(ShrinkPolicyProperty.builder()
.decommissionTimeout(Duration.minutes(30))
.instanceResizePolicy(InstanceResizePolicyProperty.builder()
.instancesToProtect(List.of("instancesToProtect"))
.instancesToTerminate(List.of("instancesToTerminate"))
.instanceTerminationTimeout(Duration.minutes(30))
.build())
.build())
.build())
.instanceGroupName("instanceGroupName")
// the properties below are optional
.assign(Map.of(
"assignKey", assign))
.comment("comment")
.credentials(Credentials.builder()
.role(taskRole)
.build())
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.inputPath("inputPath")
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.outputPath("outputPath")
.queryLanguage(QueryLanguage.JSON_PATH)
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.stateName("stateName")
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEmrModifyInstanceGroupByNameJsonPathPropsstatic final classAn implementation forEmrModifyInstanceGroupByNameJsonPathProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ClusterId to update.The JSON that you want to provide to your ModifyInstanceGroup call as input.The InstanceGroupName to update.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateJsonPathBaseProps
getResultPath, getResultSelector
-
Method Details
-
getClusterId
The ClusterId to update. -
getInstanceGroup
@Stability(Stable) @NotNull EmrModifyInstanceGroupByName.InstanceGroupModifyConfigProperty getInstanceGroup()The JSON that you want to provide to your ModifyInstanceGroup call as input.This uses the same syntax as the ModifyInstanceGroups API.
- See Also:
-
getInstanceGroupName
The InstanceGroupName to update. -
builder
-