Cluster

class Cluster : KotlinCustomResource

Provides a EMR Cluster resource. With this you can create, read, and release EMR Cluster.

DEPRECATED: This resource has been deprecated from version 1.204.0. Please use new resource emrv2_cluster. NOTE: Available in 1.57.0+. {{% examples %}}

Example Usage

{{% /examples %}}

Import

Aliclioud E-MapReduce cluster can be imported using the id e.g.

$ pulumi import alicloud:emr/cluster:Cluster default C-B47FB8FE96C67XXXX

Properties

Link copied to clipboard

Boot action parameters.

Link copied to clipboard
val chargeType: Output<String>?

Charge Type for this cluster. Supported value: PostPaid or PrePaid. Default value: PostPaid.

Link copied to clipboard
val clusterType: Output<String>

EMR Cluster Type, e.g. HADOOP, KAFKA, DRUID, GATEWAY etc. You can find all valid EMR cluster type in emr web console. Supported 'GATEWAY' available in 1.61.0+.

Link copied to clipboard
val configs: Output<List<ClusterConfig>>?

The custom configurations of emr-cluster service.

Link copied to clipboard
val depositType: Output<String>?

Cluster deposit type, HALF_MANAGED or FULL_MANAGED.

Link copied to clipboard
val easEnable: Output<Boolean>?

High security cluster (true) or not. Default value is false.

Link copied to clipboard
val emrVer: Output<String>

EMR Version, e.g. EMR-3.22.0. You can find the all valid EMR Version in emr web console.

Link copied to clipboard

High Available for HDFS and YARN. If this is set true, MASTER group must have two nodes.

Link copied to clipboard

Groups of Host, You can specify MASTER as a group, CORE as a group (just like the above example).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val isOpenPublicIp: Output<Boolean>?

Whether the MASTER node has a public IP address enabled. Default value is false.

Link copied to clipboard
val keyPairName: Output<String>?

Ssh key pair.

Link copied to clipboard
val masterPwd: Output<String>?

Master ssh password.

Link copied to clipboard

The configuration of emr-cluster service component metadata storage. If meta store type is ’user_rds’, this should be specified.

Link copied to clipboard
val metaStoreType: Output<String>

The type of emr-cluster service component metadata storage. ’dlf’ or ’local’ or ’user_rds’ .

Link copied to clipboard

The configurations of emr-cluster service modification after cluster created.

Link copied to clipboard
val name: Output<String>

The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".

Link copied to clipboard

Optional software list.

Link copied to clipboard
val period: Output<Int>?

If charge type is PrePaid, this should be specified, unit is month. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val relatedClusterId: Output<String>?

This specify the related cluster id, if this cluster is a Gateway.

Link copied to clipboard
val resourceGroupId: Output<String>?

The Id of resource group which the emr-cluster belongs.

Link copied to clipboard
val securityGroupId: Output<String>?

Security Group ID for Cluster, you can also specify this key for each host group.

Link copied to clipboard
val sshEnable: Output<Boolean>?

If this is set true, we can ssh into cluster. Default value is false.

Link copied to clipboard
val tags: Output<Map<String, Any>>

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val useLocalMetadb: Output<Boolean>?

Use local metadb. Default is false.

Link copied to clipboard

Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.

Link copied to clipboard
val vswitchId: Output<String>?

Global vswitch id, you can also specify it in host group.

Link copied to clipboard
val zoneId: Output<String>

Zone ID, e.g. cn-huhehaote-a