ClusterArgs

data class ClusterArgs(val bootstrapActions: Output<List<ClusterBootstrapActionArgs>>? = null, val chargeType: Output<String>? = null, val clusterType: Output<String>? = null, val configs: Output<List<ClusterConfigArgs>>? = null, val depositType: Output<String>? = null, val easEnable: Output<Boolean>? = null, val emrVer: Output<String>? = null, val highAvailabilityEnable: Output<Boolean>? = null, val hostGroups: Output<List<ClusterHostGroupArgs>>? = null, val isOpenPublicIp: Output<Boolean>? = null, val keyPairName: Output<String>? = null, val masterPwd: Output<String>? = null, val metaStoreConf: Output<ClusterMetaStoreConfArgs>? = null, val metaStoreType: Output<String>? = null, val modifyClusterServiceConfig: Output<ClusterModifyClusterServiceConfigArgs>? = null, val name: Output<String>? = null, val optionSoftwareLists: Output<List<String>>? = null, val period: Output<Int>? = null, val relatedClusterId: Output<String>? = null, val resourceGroupId: Output<String>? = null, val securityGroupId: Output<String>? = null, val sshEnable: Output<Boolean>? = null, val tags: Output<Map<String, Any>>? = null, val useLocalMetadb: Output<Boolean>? = null, val userDefinedEmrEcsRole: Output<String>? = null, val vswitchId: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ClusterArgs>

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

Constructors

Link copied to clipboard
fun ClusterArgs(bootstrapActions: Output<List<ClusterBootstrapActionArgs>>? = null, chargeType: Output<String>? = null, clusterType: Output<String>? = null, configs: Output<List<ClusterConfigArgs>>? = null, depositType: Output<String>? = null, easEnable: Output<Boolean>? = null, emrVer: Output<String>? = null, highAvailabilityEnable: Output<Boolean>? = null, hostGroups: Output<List<ClusterHostGroupArgs>>? = null, isOpenPublicIp: Output<Boolean>? = null, keyPairName: Output<String>? = null, masterPwd: Output<String>? = null, metaStoreConf: Output<ClusterMetaStoreConfArgs>? = null, metaStoreType: Output<String>? = null, modifyClusterServiceConfig: Output<ClusterModifyClusterServiceConfigArgs>? = null, name: Output<String>? = null, optionSoftwareLists: Output<List<String>>? = null, period: Output<Int>? = null, relatedClusterId: Output<String>? = null, resourceGroupId: Output<String>? = null, securityGroupId: Output<String>? = null, sshEnable: Output<Boolean>? = null, tags: Output<Map<String, Any>>? = null, useLocalMetadb: Output<Boolean>? = null, userDefinedEmrEcsRole: Output<String>? = null, vswitchId: Output<String>? = null, zoneId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ClusterArgs

Properties

Link copied to clipboard

Boot action parameters.

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

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

Link copied to clipboard
val clusterType: Output<String>? = null

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<ClusterConfigArgs>>? = null

The custom configurations of emr-cluster service.

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

Cluster deposit type, HALF_MANAGED or FULL_MANAGED.

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

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

Link copied to clipboard
val emrVer: Output<String>? = null

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

Link copied to clipboard
val highAvailabilityEnable: Output<Boolean>? = null

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

Link copied to clipboard
val hostGroups: Output<List<ClusterHostGroupArgs>>? = null

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

Link copied to clipboard
val isOpenPublicIp: Output<Boolean>? = null

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

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

Ssh key pair.

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

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>? = null

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>? = null

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

Link copied to clipboard
val optionSoftwareLists: Output<List<String>>? = null

Optional software list.

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

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 relatedClusterId: Output<String>? = null

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

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

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

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

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

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

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

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val useLocalMetadb: Output<Boolean>? = null

Use local metadb. Default is false.

Link copied to clipboard
val userDefinedEmrEcsRole: Output<String>? = null

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>? = null

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

Link copied to clipboard
val zoneId: Output<String>? = null

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