Class ClusterState
Inheritance
System.Object
ClusterState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ClusterState : ResourceArgs
Constructors
View Source
ClusterState()
Declaration
Properties
View Source
AdditionalInfo
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> |
|
View Source
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
View Source
Arn
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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> |
|
View Source
BootstrapActions
Ordered list of bootstrap actions that will be run before Hadoop is started on the cluster nodes. Defined below.
Declaration
public InputList<ClusterBootstrapActionGetArgs> BootstrapActions { get; set; }
Property Value
View Source
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> |
|
View Source
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> |
|
View Source
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> |
|
View Source
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<ClusterCoreInstanceGroupGetArgs> CoreInstanceGroup { get; set; }
Property Value
View Source
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> |
|
View Source
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> |
|
View Source
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> |
|
View Source
Ec2Attributes
Attributes for the EC2 instances running the job flow. Defined below
Declaration
public Input<ClusterEc2AttributesGetArgs> Ec2Attributes { get; set; }
Property Value
View Source
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<ClusterInstanceGroupGetArgs> InstanceGroups { get; set; }
Property Value
View Source
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> |
|
View Source
KerberosAttributes
Kerberos configuration for the cluster. Defined below
Declaration
public Input<ClusterKerberosAttributesGetArgs> KerberosAttributes { get; set; }
Property Value
View Source
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> |
|
View Source
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<ClusterMasterInstanceGroupGetArgs> MasterInstanceGroup { get; set; }
Property Value
View Source
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> |
|
View Source
MasterPublicDns
The public DNS name of the master EC2 instance.
core_instance_group.0.id - Core node type Instance Group ID, if using Instance Group for this node type.
Declaration
public Input<string> MasterPublicDns { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ReleaseLabel
The release label for the Amazon EMR release
Declaration
public Input<string> ReleaseLabel { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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> |
|
View Source
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> |
|
View Source
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> |
|
View Source
State
Declaration
public Input<string> State { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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> |
|
View Source
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<ClusterStepGetArgs> Steps { get; set; }
Property Value
View Source
list of tags to apply to the EMR Cluster
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.Object> |
|
View Source
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> |
|
View Source
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> |
|