1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. EmrCluster
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.EmrCluster

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provide a resource to create an emr cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const config = new pulumi.Config();
    const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
    const cvm4c8m = tencentcloud.getInstanceTypes({
        excludeSoldOut: true,
        cpuCoreCount: 4,
        memorySize: 8,
        filters: [
            {
                name: "instance-charge-type",
                values: ["POSTPAID_BY_HOUR"],
            },
            {
                name: "zone",
                values: [availabilityZone],
            },
        ],
    });
    const emrVpc = new tencentcloud.Vpc("emrVpc", {cidrBlock: "10.0.0.0/16"});
    const emrSubnet = new tencentcloud.Subnet("emrSubnet", {
        availabilityZone: availabilityZone,
        vpcId: emrVpc.vpcId,
        cidrBlock: "10.0.20.0/28",
        isMulticast: false,
    });
    const emrSg = new tencentcloud.SecurityGroup("emrSg", {
        description: "emr sg",
        projectId: 0,
    });
    const emrCluster = new tencentcloud.EmrCluster("emrCluster", {
        productId: 38,
        vpcSettings: {
            vpc_id: emrVpc.vpcId,
            subnet_id: emrSubnet.subnetId,
        },
        softwares: [
            "hdfs-2.8.5",
            "knox-1.6.1",
            "openldap-2.4.44",
            "yarn-2.8.5",
            "zookeeper-3.6.3",
        ],
        supportHa: 0,
        instanceName: "emr-cluster-test",
        resourceSpec: {
            masterResourceSpec: {
                memSize: 8192,
                cpu: 4,
                diskSize: 100,
                diskType: "CLOUD_PREMIUM",
                spec: cvm4c8m.then(cvm4c8m => `CVM.${cvm4c8m.instanceTypes?.[0]?.family}`),
                storageType: 5,
                rootSize: 50,
            },
            coreResourceSpec: {
                memSize: 8192,
                cpu: 4,
                diskSize: 100,
                diskType: "CLOUD_PREMIUM",
                spec: cvm4c8m.then(cvm4c8m => `CVM.${cvm4c8m.instanceTypes?.[0]?.family}`),
                storageType: 5,
                rootSize: 50,
            },
            masterCount: 1,
            coreCount: 2,
        },
        loginSettings: {
            password: "Tencent@cloud123",
        },
        timeSpan: 3600,
        timeUnit: "s",
        payMode: 0,
        placementInfo: {
            zone: availabilityZone,
            projectId: 0,
        },
        sgId: emrSg.securityGroupId,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    config = pulumi.Config()
    availability_zone = config.get("availabilityZone")
    if availability_zone is None:
        availability_zone = "ap-guangzhou-3"
    cvm4c8m = tencentcloud.get_instance_types(exclude_sold_out=True,
        cpu_core_count=4,
        memory_size=8,
        filters=[
            {
                "name": "instance-charge-type",
                "values": ["POSTPAID_BY_HOUR"],
            },
            {
                "name": "zone",
                "values": [availability_zone],
            },
        ])
    emr_vpc = tencentcloud.Vpc("emrVpc", cidr_block="10.0.0.0/16")
    emr_subnet = tencentcloud.Subnet("emrSubnet",
        availability_zone=availability_zone,
        vpc_id=emr_vpc.vpc_id,
        cidr_block="10.0.20.0/28",
        is_multicast=False)
    emr_sg = tencentcloud.SecurityGroup("emrSg",
        description="emr sg",
        project_id=0)
    emr_cluster = tencentcloud.EmrCluster("emrCluster",
        product_id=38,
        vpc_settings={
            "vpc_id": emr_vpc.vpc_id,
            "subnet_id": emr_subnet.subnet_id,
        },
        softwares=[
            "hdfs-2.8.5",
            "knox-1.6.1",
            "openldap-2.4.44",
            "yarn-2.8.5",
            "zookeeper-3.6.3",
        ],
        support_ha=0,
        instance_name="emr-cluster-test",
        resource_spec={
            "master_resource_spec": {
                "mem_size": 8192,
                "cpu": 4,
                "disk_size": 100,
                "disk_type": "CLOUD_PREMIUM",
                "spec": f"CVM.{cvm4c8m.instance_types[0].family}",
                "storage_type": 5,
                "root_size": 50,
            },
            "core_resource_spec": {
                "mem_size": 8192,
                "cpu": 4,
                "disk_size": 100,
                "disk_type": "CLOUD_PREMIUM",
                "spec": f"CVM.{cvm4c8m.instance_types[0].family}",
                "storage_type": 5,
                "root_size": 50,
            },
            "master_count": 1,
            "core_count": 2,
        },
        login_settings={
            "password": "Tencent@cloud123",
        },
        time_span=3600,
        time_unit="s",
        pay_mode=0,
        placement_info={
            "zone": availability_zone,
            "project_id": 0,
        },
        sg_id=emr_sg.security_group_id)
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		availabilityZone := "ap-guangzhou-3"
    		if param := cfg.Get("availabilityZone"); param != "" {
    			availabilityZone = param
    		}
    		cvm4c8m, err := tencentcloud.GetInstanceTypes(ctx, &tencentcloud.GetInstanceTypesArgs{
    			ExcludeSoldOut: pulumi.BoolRef(true),
    			CpuCoreCount:   pulumi.Float64Ref(4),
    			MemorySize:     pulumi.Float64Ref(8),
    			Filters: []tencentcloud.GetInstanceTypesFilter{
    				{
    					Name: "instance-charge-type",
    					Values: []string{
    						"POSTPAID_BY_HOUR",
    					},
    				},
    				{
    					Name: "zone",
    					Values: []string{
    						availabilityZone,
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		emrVpc, err := tencentcloud.NewVpc(ctx, "emrVpc", &tencentcloud.VpcArgs{
    			CidrBlock: pulumi.String("10.0.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		emrSubnet, err := tencentcloud.NewSubnet(ctx, "emrSubnet", &tencentcloud.SubnetArgs{
    			AvailabilityZone: pulumi.String(availabilityZone),
    			VpcId:            emrVpc.VpcId,
    			CidrBlock:        pulumi.String("10.0.20.0/28"),
    			IsMulticast:      pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		emrSg, err := tencentcloud.NewSecurityGroup(ctx, "emrSg", &tencentcloud.SecurityGroupArgs{
    			Description: pulumi.String("emr sg"),
    			ProjectId:   pulumi.Float64(0),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewEmrCluster(ctx, "emrCluster", &tencentcloud.EmrClusterArgs{
    			ProductId: pulumi.Float64(38),
    			VpcSettings: pulumi.StringMap{
    				"vpc_id":    emrVpc.VpcId,
    				"subnet_id": emrSubnet.SubnetId,
    			},
    			Softwares: pulumi.StringArray{
    				pulumi.String("hdfs-2.8.5"),
    				pulumi.String("knox-1.6.1"),
    				pulumi.String("openldap-2.4.44"),
    				pulumi.String("yarn-2.8.5"),
    				pulumi.String("zookeeper-3.6.3"),
    			},
    			SupportHa:    pulumi.Float64(0),
    			InstanceName: pulumi.String("emr-cluster-test"),
    			ResourceSpec: &tencentcloud.EmrClusterResourceSpecArgs{
    				MasterResourceSpec: &tencentcloud.EmrClusterResourceSpecMasterResourceSpecArgs{
    					MemSize:     pulumi.Float64(8192),
    					Cpu:         pulumi.Float64(4),
    					DiskSize:    pulumi.Float64(100),
    					DiskType:    pulumi.String("CLOUD_PREMIUM"),
    					Spec:        pulumi.Sprintf("CVM.%v", cvm4c8m.InstanceTypes[0].Family),
    					StorageType: pulumi.Float64(5),
    					RootSize:    pulumi.Float64(50),
    				},
    				CoreResourceSpec: &tencentcloud.EmrClusterResourceSpecCoreResourceSpecArgs{
    					MemSize:     pulumi.Float64(8192),
    					Cpu:         pulumi.Float64(4),
    					DiskSize:    pulumi.Float64(100),
    					DiskType:    pulumi.String("CLOUD_PREMIUM"),
    					Spec:        pulumi.Sprintf("CVM.%v", cvm4c8m.InstanceTypes[0].Family),
    					StorageType: pulumi.Float64(5),
    					RootSize:    pulumi.Float64(50),
    				},
    				MasterCount: pulumi.Float64(1),
    				CoreCount:   pulumi.Float64(2),
    			},
    			LoginSettings: pulumi.StringMap{
    				"password": pulumi.String("Tencent@cloud123"),
    			},
    			TimeSpan: pulumi.Float64(3600),
    			TimeUnit: pulumi.String("s"),
    			PayMode:  pulumi.Float64(0),
    			PlacementInfo: &tencentcloud.EmrClusterPlacementInfoArgs{
    				Zone:      pulumi.String(availabilityZone),
    				ProjectId: pulumi.Float64(0),
    			},
    			SgId: emrSg.SecurityGroupId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
        var cvm4c8m = Tencentcloud.GetInstanceTypes.Invoke(new()
        {
            ExcludeSoldOut = true,
            CpuCoreCount = 4,
            MemorySize = 8,
            Filters = new[]
            {
                new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
                {
                    Name = "instance-charge-type",
                    Values = new[]
                    {
                        "POSTPAID_BY_HOUR",
                    },
                },
                new Tencentcloud.Inputs.GetInstanceTypesFilterInputArgs
                {
                    Name = "zone",
                    Values = new[]
                    {
                        availabilityZone,
                    },
                },
            },
        });
    
        var emrVpc = new Tencentcloud.Vpc("emrVpc", new()
        {
            CidrBlock = "10.0.0.0/16",
        });
    
        var emrSubnet = new Tencentcloud.Subnet("emrSubnet", new()
        {
            AvailabilityZone = availabilityZone,
            VpcId = emrVpc.VpcId,
            CidrBlock = "10.0.20.0/28",
            IsMulticast = false,
        });
    
        var emrSg = new Tencentcloud.SecurityGroup("emrSg", new()
        {
            Description = "emr sg",
            ProjectId = 0,
        });
    
        var emrCluster = new Tencentcloud.EmrCluster("emrCluster", new()
        {
            ProductId = 38,
            VpcSettings = 
            {
                { "vpc_id", emrVpc.VpcId },
                { "subnet_id", emrSubnet.SubnetId },
            },
            Softwares = new[]
            {
                "hdfs-2.8.5",
                "knox-1.6.1",
                "openldap-2.4.44",
                "yarn-2.8.5",
                "zookeeper-3.6.3",
            },
            SupportHa = 0,
            InstanceName = "emr-cluster-test",
            ResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecArgs
            {
                MasterResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecMasterResourceSpecArgs
                {
                    MemSize = 8192,
                    Cpu = 4,
                    DiskSize = 100,
                    DiskType = "CLOUD_PREMIUM",
                    Spec = $"CVM.{cvm4c8m.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Family)}",
                    StorageType = 5,
                    RootSize = 50,
                },
                CoreResourceSpec = new Tencentcloud.Inputs.EmrClusterResourceSpecCoreResourceSpecArgs
                {
                    MemSize = 8192,
                    Cpu = 4,
                    DiskSize = 100,
                    DiskType = "CLOUD_PREMIUM",
                    Spec = $"CVM.{cvm4c8m.Apply(getInstanceTypesResult => getInstanceTypesResult.InstanceTypes[0]?.Family)}",
                    StorageType = 5,
                    RootSize = 50,
                },
                MasterCount = 1,
                CoreCount = 2,
            },
            LoginSettings = 
            {
                { "password", "Tencent@cloud123" },
            },
            TimeSpan = 3600,
            TimeUnit = "s",
            PayMode = 0,
            PlacementInfo = new Tencentcloud.Inputs.EmrClusterPlacementInfoArgs
            {
                Zone = availabilityZone,
                ProjectId = 0,
            },
            SgId = emrSg.SecurityGroupId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetInstanceTypesArgs;
    import com.pulumi.tencentcloud.Vpc;
    import com.pulumi.tencentcloud.VpcArgs;
    import com.pulumi.tencentcloud.Subnet;
    import com.pulumi.tencentcloud.SubnetArgs;
    import com.pulumi.tencentcloud.SecurityGroup;
    import com.pulumi.tencentcloud.SecurityGroupArgs;
    import com.pulumi.tencentcloud.EmrCluster;
    import com.pulumi.tencentcloud.EmrClusterArgs;
    import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecArgs;
    import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecMasterResourceSpecArgs;
    import com.pulumi.tencentcloud.inputs.EmrClusterResourceSpecCoreResourceSpecArgs;
    import com.pulumi.tencentcloud.inputs.EmrClusterPlacementInfoArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
            final var cvm4c8m = TencentcloudFunctions.getInstanceTypes(GetInstanceTypesArgs.builder()
                .excludeSoldOut(true)
                .cpuCoreCount(4)
                .memorySize(8)
                .filters(            
                    GetInstanceTypesFilterArgs.builder()
                        .name("instance-charge-type")
                        .values("POSTPAID_BY_HOUR")
                        .build(),
                    GetInstanceTypesFilterArgs.builder()
                        .name("zone")
                        .values(availabilityZone)
                        .build())
                .build());
    
            var emrVpc = new Vpc("emrVpc", VpcArgs.builder()
                .cidrBlock("10.0.0.0/16")
                .build());
    
            var emrSubnet = new Subnet("emrSubnet", SubnetArgs.builder()
                .availabilityZone(availabilityZone)
                .vpcId(emrVpc.vpcId())
                .cidrBlock("10.0.20.0/28")
                .isMulticast(false)
                .build());
    
            var emrSg = new SecurityGroup("emrSg", SecurityGroupArgs.builder()
                .description("emr sg")
                .projectId(0)
                .build());
    
            var emrCluster = new EmrCluster("emrCluster", EmrClusterArgs.builder()
                .productId(38)
                .vpcSettings(Map.ofEntries(
                    Map.entry("vpc_id", emrVpc.vpcId()),
                    Map.entry("subnet_id", emrSubnet.subnetId())
                ))
                .softwares(            
                    "hdfs-2.8.5",
                    "knox-1.6.1",
                    "openldap-2.4.44",
                    "yarn-2.8.5",
                    "zookeeper-3.6.3")
                .supportHa(0)
                .instanceName("emr-cluster-test")
                .resourceSpec(EmrClusterResourceSpecArgs.builder()
                    .masterResourceSpec(EmrClusterResourceSpecMasterResourceSpecArgs.builder()
                        .memSize(8192)
                        .cpu(4)
                        .diskSize(100)
                        .diskType("CLOUD_PREMIUM")
                        .spec(String.format("CVM.%s", cvm4c8m.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].family())))
                        .storageType(5)
                        .rootSize(50)
                        .build())
                    .coreResourceSpec(EmrClusterResourceSpecCoreResourceSpecArgs.builder()
                        .memSize(8192)
                        .cpu(4)
                        .diskSize(100)
                        .diskType("CLOUD_PREMIUM")
                        .spec(String.format("CVM.%s", cvm4c8m.applyValue(getInstanceTypesResult -> getInstanceTypesResult.instanceTypes()[0].family())))
                        .storageType(5)
                        .rootSize(50)
                        .build())
                    .masterCount(1)
                    .coreCount(2)
                    .build())
                .loginSettings(Map.of("password", "Tencent@cloud123"))
                .timeSpan(3600)
                .timeUnit("s")
                .payMode(0)
                .placementInfo(EmrClusterPlacementInfoArgs.builder()
                    .zone(availabilityZone)
                    .projectId(0)
                    .build())
                .sgId(emrSg.securityGroupId())
                .build());
    
        }
    }
    
    configuration:
      availabilityZone:
        type: string
        default: ap-guangzhou-3
    resources:
      emrVpc:
        type: tencentcloud:Vpc
        properties:
          cidrBlock: 10.0.0.0/16
      emrSubnet:
        type: tencentcloud:Subnet
        properties:
          availabilityZone: ${availabilityZone}
          vpcId: ${emrVpc.vpcId}
          cidrBlock: 10.0.20.0/28
          isMulticast: false
      emrSg:
        type: tencentcloud:SecurityGroup
        properties:
          description: emr sg
          projectId: 0
      emrCluster:
        type: tencentcloud:EmrCluster
        properties:
          productId: 38
          vpcSettings:
            vpc_id: ${emrVpc.vpcId}
            subnet_id: ${emrSubnet.subnetId}
          softwares:
            - hdfs-2.8.5
            - knox-1.6.1
            - openldap-2.4.44
            - yarn-2.8.5
            - zookeeper-3.6.3
          supportHa: 0
          instanceName: emr-cluster-test
          resourceSpec:
            masterResourceSpec:
              memSize: 8192
              cpu: 4
              diskSize: 100
              diskType: CLOUD_PREMIUM
              spec: CVM.${cvm4c8m.instanceTypes[0].family}
              storageType: 5
              rootSize: 50
            coreResourceSpec:
              memSize: 8192
              cpu: 4
              diskSize: 100
              diskType: CLOUD_PREMIUM
              spec: CVM.${cvm4c8m.instanceTypes[0].family}
              storageType: 5
              rootSize: 50
            masterCount: 1
            coreCount: 2
          loginSettings:
            password: Tencent@cloud123
          timeSpan: 3600
          timeUnit: s
          payMode: 0
          placementInfo:
            zone: ${availabilityZone}
            projectId: 0
          sgId: ${emrSg.securityGroupId}
    variables:
      cvm4c8m:
        fn::invoke:
          function: tencentcloud:getInstanceTypes
          arguments:
            excludeSoldOut: true
            cpuCoreCount: 4
            memorySize: 8
            filters:
              - name: instance-charge-type
                values:
                  - POSTPAID_BY_HOUR
              - name: zone
                values:
                  - ${availabilityZone}
    

    Create EmrCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EmrCluster(name: string, args: EmrClusterArgs, opts?: CustomResourceOptions);
    @overload
    def EmrCluster(resource_name: str,
                   args: EmrClusterArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EmrCluster(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   pay_mode: Optional[float] = None,
                   vpc_settings: Optional[Mapping[str, str]] = None,
                   support_ha: Optional[float] = None,
                   softwares: Optional[Sequence[str]] = None,
                   instance_name: Optional[str] = None,
                   product_id: Optional[float] = None,
                   login_settings: Optional[Mapping[str, str]] = None,
                   scene_name: Optional[str] = None,
                   placement: Optional[Mapping[str, str]] = None,
                   placement_info: Optional[EmrClusterPlacementInfoArgs] = None,
                   pre_executed_file_settings: Optional[Sequence[EmrClusterPreExecutedFileSettingArgs]] = None,
                   auto_renew: Optional[float] = None,
                   resource_spec: Optional[EmrClusterResourceSpecArgs] = None,
                   need_master_wan: Optional[str] = None,
                   sg_id: Optional[str] = None,
                   extend_fs_field: Optional[str] = None,
                   emr_cluster_id: Optional[str] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   terminate_node_infos: Optional[Sequence[EmrClusterTerminateNodeInfoArgs]] = None,
                   time_span: Optional[float] = None,
                   time_unit: Optional[str] = None,
                   display_strategy: Optional[str] = None)
    func NewEmrCluster(ctx *Context, name string, args EmrClusterArgs, opts ...ResourceOption) (*EmrCluster, error)
    public EmrCluster(string name, EmrClusterArgs args, CustomResourceOptions? opts = null)
    public EmrCluster(String name, EmrClusterArgs args)
    public EmrCluster(String name, EmrClusterArgs args, CustomResourceOptions options)
    
    type: tencentcloud:EmrCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EmrClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EmrClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EmrClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmrClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmrClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EmrCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EmrCluster resource accepts the following input properties:

    InstanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    PayMode double
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    ProductId double
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    Softwares List<string>
    The softwares of a EMR instance.
    SupportHa double
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    VpcSettings Dictionary<string, string>
    The private net config of EMR instance.
    AutoRenew double
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    DisplayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    EmrClusterId string
    ID of the resource.
    ExtendFsField string
    Access the external file system.
    LoginSettings Dictionary<string, string>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    NeedMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    Placement Dictionary<string, string>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    PlacementInfo EmrClusterPlacementInfo
    The location of the instance.
    PreExecutedFileSettings List<EmrClusterPreExecutedFileSetting>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    ResourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    SceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    SgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    Tags Dictionary<string, string>
    Tag description list.
    TerminateNodeInfos List<EmrClusterTerminateNodeInfo>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    TimeSpan double
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    TimeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    InstanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    PayMode float64
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    ProductId float64
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    Softwares []string
    The softwares of a EMR instance.
    SupportHa float64
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    VpcSettings map[string]string
    The private net config of EMR instance.
    AutoRenew float64
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    DisplayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    EmrClusterId string
    ID of the resource.
    ExtendFsField string
    Access the external file system.
    LoginSettings map[string]string
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    NeedMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    Placement map[string]string
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    PlacementInfo EmrClusterPlacementInfoArgs
    The location of the instance.
    PreExecutedFileSettings []EmrClusterPreExecutedFileSettingArgs
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    ResourceSpec EmrClusterResourceSpecArgs
    Resource specification of EMR instance.
    SceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    SgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    Tags map[string]string
    Tag description list.
    TerminateNodeInfos []EmrClusterTerminateNodeInfoArgs
    Terminate nodes. Note: it only works when the number of nodes decreases.
    TimeSpan float64
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    TimeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    instanceName String
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    payMode Double
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    productId Double
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    softwares List<String>
    The softwares of a EMR instance.
    supportHa Double
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    vpcSettings Map<String,String>
    The private net config of EMR instance.
    autoRenew Double
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy String
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId String
    ID of the resource.
    extendFsField String
    Access the external file system.
    loginSettings Map<String,String>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan String
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    placement Map<String,String>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo EmrClusterPlacementInfo
    The location of the instance.
    preExecutedFileSettings List<EmrClusterPreExecutedFileSetting>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    resourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    sceneName String
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId String
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    tags Map<String,String>
    Tag description list.
    terminateNodeInfos List<EmrClusterTerminateNodeInfo>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan Double
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit String
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    instanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    payMode number
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    productId number
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    softwares string[]
    The softwares of a EMR instance.
    supportHa number
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    vpcSettings {[key: string]: string}
    The private net config of EMR instance.
    autoRenew number
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId string
    ID of the resource.
    extendFsField string
    Access the external file system.
    loginSettings {[key: string]: string}
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    placement {[key: string]: string}
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo EmrClusterPlacementInfo
    The location of the instance.
    preExecutedFileSettings EmrClusterPreExecutedFileSetting[]
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    resourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    sceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    tags {[key: string]: string}
    Tag description list.
    terminateNodeInfos EmrClusterTerminateNodeInfo[]
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan number
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    instance_name str
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    pay_mode float
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    product_id float
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    softwares Sequence[str]
    The softwares of a EMR instance.
    support_ha float
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    vpc_settings Mapping[str, str]
    The private net config of EMR instance.
    auto_renew float
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    display_strategy str
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emr_cluster_id str
    ID of the resource.
    extend_fs_field str
    Access the external file system.
    login_settings Mapping[str, str]
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    need_master_wan str
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    placement Mapping[str, str]
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placement_info EmrClusterPlacementInfoArgs
    The location of the instance.
    pre_executed_file_settings Sequence[EmrClusterPreExecutedFileSettingArgs]
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    resource_spec EmrClusterResourceSpecArgs
    Resource specification of EMR instance.
    scene_name str
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sg_id str
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    tags Mapping[str, str]
    Tag description list.
    terminate_node_infos Sequence[EmrClusterTerminateNodeInfoArgs]
    Terminate nodes. Note: it only works when the number of nodes decreases.
    time_span float
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    time_unit str
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    instanceName String
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    payMode Number
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    productId Number
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    softwares List<String>
    The softwares of a EMR instance.
    supportHa Number
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    vpcSettings Map<String>
    The private net config of EMR instance.
    autoRenew Number
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy String
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId String
    ID of the resource.
    extendFsField String
    Access the external file system.
    loginSettings Map<String>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan String
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    placement Map<String>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo Property Map
    The location of the instance.
    preExecutedFileSettings List<Property Map>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    resourceSpec Property Map
    Resource specification of EMR instance.
    sceneName String
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId String
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    tags Map<String>
    Tag description list.
    terminateNodeInfos List<Property Map>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan Number
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit String
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EmrCluster resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Created EMR instance id.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Created EMR instance id.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Created EMR instance id.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    Created EMR instance id.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    Created EMR instance id.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Created EMR instance id.

    Look up Existing EmrCluster Resource

    Get an existing EmrCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EmrClusterState, opts?: CustomResourceOptions): EmrCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[float] = None,
            display_strategy: Optional[str] = None,
            emr_cluster_id: Optional[str] = None,
            extend_fs_field: Optional[str] = None,
            instance_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            login_settings: Optional[Mapping[str, str]] = None,
            need_master_wan: Optional[str] = None,
            pay_mode: Optional[float] = None,
            placement: Optional[Mapping[str, str]] = None,
            placement_info: Optional[EmrClusterPlacementInfoArgs] = None,
            pre_executed_file_settings: Optional[Sequence[EmrClusterPreExecutedFileSettingArgs]] = None,
            product_id: Optional[float] = None,
            resource_spec: Optional[EmrClusterResourceSpecArgs] = None,
            scene_name: Optional[str] = None,
            sg_id: Optional[str] = None,
            softwares: Optional[Sequence[str]] = None,
            support_ha: Optional[float] = None,
            tags: Optional[Mapping[str, str]] = None,
            terminate_node_infos: Optional[Sequence[EmrClusterTerminateNodeInfoArgs]] = None,
            time_span: Optional[float] = None,
            time_unit: Optional[str] = None,
            vpc_settings: Optional[Mapping[str, str]] = None) -> EmrCluster
    func GetEmrCluster(ctx *Context, name string, id IDInput, state *EmrClusterState, opts ...ResourceOption) (*EmrCluster, error)
    public static EmrCluster Get(string name, Input<string> id, EmrClusterState? state, CustomResourceOptions? opts = null)
    public static EmrCluster get(String name, Output<String> id, EmrClusterState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:EmrCluster    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoRenew double
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    DisplayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    EmrClusterId string
    ID of the resource.
    ExtendFsField string
    Access the external file system.
    InstanceId string
    Created EMR instance id.
    InstanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    LoginSettings Dictionary<string, string>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    NeedMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    PayMode double
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    Placement Dictionary<string, string>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    PlacementInfo EmrClusterPlacementInfo
    The location of the instance.
    PreExecutedFileSettings List<EmrClusterPreExecutedFileSetting>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    ProductId double
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    ResourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    SceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    SgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    Softwares List<string>
    The softwares of a EMR instance.
    SupportHa double
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    Tags Dictionary<string, string>
    Tag description list.
    TerminateNodeInfos List<EmrClusterTerminateNodeInfo>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    TimeSpan double
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    TimeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    VpcSettings Dictionary<string, string>
    The private net config of EMR instance.
    AutoRenew float64
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    DisplayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    EmrClusterId string
    ID of the resource.
    ExtendFsField string
    Access the external file system.
    InstanceId string
    Created EMR instance id.
    InstanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    LoginSettings map[string]string
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    NeedMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    PayMode float64
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    Placement map[string]string
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    PlacementInfo EmrClusterPlacementInfoArgs
    The location of the instance.
    PreExecutedFileSettings []EmrClusterPreExecutedFileSettingArgs
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    ProductId float64
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    ResourceSpec EmrClusterResourceSpecArgs
    Resource specification of EMR instance.
    SceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    SgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    Softwares []string
    The softwares of a EMR instance.
    SupportHa float64
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    Tags map[string]string
    Tag description list.
    TerminateNodeInfos []EmrClusterTerminateNodeInfoArgs
    Terminate nodes. Note: it only works when the number of nodes decreases.
    TimeSpan float64
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    TimeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    VpcSettings map[string]string
    The private net config of EMR instance.
    autoRenew Double
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy String
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId String
    ID of the resource.
    extendFsField String
    Access the external file system.
    instanceId String
    Created EMR instance id.
    instanceName String
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    loginSettings Map<String,String>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan String
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    payMode Double
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    placement Map<String,String>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo EmrClusterPlacementInfo
    The location of the instance.
    preExecutedFileSettings List<EmrClusterPreExecutedFileSetting>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    productId Double
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    resourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    sceneName String
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId String
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    softwares List<String>
    The softwares of a EMR instance.
    supportHa Double
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    tags Map<String,String>
    Tag description list.
    terminateNodeInfos List<EmrClusterTerminateNodeInfo>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan Double
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit String
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    vpcSettings Map<String,String>
    The private net config of EMR instance.
    autoRenew number
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy string
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId string
    ID of the resource.
    extendFsField string
    Access the external file system.
    instanceId string
    Created EMR instance id.
    instanceName string
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    loginSettings {[key: string]: string}
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan string
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    payMode number
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    placement {[key: string]: string}
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo EmrClusterPlacementInfo
    The location of the instance.
    preExecutedFileSettings EmrClusterPreExecutedFileSetting[]
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    productId number
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    resourceSpec EmrClusterResourceSpec
    Resource specification of EMR instance.
    sceneName string
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId string
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    softwares string[]
    The softwares of a EMR instance.
    supportHa number
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    tags {[key: string]: string}
    Tag description list.
    terminateNodeInfos EmrClusterTerminateNodeInfo[]
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan number
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit string
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    vpcSettings {[key: string]: string}
    The private net config of EMR instance.
    auto_renew float
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    display_strategy str
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emr_cluster_id str
    ID of the resource.
    extend_fs_field str
    Access the external file system.
    instance_id str
    Created EMR instance id.
    instance_name str
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    login_settings Mapping[str, str]
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    need_master_wan str
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    pay_mode float
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    placement Mapping[str, str]
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placement_info EmrClusterPlacementInfoArgs
    The location of the instance.
    pre_executed_file_settings Sequence[EmrClusterPreExecutedFileSettingArgs]
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    product_id float
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    resource_spec EmrClusterResourceSpecArgs
    Resource specification of EMR instance.
    scene_name str
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sg_id str
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    softwares Sequence[str]
    The softwares of a EMR instance.
    support_ha float
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    tags Mapping[str, str]
    Tag description list.
    terminate_node_infos Sequence[EmrClusterTerminateNodeInfoArgs]
    Terminate nodes. Note: it only works when the number of nodes decreases.
    time_span float
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    time_unit str
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    vpc_settings Mapping[str, str]
    The private net config of EMR instance.
    autoRenew Number
    0 means turn off automatic renewal, 1 means turn on automatic renewal. Default is 0.
    displayStrategy String
    It will be deprecated in later versions. Display strategy of EMR instance.

    Deprecated: Deprecated

    emrClusterId String
    ID of the resource.
    extendFsField String
    Access the external file system.
    instanceId String
    Created EMR instance id.
    instanceName String
    Name of the instance, which can contain 6 to 36 English letters, Chinese characters, digits, dashes(-), or underscores(_).
    loginSettings Map<String>
    Instance login settings. There are two optional fields:- password: Instance login password: 8-16 characters, including uppercase letters, lowercase letters, numbers and special characters. Special symbols only support! @% ^ *. The first bit of the password cannot be a special character;- public_key_id: Public key id. After the key is associated, the instance can be accessed through the corresponding private key.
    needMasterWan String
    Whether to enable the cluster Master node public network. Value range:

    • NEED_MASTER_WAN: Indicates that the cluster Master node public network is enabled.
    • NOT_NEED_MASTER_WAN: Indicates that it is not turned on. By default, the cluster Master node internet is enabled.
    payMode Number
    The pay mode of instance. 0 represent POSTPAID_BY_HOUR, 1 represent PREPAID.
    placement Map<String>
    It will be deprecated in later versions. Use placement_info instead. The location of the instance.

    Deprecated: Deprecated

    placementInfo Property Map
    The location of the instance.
    preExecutedFileSettings List<Property Map>
    Pre executed file settings. It can only be set at the time of creation, and cannot be modified.
    productId Number
    Product ID. Different products ID represents different EMR product versions. Value range:

    • 16: represents EMR-V2.3.0
    • 20: represents EMR-V2.5.0
    • 25: represents EMR-V3.1.0
    • 27: represents KAFKA-V1.0.0
    • 30: represents EMR-V2.6.0
    • 33: represents EMR-V3.2.1
    • 34: represents EMR-V3.3.0
    • 37: represents EMR-V3.4.0
    • 38: represents EMR-V2.7.0
    • 44: represents EMR-V3.5.0
    • 50: represents KAFKA-V2.0.0
    • 51: represents STARROCKS-V1.4.0
    • 53: represents EMR-V3.6.0
    • 54: represents STARROCKS-V2.0.0.
    resourceSpec Property Map
    Resource specification of EMR instance.
    sceneName String
    Scene-based value:

    • Hadoop-Kudu
    • Hadoop-Zookeeper
    • Hadoop-Presto
    • Hadoop-Hbase.
    sgId String
    The ID of the security group to which the instance belongs, in the form of sg-xxxxxxxx.
    softwares List<String>
    The softwares of a EMR instance.
    supportHa Number
    The flag whether the instance support high availability.(0=>not support, 1=>support).
    tags Map<String>
    Tag description list.
    terminateNodeInfos List<Property Map>
    Terminate nodes. Note: it only works when the number of nodes decreases.
    timeSpan Number
    The length of time the instance was purchased. Use with TimeUnit.When TimeUnit is s, the parameter can only be filled in at 3600, representing a metered instance. When TimeUnit is m, the number filled in by this parameter indicates the length of purchase of the monthly instance of the package year, such as 1 for one month of purchase.
    timeUnit String
    The unit of time in which the instance was purchased. When PayMode is 0, TimeUnit can only take values of s(second). When PayMode is 1, TimeUnit can only take the value m(month).
    vpcSettings Map<String>
    The private net config of EMR instance.

    Supporting Types

    EmrClusterPlacementInfo, EmrClusterPlacementInfoArgs

    Zone string
    Zone.
    ProjectId double
    Project id.
    Zone string
    Zone.
    ProjectId float64
    Project id.
    zone String
    Zone.
    projectId Double
    Project id.
    zone string
    Zone.
    projectId number
    Project id.
    zone str
    Zone.
    project_id float
    Project id.
    zone String
    Zone.
    projectId Number
    Project id.

    EmrClusterPreExecutedFileSetting, EmrClusterPreExecutedFileSettingArgs

    Args List<string>
    Execution script parameters.
    CosFileName string
    Script file name.
    CosFileUri string
    The cos address of the script.
    CosSecretId string
    Cos secretId.
    CosSecretKey string
    Cos secretKey.
    Remark string
    Remark.
    RunOrder double
    Run order.
    WhenRun string
    resourceAfter or clusterAfter.
    Args []string
    Execution script parameters.
    CosFileName string
    Script file name.
    CosFileUri string
    The cos address of the script.
    CosSecretId string
    Cos secretId.
    CosSecretKey string
    Cos secretKey.
    Remark string
    Remark.
    RunOrder float64
    Run order.
    WhenRun string
    resourceAfter or clusterAfter.
    args List<String>
    Execution script parameters.
    cosFileName String
    Script file name.
    cosFileUri String
    The cos address of the script.
    cosSecretId String
    Cos secretId.
    cosSecretKey String
    Cos secretKey.
    remark String
    Remark.
    runOrder Double
    Run order.
    whenRun String
    resourceAfter or clusterAfter.
    args string[]
    Execution script parameters.
    cosFileName string
    Script file name.
    cosFileUri string
    The cos address of the script.
    cosSecretId string
    Cos secretId.
    cosSecretKey string
    Cos secretKey.
    remark string
    Remark.
    runOrder number
    Run order.
    whenRun string
    resourceAfter or clusterAfter.
    args Sequence[str]
    Execution script parameters.
    cos_file_name str
    Script file name.
    cos_file_uri str
    The cos address of the script.
    cos_secret_id str
    Cos secretId.
    cos_secret_key str
    Cos secretKey.
    remark str
    Remark.
    run_order float
    Run order.
    when_run str
    resourceAfter or clusterAfter.
    args List<String>
    Execution script parameters.
    cosFileName String
    Script file name.
    cosFileUri String
    The cos address of the script.
    cosSecretId String
    Cos secretId.
    cosSecretKey String
    Cos secretKey.
    remark String
    Remark.
    runOrder Number
    Run order.
    whenRun String
    resourceAfter or clusterAfter.

    EmrClusterResourceSpec, EmrClusterResourceSpecArgs

    CommonCount double
    The number of common node.
    CommonResourceSpec EmrClusterResourceSpecCommonResourceSpec
    Resource details.
    CoreCount double
    The number of core node.
    CoreResourceSpec EmrClusterResourceSpecCoreResourceSpec
    Resource details.
    MasterCount double
    The number of master node.
    MasterResourceSpec EmrClusterResourceSpecMasterResourceSpec
    Resource details.
    TaskCount double
    The number of core node.
    TaskResourceSpec EmrClusterResourceSpecTaskResourceSpec
    Resource details.
    CommonCount float64
    The number of common node.
    CommonResourceSpec EmrClusterResourceSpecCommonResourceSpec
    Resource details.
    CoreCount float64
    The number of core node.
    CoreResourceSpec EmrClusterResourceSpecCoreResourceSpec
    Resource details.
    MasterCount float64
    The number of master node.
    MasterResourceSpec EmrClusterResourceSpecMasterResourceSpec
    Resource details.
    TaskCount float64
    The number of core node.
    TaskResourceSpec EmrClusterResourceSpecTaskResourceSpec
    Resource details.
    commonCount Double
    The number of common node.
    commonResourceSpec EmrClusterResourceSpecCommonResourceSpec
    Resource details.
    coreCount Double
    The number of core node.
    coreResourceSpec EmrClusterResourceSpecCoreResourceSpec
    Resource details.
    masterCount Double
    The number of master node.
    masterResourceSpec EmrClusterResourceSpecMasterResourceSpec
    Resource details.
    taskCount Double
    The number of core node.
    taskResourceSpec EmrClusterResourceSpecTaskResourceSpec
    Resource details.
    commonCount number
    The number of common node.
    commonResourceSpec EmrClusterResourceSpecCommonResourceSpec
    Resource details.
    coreCount number
    The number of core node.
    coreResourceSpec EmrClusterResourceSpecCoreResourceSpec
    Resource details.
    masterCount number
    The number of master node.
    masterResourceSpec EmrClusterResourceSpecMasterResourceSpec
    Resource details.
    taskCount number
    The number of core node.
    taskResourceSpec EmrClusterResourceSpecTaskResourceSpec
    Resource details.
    common_count float
    The number of common node.
    common_resource_spec EmrClusterResourceSpecCommonResourceSpec
    Resource details.
    core_count float
    The number of core node.
    core_resource_spec EmrClusterResourceSpecCoreResourceSpec
    Resource details.
    master_count float
    The number of master node.
    master_resource_spec EmrClusterResourceSpecMasterResourceSpec
    Resource details.
    task_count float
    The number of core node.
    task_resource_spec EmrClusterResourceSpecTaskResourceSpec
    Resource details.
    commonCount Number
    The number of common node.
    commonResourceSpec Property Map
    Resource details.
    coreCount Number
    The number of core node.
    coreResourceSpec Property Map
    Resource details.
    masterCount Number
    The number of master node.
    masterResourceSpec Property Map
    Resource details.
    taskCount Number
    The number of core node.
    taskResourceSpec Property Map
    Resource details.

    EmrClusterResourceSpecCommonResourceSpec, EmrClusterResourceSpecCommonResourceSpecArgs

    Cpu double
    Number of CPU cores.
    DiskSize double
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize double
    Memory size in M.
    MultiDisks List<EmrClusterResourceSpecCommonResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize double
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    Cpu float64
    Number of CPU cores.
    DiskSize float64
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize float64
    Memory size in M.
    MultiDisks []EmrClusterResourceSpecCommonResourceSpecMultiDisk
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize float64
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType float64
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Double
    Number of CPU cores.
    diskSize Double
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Double
    Memory size in M.
    multiDisks List<EmrClusterResourceSpecCommonResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Double
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu number
    Number of CPU cores.
    diskSize number
    Data disk capacity.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize number
    Memory size in M.
    multiDisks EmrClusterResourceSpecCommonResourceSpecMultiDisk[]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize number
    Root disk capacity.
    spec string
    Node specification description, such as CVM.SA2.
    storageType number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu float
    Number of CPU cores.
    disk_size float
    Data disk capacity.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    mem_size float
    Memory size in M.
    multi_disks Sequence[EmrClusterResourceSpecCommonResourceSpecMultiDisk]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    root_size float
    Root disk capacity.
    spec str
    Node specification description, such as CVM.SA2.
    storage_type float
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Number
    Number of CPU cores.
    diskSize Number
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Number
    Memory size in M.
    multiDisks List<Property Map>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Number
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.

    EmrClusterResourceSpecCommonResourceSpecMultiDisk, EmrClusterResourceSpecCommonResourceSpecMultiDiskArgs

    Count double
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume double
    Cloud disk size.
    Count float64
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume float64
    Cloud disk size.
    count Double
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Double
    Cloud disk size.
    count number
    Number of cloud disks of this type.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume number
    Cloud disk size.
    count float
    Number of cloud disks of this type.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume float
    Cloud disk size.
    count Number
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Number
    Cloud disk size.

    EmrClusterResourceSpecCoreResourceSpec, EmrClusterResourceSpecCoreResourceSpecArgs

    Cpu double
    Number of CPU cores.
    DiskSize double
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize double
    Memory size in M.
    MultiDisks List<EmrClusterResourceSpecCoreResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize double
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    Cpu float64
    Number of CPU cores.
    DiskSize float64
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize float64
    Memory size in M.
    MultiDisks []EmrClusterResourceSpecCoreResourceSpecMultiDisk
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize float64
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType float64
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Double
    Number of CPU cores.
    diskSize Double
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Double
    Memory size in M.
    multiDisks List<EmrClusterResourceSpecCoreResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Double
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu number
    Number of CPU cores.
    diskSize number
    Data disk capacity.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize number
    Memory size in M.
    multiDisks EmrClusterResourceSpecCoreResourceSpecMultiDisk[]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize number
    Root disk capacity.
    spec string
    Node specification description, such as CVM.SA2.
    storageType number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu float
    Number of CPU cores.
    disk_size float
    Data disk capacity.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    mem_size float
    Memory size in M.
    multi_disks Sequence[EmrClusterResourceSpecCoreResourceSpecMultiDisk]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    root_size float
    Root disk capacity.
    spec str
    Node specification description, such as CVM.SA2.
    storage_type float
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Number
    Number of CPU cores.
    diskSize Number
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Number
    Memory size in M.
    multiDisks List<Property Map>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Number
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.

    EmrClusterResourceSpecCoreResourceSpecMultiDisk, EmrClusterResourceSpecCoreResourceSpecMultiDiskArgs

    Count double
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume double
    Cloud disk size.
    Count float64
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume float64
    Cloud disk size.
    count Double
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Double
    Cloud disk size.
    count number
    Number of cloud disks of this type.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume number
    Cloud disk size.
    count float
    Number of cloud disks of this type.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume float
    Cloud disk size.
    count Number
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Number
    Cloud disk size.

    EmrClusterResourceSpecMasterResourceSpec, EmrClusterResourceSpecMasterResourceSpecArgs

    Cpu double
    Number of CPU cores.
    DiskSize double
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize double
    Memory size in M.
    MultiDisks List<EmrClusterResourceSpecMasterResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize double
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    Cpu float64
    Number of CPU cores.
    DiskSize float64
    Data disk capacity.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    MemSize float64
    Memory size in M.
    MultiDisks []EmrClusterResourceSpecMasterResourceSpecMultiDisk
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize float64
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType float64
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Double
    Number of CPU cores.
    diskSize Double
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Double
    Memory size in M.
    multiDisks List<EmrClusterResourceSpecMasterResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Double
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu number
    Number of CPU cores.
    diskSize number
    Data disk capacity.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize number
    Memory size in M.
    multiDisks EmrClusterResourceSpecMasterResourceSpecMultiDisk[]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize number
    Root disk capacity.
    spec string
    Node specification description, such as CVM.SA2.
    storageType number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu float
    Number of CPU cores.
    disk_size float
    Data disk capacity.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    mem_size float
    Memory size in M.
    multi_disks Sequence[EmrClusterResourceSpecMasterResourceSpecMultiDisk]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    root_size float
    Root disk capacity.
    spec str
    Node specification description, such as CVM.SA2.
    storage_type float
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Number
    Number of CPU cores.
    diskSize Number
    Data disk capacity.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    memSize Number
    Memory size in M.
    multiDisks List<Property Map>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Number
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.

    EmrClusterResourceSpecMasterResourceSpecMultiDisk, EmrClusterResourceSpecMasterResourceSpecMultiDiskArgs

    Count double
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume double
    Cloud disk size.
    Count float64
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume float64
    Cloud disk size.
    count Double
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Double
    Cloud disk size.
    count number
    Number of cloud disks of this type.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume number
    Cloud disk size.
    count float
    Number of cloud disks of this type.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume float
    Cloud disk size.
    count Number
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Number
    Cloud disk size.

    EmrClusterResourceSpecTaskResourceSpec, EmrClusterResourceSpecTaskResourceSpecArgs

    Cpu double
    Number of CPU cores.
    DiskSize double
    Data disk capacity.
    DiskType string
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    MemSize double
    Memory size in M.
    MultiDisks List<EmrClusterResourceSpecTaskResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize double
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    Cpu float64
    Number of CPU cores.
    DiskSize float64
    Data disk capacity.
    DiskType string
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    MemSize float64
    Memory size in M.
    MultiDisks []EmrClusterResourceSpecTaskResourceSpecMultiDisk
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    RootSize float64
    Root disk capacity.
    Spec string
    Node specification description, such as CVM.SA2.
    StorageType float64
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Double
    Number of CPU cores.
    diskSize Double
    Data disk capacity.
    diskType String
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    memSize Double
    Memory size in M.
    multiDisks List<EmrClusterResourceSpecTaskResourceSpecMultiDisk>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Double
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Double
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu number
    Number of CPU cores.
    diskSize number
    Data disk capacity.
    diskType string
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    memSize number
    Memory size in M.
    multiDisks EmrClusterResourceSpecTaskResourceSpecMultiDisk[]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize number
    Root disk capacity.
    spec string
    Node specification description, such as CVM.SA2.
    storageType number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu float
    Number of CPU cores.
    disk_size float
    Data disk capacity.
    disk_type str
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    mem_size float
    Memory size in M.
    multi_disks Sequence[EmrClusterResourceSpecTaskResourceSpecMultiDisk]
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    root_size float
    Root disk capacity.
    spec str
    Node specification description, such as CVM.SA2.
    storage_type float
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.
    cpu Number
    Number of CPU cores.
    diskSize Number
    Data disk capacity.
    diskType String
    disk types. Value range:

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_BASIC: Represents Cloud Block Storage.
    memSize Number
    Memory size in M.
    multiDisks List<Property Map>
    Cloud disk list. When the data disk is a cloud disk, use disk_type and disk_size parameters directly, and use multi_disks for excess parts.
    rootSize Number
    Root disk capacity.
    spec String
    Node specification description, such as CVM.SA2.
    storageType Number
    Storage type. Value range:

    • 4: Represents cloud SSD;
    • 5: Represents efficient cloud disk;
    • 6: Represents enhanced SSD Cloud Block Storage;
    • 11: Represents throughput Cloud Block Storage;
    • 12: Represents extremely fast SSD Cloud Block Storage.

    EmrClusterResourceSpecTaskResourceSpecMultiDisk, EmrClusterResourceSpecTaskResourceSpecMultiDiskArgs

    Count double
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume double
    Cloud disk size.
    Count float64
    Number of cloud disks of this type.
    DiskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    Volume float64
    Cloud disk size.
    count Double
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Double
    Cloud disk size.
    count number
    Number of cloud disks of this type.
    diskType string
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume number
    Cloud disk size.
    count float
    Number of cloud disks of this type.
    disk_type str
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume float
    Cloud disk size.
    count Number
    Number of cloud disks of this type.
    diskType String
    Cloud disk type

    • CLOUD_SSD: Represents cloud SSD;
    • CLOUD_PREMIUM: Represents efficient cloud disk;
    • CLOUD_HSSD: Represents enhanced SSD Cloud Block Storage.
    volume Number
    Cloud disk size.

    EmrClusterTerminateNodeInfo, EmrClusterTerminateNodeInfoArgs

    CvmInstanceIds List<string>
    Destroy resource list.
    NodeFlag string
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.
    CvmInstanceIds []string
    Destroy resource list.
    NodeFlag string
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.
    cvmInstanceIds List<String>
    Destroy resource list.
    nodeFlag String
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.
    cvmInstanceIds string[]
    Destroy resource list.
    nodeFlag string
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.
    cvm_instance_ids Sequence[str]
    Destroy resource list.
    node_flag str
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.
    cvmInstanceIds List<String>
    Destroy resource list.
    nodeFlag String
    Value range of destruction node type: MASTER, TASK, CORE, ROUTER.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack