@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:43.293Z") @Stability(value=Experimental) public class EmrCreateCluster extends TaskStateBase
The ClusterConfiguration is defined as Parameters in the state machine definition.
OUTPUT: the ClusterId.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EmrCreateCluster.ApplicationConfigProperty
(experimental) Properties for the EMR Cluster Applications.
|
static interface |
EmrCreateCluster.AutoScalingPolicyProperty
(experimental) An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
|
static interface |
EmrCreateCluster.BootstrapActionConfigProperty
(experimental) Configuration of a bootstrap action.
|
static class |
EmrCreateCluster.Builder
(experimental) A fluent builder for
EmrCreateCluster. |
static class |
EmrCreateCluster.CloudWatchAlarmComparisonOperator
(experimental) CloudWatch Alarm Comparison Operators.
|
static interface |
EmrCreateCluster.CloudWatchAlarmDefinitionProperty
(experimental) The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered.
|
static class |
EmrCreateCluster.CloudWatchAlarmStatistic
(experimental) CloudWatch Alarm Statistics.
|
static class |
EmrCreateCluster.CloudWatchAlarmUnit
(experimental) CloudWatch Alarm Units.
|
static interface |
EmrCreateCluster.ConfigurationProperty
(experimental) An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.
|
static interface |
EmrCreateCluster.EbsBlockDeviceConfigProperty
(experimental) Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
|
static class |
EmrCreateCluster.EbsBlockDeviceVolumeType
(experimental) EBS Volume Types.
|
static interface |
EmrCreateCluster.EbsConfigurationProperty
(experimental) The Amazon EBS configuration of a cluster instance.
|
static class |
EmrCreateCluster.EmrClusterScaleDownBehavior
(experimental) The Cluster ScaleDownBehavior specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
|
static interface |
EmrCreateCluster.InstanceFleetConfigProperty
(experimental) The configuration that defines an instance fleet.
|
static interface |
EmrCreateCluster.InstanceFleetProvisioningSpecificationsProperty
(experimental) The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
|
static interface |
EmrCreateCluster.InstanceGroupConfigProperty
(experimental) Configuration defining a new instance group.
|
static class |
EmrCreateCluster.InstanceMarket
(experimental) EC2 Instance Market.
|
static class |
EmrCreateCluster.InstanceRoleType
(experimental) Instance Role Types.
|
static interface |
EmrCreateCluster.InstancesConfigProperty
(experimental) A specification of the number and type of Amazon EC2 instances.
|
static interface |
EmrCreateCluster.InstanceTypeConfigProperty
(experimental) An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.
|
static interface |
EmrCreateCluster.KerberosAttributesProperty
(experimental) Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.
|
static interface |
EmrCreateCluster.MetricDimensionProperty
(experimental) A CloudWatch dimension, which is specified using a Key (known as a Name in CloudWatch), Value pair.
|
static interface |
EmrCreateCluster.PlacementTypeProperty
(experimental) The Amazon EC2 Availability Zone configuration of the cluster (job flow).
|
static interface |
EmrCreateCluster.ScalingActionProperty
(experimental) The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
|
static class |
EmrCreateCluster.ScalingAdjustmentType
(experimental) AutoScaling Adjustment Type.
|
static interface |
EmrCreateCluster.ScalingConstraintsProperty
(experimental) The upper and lower EC2 instance limits for an automatic scaling policy.
|
static interface |
EmrCreateCluster.ScalingRuleProperty
(experimental) A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments.
|
static interface |
EmrCreateCluster.ScalingTriggerProperty
(experimental) The conditions that trigger an automatic scaling activity and the definition of a CloudWatch metric alarm.
|
static interface |
EmrCreateCluster.ScriptBootstrapActionConfigProperty
(experimental) Configuration of the script to run during a bootstrap action.
|
static interface |
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty
(experimental) An automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.
|
static interface |
EmrCreateCluster.SpotProvisioningSpecificationProperty
(experimental) The launch specification for Spot instances in the instance fleet, which determines the defined duration and provisioning timeout behavior.
|
static class |
EmrCreateCluster.SpotTimeoutAction
(experimental) Spot Timeout Actions.
|
static interface |
EmrCreateCluster.VolumeSpecificationProperty
(experimental) EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
|
software.amazon.jsii.JsiiObject.InitializationModeINextable.Jsii$DefaultIChainable.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
EmrCreateCluster(software.constructs.Construct scope,
String id,
EmrCreateClusterProps props) |
protected |
EmrCreateCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EmrCreateCluster(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IRole |
getAutoScalingRole()
(experimental) The autoscaling role for the EMR Cluster.
|
IRole |
getClusterRole()
(experimental) The instance role for the EMR Cluster.
|
IRole |
getServiceRole()
(experimental) The service role for the EMR Cluster.
|
protected TaskMetricsConfig |
getTaskMetrics() |
protected List<PolicyStatement> |
getTaskPolicies() |
addCatch, addCatch, addRetry, addRetry, getEndStates, metric, metric, metricFailed, metricFailed, metricHeartbeatTimedOut, metricHeartbeatTimedOut, metricRunTime, metricRunTime, metricScheduled, metricScheduled, metricScheduleTime, metricScheduleTime, metricStarted, metricStarted, metricSucceeded, metricSucceeded, metricTime, metricTime, metricTimedOut, metricTimedOut, next, toStateJson, whenBoundToGraphaddBranch, addChoice, addIterator, addPrefix, bindToGraph, filterNextables, findReachableEndStates, findReachableEndStates, findReachableStates, findReachableStates, getBranches, getComment, getDefaultChoice, getId, getInputPath, getIteration, getOutputPath, getParameters, getResultPath, getResultSelector, getStartState, getStateId, makeDefault, makeNext, prefixStates, renderBranches, renderChoices, renderInputOutput, renderIterator, renderNextEnd, renderResultSelector, renderRetryCatch, setDefaultChoice, setIteration, validateStatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EmrCreateCluster(software.amazon.jsii.JsiiObjectRef objRef)
protected EmrCreateCluster(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public EmrCreateCluster(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
EmrCreateClusterProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public IRole getAutoScalingRole()
Only available after task has been added to a state machine.
@Stability(value=Experimental) @NotNull public IRole getClusterRole()
Only available after task has been added to a state machine.
@Stability(value=Experimental) @NotNull public IRole getServiceRole()
Only available after task has been added to a state machine.
@Stability(value=Experimental) @Nullable protected TaskMetricsConfig getTaskMetrics()
getTaskMetrics in class TaskStateBase@Stability(value=Experimental) @Nullable protected List<PolicyStatement> getTaskPolicies()
getTaskPolicies in class TaskStateBaseCopyright © 2021. All rights reserved.