Class ClusterArgs
Inherited Members
Namespace: Pulumi.Aws.Emr
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ClusterArgs : ResourceArgs
Constructors
View SourceClusterArgs()
Declaration
public ClusterArgs()
Properties
View SourceAdditionalInfo
A JSON string for selecting additional features such as adding proxy information. Note: Currently there is no API to retrieve the value of this argument after EMR cluster creation from provider, therefore this provider cannot detect drift from the actual EMR cluster if its value is changed outside this provider.
Declaration
public Input<string> AdditionalInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Applications
A list of applications for the cluster. Valid values are: Flink, Hadoop, Hive, Mahout, Pig, Spark, and JupyterHub (as of EMR 5.14.0). Case insensitive
Declaration
public InputList<string> Applications { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AutoscalingRole
An IAM role for automatic scaling policies. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
Declaration
public Input<string> AutoscalingRole { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BootstrapActions
Ordered list of bootstrap actions that will be run before Hadoop is started on the cluster nodes. Defined below.
Declaration
public InputList<ClusterBootstrapActionArgs> BootstrapActions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ClusterBootstrapActionArgs> |
Configurations
List of configurations supplied for the EMR cluster you are creating
Declaration
public Input<string> Configurations { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ConfigurationsJson
A JSON string for supplying list of configurations for the EMR cluster.
Declaration
public Input<string> ConfigurationsJson { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CoreInstanceCount
Use the core_instance_group configuration block instance_count argument instead. Number of Amazon EC2 instances used to execute the job flow. EMR will use one node as the cluster's master node and use the remainder of the nodes (core_instance_count-1) as core nodes. Cannot be specified if core_instance_group or instance_group configuration blocks are set. Default 1
Declaration
public Input<int> CoreInstanceCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CoreInstanceGroup
Configuration block to use an Instance Group for the core node type. Cannot be specified if core_instance_count argument, core_instance_type argument, or instance_group configuration blocks are set. Detailed below.
Declaration
public Input<ClusterCoreInstanceGroupArgs> CoreInstanceGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterCoreInstanceGroupArgs> |
CoreInstanceType
Use the core_instance_group configuration block instance_type argument instead. The EC2 instance type of the slave nodes. Cannot be specified if core_instance_group or instance_group configuration blocks are set.
Declaration
public Input<string> CoreInstanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CustomAmiId
A custom Amazon Linux AMI for the cluster (instead of an EMR-owned AMI). Available in Amazon EMR version 5.7.0 and later.
Declaration
public Input<string> CustomAmiId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EbsRootVolumeSize
Size in GiB of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.
Declaration
public Input<int> EbsRootVolumeSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Ec2Attributes
Attributes for the EC2 instances running the job flow. Defined below
Declaration
public Input<ClusterEc2AttributesArgs> Ec2Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterEc2AttributesArgs> |
InstanceGroups
Use the master_instance_group configuration block, core_instance_group configuration block and aws.emr.InstanceGroup resource(s) instead. A list of instance_group objects for each instance group in the cluster. Exactly one of master_instance_type and instance_group must be specified. If instance_group is set, then it must contain a configuration block for at least the MASTER instance group type (as well as any additional instance groups). Cannot be specified if master_instance_group or core_instance_group configuration blocks are set. Defined below
Declaration
[Obsolete("use `master_instance_group` configuration block, `core_instance_group` configuration block, and `aws_emr_instance_group` resource(s) instead")]
public InputList<ClusterInstanceGroupArgs> InstanceGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ClusterInstanceGroupArgs> |
KeepJobFlowAliveWhenNoSteps
Switch on/off run cluster with no steps or when all steps are complete (default is on)
Declaration
public Input<bool> KeepJobFlowAliveWhenNoSteps { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
KerberosAttributes
Kerberos configuration for the cluster. Defined below
Declaration
public Input<ClusterKerberosAttributesArgs> KerberosAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterKerberosAttributesArgs> |
LogUri
S3 bucket to write the log files of the job flow. If a value is not provided, logs are not created
Declaration
public Input<string> LogUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MasterInstanceGroup
Configuration block to use an Instance Group for the master node type. Cannot be specified if master_instance_type argument or instance_group configuration blocks are set. Detailed below.
Declaration
public Input<ClusterMasterInstanceGroupArgs> MasterInstanceGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterMasterInstanceGroupArgs> |
MasterInstanceType
Use the master_instance_group configuration block instance_type argument instead. The EC2 instance type of the master node. Cannot be specified if master_instance_group or instance_group configuration blocks are set.
Declaration
public Input<string> MasterInstanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the step.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReleaseLabel
The release label for the Amazon EMR release
Declaration
public Input<string> ReleaseLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ScaleDownBehavior
The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
Declaration
public Input<string> ScaleDownBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityConfiguration
The security configuration name to attach to the EMR cluster. Only valid for EMR clusters with release_label 4.8.0 or greater
Declaration
public Input<string> SecurityConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ServiceRole
IAM role that will be assumed by the Amazon EMR service to access AWS resources
Declaration
public Input<string> ServiceRole { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StepConcurrencyLevel
The number of steps that can be executed concurrently. You can specify a maximum of 256 steps. Only valid for EMR clusters with release_label 5.28.0 or greater. (default is 1)
Declaration
public Input<int> StepConcurrencyLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Steps
List of steps to run when creating the cluster. Defined below. It is highly recommended to utilize ignoreChanges if other steps are being managed outside of this provider.
Declaration
public InputList<ClusterStepArgs> Steps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ClusterStepArgs> |
Tags
list of tags to apply to the EMR Cluster
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
TerminationProtection
Switch on/off termination protection (default is false, except when using multiple master nodes). Before attempting to destroy the resource when termination protection is enabled, this configuration must be applied with its value set to false.
Declaration
public Input<bool> TerminationProtection { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
VisibleToAllUsers
Whether the job flow is visible to all IAM users of the AWS account associated with the job flow. Default true
Declaration
public Input<bool> VisibleToAllUsers { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |