@Stability(value=Experimental) public static final class EmrCreateClusterProps.Builder extends Object implements software.amazon.jsii.Builder<EmrCreateClusterProps>
EmrCreateClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public EmrCreateClusterProps.Builder instances(EmrCreateCluster.InstancesConfigProperty instances)
EmrCreateClusterProps.getInstances()instances - A specification of the number and type of Amazon EC2 instances. This parameter is required.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder name(String name)
EmrCreateClusterProps.getName()name - The Name of the Cluster. This parameter is required.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder additionalInfo(String additionalInfo)
EmrCreateClusterProps.getAdditionalInfo()additionalInfo - A JSON string for selecting additional features.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder applications(List<? extends EmrCreateCluster.ApplicationConfigProperty> applications)
EmrCreateClusterProps.getApplications()applications - A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder autoScalingRole(IRole autoScalingRole)
EmrCreateClusterProps.getAutoScalingRole()autoScalingRole - An IAM role for automatic scaling policies.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder bootstrapActions(List<? extends EmrCreateCluster.BootstrapActionConfigProperty> bootstrapActions)
EmrCreateClusterProps.getBootstrapActions()bootstrapActions - A list of bootstrap actions to run before Hadoop starts on the cluster nodes.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder clusterRole(IRole clusterRole)
EmrCreateClusterProps.getClusterRole()clusterRole - 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.
this@Stability(value=Experimental) public EmrCreateClusterProps.Builder configurations(List<? extends EmrCreateCluster.ConfigurationProperty> configurations)
EmrCreateClusterProps.getConfigurations()configurations - The list of configurations supplied for the EMR cluster you are creating.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder customAmiId(String customAmiId)
EmrCreateClusterProps.getCustomAmiId()customAmiId - The ID of a custom Amazon EBS-backed Linux AMI.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder ebsRootVolumeSize(Size ebsRootVolumeSize)
EmrCreateClusterProps.getEbsRootVolumeSize()ebsRootVolumeSize - The size of the EBS root device volume of the Linux AMI that is used for each EC2 instance.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder kerberosAttributes(EmrCreateCluster.KerberosAttributesProperty kerberosAttributes)
EmrCreateClusterProps.getKerberosAttributes()kerberosAttributes - Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder logUri(String logUri)
EmrCreateClusterProps.getLogUri()logUri - The location in Amazon S3 to write the log files of the job flow.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder releaseLabel(String releaseLabel)
EmrCreateClusterProps.getReleaseLabel()releaseLabel - The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder scaleDownBehavior(EmrCreateCluster.EmrClusterScaleDownBehavior scaleDownBehavior)
EmrCreateClusterProps.getScaleDownBehavior()scaleDownBehavior - Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder securityConfiguration(String securityConfiguration)
EmrCreateClusterProps.getSecurityConfiguration()securityConfiguration - The name of a security configuration to apply to the cluster.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder serviceRole(IRole serviceRole)
EmrCreateClusterProps.getServiceRole()serviceRole - The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder tags(Map<String,String> tags)
EmrCreateClusterProps.getTags()tags - A list of tags to associate with a cluster and propagate to Amazon EC2 instances.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder visibleToAllUsers(Boolean visibleToAllUsers)
EmrCreateClusterProps.getVisibleToAllUsers()visibleToAllUsers - 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.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - 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 {}.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Experimental) public EmrCreateClusterProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - 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 {}.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - 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.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - 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.this@Stability(value=Experimental) public EmrCreateClusterProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Experimental) public EmrCreateClusterProps build()
build in interface software.amazon.jsii.Builder<EmrCreateClusterProps>EmrCreateClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.