alicloud.emrv2.Cluster
Explore with Pulumi AI
Provides a EMR cluster resource. This resource is based on EMR’s new version OpenAPI.
For information about EMR New and how to use it, see Add a domain.
NOTE: Available since v1.199.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const default = alicloud.resourcemanager.getResourceGroups({
status: "OK",
});
const defaultGetKeys = alicloud.kms.getKeys({
status: "Enabled",
});
const defaultGetZones = alicloud.getZones({
availableInstanceType: "ecs.g7.xlarge",
});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: name,
cidrBlock: "172.16.0.0/12",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/21",
zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[0]?.id),
vswitchName: name,
});
const defaultInteger = new random.index.Integer("default", {
max: 99999,
min: 10000,
});
const defaultEcsKeyPair = new alicloud.ecs.EcsKeyPair("default", {keyPairName: `${name}-${defaultInteger.result}`});
const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("default", {
name: name,
vpcId: defaultNetwork.id,
});
const defaultRole = new alicloud.ram.Role("default", {
name: name,
document: ` {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"emr.aliyuncs.com",
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}
`,
description: "this is a role example.",
force: true,
});
const defaultCluster = new alicloud.emrv2.Cluster("default", {
nodeGroups: [
{
vswitchIds: [defaultSwitch.id],
instanceTypes: ["ecs.g7.xlarge"],
nodeCount: 1,
spotInstanceRemedy: false,
dataDisks: [{
count: 3,
category: "cloud_essd",
size: 80,
performanceLevel: "PL0",
}],
nodeGroupName: "emr-master",
paymentType: "PayAsYouGo",
withPublicIp: false,
gracefulShutdown: false,
systemDisk: {
category: "cloud_essd",
size: 80,
performanceLevel: "PL0",
count: 1,
},
nodeGroupType: "MASTER",
},
{
spotInstanceRemedy: false,
nodeGroupType: "CORE",
vswitchIds: [defaultSwitch.id],
nodeCount: 2,
gracefulShutdown: false,
systemDisk: {
performanceLevel: "PL0",
count: 1,
category: "cloud_essd",
size: 80,
},
dataDisks: [{
count: 3,
performanceLevel: "PL0",
category: "cloud_essd",
size: 80,
}],
nodeGroupName: "emr-core",
paymentType: "PayAsYouGo",
instanceTypes: ["ecs.g7.xlarge"],
withPublicIp: false,
},
],
deployMode: "NORMAL",
tags: {
Created: "TF",
For: "example",
},
releaseVersion: "EMR-5.10.0",
applications: [
"HADOOP-COMMON",
"HDFS",
"YARN",
],
nodeAttributes: [{
zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[0]?.id),
keyPairName: defaultEcsKeyPair.id,
dataDiskEncrypted: true,
dataDiskKmsKeyId: defaultGetKeys.then(defaultGetKeys => defaultGetKeys.ids?.[0]),
vpcId: defaultNetwork.id,
ramRole: defaultRole.name,
securityGroupId: defaultSecurityGroup.id,
}],
resourceGroupId: _default.then(_default => _default.ids?.[0]),
clusterName: name,
paymentType: "PayAsYouGo",
clusterType: "DATAFLOW",
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.resourcemanager.get_resource_groups(status="OK")
default_get_keys = alicloud.kms.get_keys(status="Enabled")
default_get_zones = alicloud.get_zones(available_instance_type="ecs.g7.xlarge")
default_network = alicloud.vpc.Network("default",
vpc_name=name,
cidr_block="172.16.0.0/12")
default_switch = alicloud.vpc.Switch("default",
vpc_id=default_network.id,
cidr_block="172.16.0.0/21",
zone_id=default_get_zones.zones[0].id,
vswitch_name=name)
default_integer = random.index.Integer("default",
max=99999,
min=10000)
default_ecs_key_pair = alicloud.ecs.EcsKeyPair("default", key_pair_name=f"{name}-{default_integer['result']}")
default_security_group = alicloud.ecs.SecurityGroup("default",
name=name,
vpc_id=default_network.id)
default_role = alicloud.ram.Role("default",
name=name,
document=""" {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"emr.aliyuncs.com",
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}
""",
description="this is a role example.",
force=True)
default_cluster = alicloud.emrv2.Cluster("default",
node_groups=[
{
"vswitch_ids": [default_switch.id],
"instance_types": ["ecs.g7.xlarge"],
"node_count": 1,
"spot_instance_remedy": False,
"data_disks": [{
"count": 3,
"category": "cloud_essd",
"size": 80,
"performance_level": "PL0",
}],
"node_group_name": "emr-master",
"payment_type": "PayAsYouGo",
"with_public_ip": False,
"graceful_shutdown": False,
"system_disk": {
"category": "cloud_essd",
"size": 80,
"performance_level": "PL0",
"count": 1,
},
"node_group_type": "MASTER",
},
{
"spot_instance_remedy": False,
"node_group_type": "CORE",
"vswitch_ids": [default_switch.id],
"node_count": 2,
"graceful_shutdown": False,
"system_disk": {
"performance_level": "PL0",
"count": 1,
"category": "cloud_essd",
"size": 80,
},
"data_disks": [{
"count": 3,
"performance_level": "PL0",
"category": "cloud_essd",
"size": 80,
}],
"node_group_name": "emr-core",
"payment_type": "PayAsYouGo",
"instance_types": ["ecs.g7.xlarge"],
"with_public_ip": False,
},
],
deploy_mode="NORMAL",
tags={
"Created": "TF",
"For": "example",
},
release_version="EMR-5.10.0",
applications=[
"HADOOP-COMMON",
"HDFS",
"YARN",
],
node_attributes=[{
"zone_id": default_get_zones.zones[0].id,
"key_pair_name": default_ecs_key_pair.id,
"data_disk_encrypted": True,
"data_disk_kms_key_id": default_get_keys.ids[0],
"vpc_id": default_network.id,
"ram_role": default_role.name,
"security_group_id": default_security_group.id,
}],
resource_group_id=default.ids[0],
cluster_name=name,
payment_type="PayAsYouGo",
cluster_type="DATAFLOW")
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/emrv2"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/kms"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"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, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
Status: pulumi.StringRef("OK"),
}, nil)
if err != nil {
return err
}
defaultGetKeys, err := kms.GetKeys(ctx, &kms.GetKeysArgs{
Status: pulumi.StringRef("Enabled"),
}, nil)
if err != nil {
return err
}
defaultGetZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableInstanceType: pulumi.StringRef("ecs.g7.xlarge"),
}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("172.16.0.0/12"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/21"),
ZoneId: pulumi.String(defaultGetZones.Zones[0].Id),
VswitchName: pulumi.String(name),
})
if err != nil {
return err
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Max: 99999,
Min: 10000,
})
if err != nil {
return err
}
defaultEcsKeyPair, err := ecs.NewEcsKeyPair(ctx, "default", &ecs.EcsKeyPairArgs{
KeyPairName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
})
if err != nil {
return err
}
defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "default", &ecs.SecurityGroupArgs{
Name: pulumi.String(name),
VpcId: defaultNetwork.ID(),
})
if err != nil {
return err
}
defaultRole, err := ram.NewRole(ctx, "default", &ram.RoleArgs{
Name: pulumi.String(name),
Document: pulumi.String(` {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"emr.aliyuncs.com",
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}
`),
Description: pulumi.String("this is a role example."),
Force: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = emrv2.NewCluster(ctx, "default", &emrv2.ClusterArgs{
NodeGroups: emrv2.ClusterNodeGroupArray{
&emrv2.ClusterNodeGroupArgs{
VswitchIds: pulumi.StringArray{
defaultSwitch.ID(),
},
InstanceTypes: pulumi.StringArray{
pulumi.String("ecs.g7.xlarge"),
},
NodeCount: pulumi.Int(1),
SpotInstanceRemedy: pulumi.Bool(false),
DataDisks: emrv2.ClusterNodeGroupDataDiskArray{
&emrv2.ClusterNodeGroupDataDiskArgs{
Count: pulumi.Int(3),
Category: pulumi.String("cloud_essd"),
Size: pulumi.Int(80),
PerformanceLevel: pulumi.String("PL0"),
},
},
NodeGroupName: pulumi.String("emr-master"),
PaymentType: pulumi.String("PayAsYouGo"),
WithPublicIp: pulumi.Bool(false),
GracefulShutdown: pulumi.Bool(false),
SystemDisk: &emrv2.ClusterNodeGroupSystemDiskArgs{
Category: pulumi.String("cloud_essd"),
Size: pulumi.Int(80),
PerformanceLevel: pulumi.String("PL0"),
Count: pulumi.Int(1),
},
NodeGroupType: pulumi.String("MASTER"),
},
&emrv2.ClusterNodeGroupArgs{
SpotInstanceRemedy: pulumi.Bool(false),
NodeGroupType: pulumi.String("CORE"),
VswitchIds: pulumi.StringArray{
defaultSwitch.ID(),
},
NodeCount: pulumi.Int(2),
GracefulShutdown: pulumi.Bool(false),
SystemDisk: &emrv2.ClusterNodeGroupSystemDiskArgs{
PerformanceLevel: pulumi.String("PL0"),
Count: pulumi.Int(1),
Category: pulumi.String("cloud_essd"),
Size: pulumi.Int(80),
},
DataDisks: emrv2.ClusterNodeGroupDataDiskArray{
&emrv2.ClusterNodeGroupDataDiskArgs{
Count: pulumi.Int(3),
PerformanceLevel: pulumi.String("PL0"),
Category: pulumi.String("cloud_essd"),
Size: pulumi.Int(80),
},
},
NodeGroupName: pulumi.String("emr-core"),
PaymentType: pulumi.String("PayAsYouGo"),
InstanceTypes: pulumi.StringArray{
pulumi.String("ecs.g7.xlarge"),
},
WithPublicIp: pulumi.Bool(false),
},
},
DeployMode: pulumi.String("NORMAL"),
Tags: pulumi.StringMap{
"Created": pulumi.String("TF"),
"For": pulumi.String("example"),
},
ReleaseVersion: pulumi.String("EMR-5.10.0"),
Applications: pulumi.StringArray{
pulumi.String("HADOOP-COMMON"),
pulumi.String("HDFS"),
pulumi.String("YARN"),
},
NodeAttributes: emrv2.ClusterNodeAttributeArray{
&emrv2.ClusterNodeAttributeArgs{
ZoneId: pulumi.String(defaultGetZones.Zones[0].Id),
KeyPairName: defaultEcsKeyPair.ID(),
DataDiskEncrypted: pulumi.Bool(true),
DataDiskKmsKeyId: pulumi.String(defaultGetKeys.Ids[0]),
VpcId: defaultNetwork.ID(),
RamRole: defaultRole.Name,
SecurityGroupId: defaultSecurityGroup.ID(),
},
},
ResourceGroupId: pulumi.String(_default.Ids[0]),
ClusterName: pulumi.String(name),
PaymentType: pulumi.String("PayAsYouGo"),
ClusterType: pulumi.String("DATAFLOW"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke(new()
{
Status = "OK",
});
var defaultGetKeys = AliCloud.Kms.GetKeys.Invoke(new()
{
Status = "Enabled",
});
var defaultGetZones = AliCloud.GetZones.Invoke(new()
{
AvailableInstanceType = "ecs.g7.xlarge",
});
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = name,
CidrBlock = "172.16.0.0/12",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/21",
ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
VswitchName = name,
});
var defaultInteger = new Random.Index.Integer("default", new()
{
Max = 99999,
Min = 10000,
});
var defaultEcsKeyPair = new AliCloud.Ecs.EcsKeyPair("default", new()
{
KeyPairName = $"{name}-{defaultInteger.Result}",
});
var defaultSecurityGroup = new AliCloud.Ecs.SecurityGroup("default", new()
{
Name = name,
VpcId = defaultNetwork.Id,
});
var defaultRole = new AliCloud.Ram.Role("default", new()
{
Name = name,
Document = @" {
""Statement"": [
{
""Action"": ""sts:AssumeRole"",
""Effect"": ""Allow"",
""Principal"": {
""Service"": [
""emr.aliyuncs.com"",
""ecs.aliyuncs.com""
]
}
}
],
""Version"": ""1""
}
",
Description = "this is a role example.",
Force = true,
});
var defaultCluster = new AliCloud.Emrv2.Cluster("default", new()
{
NodeGroups = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupArgs
{
VswitchIds = new[]
{
defaultSwitch.Id,
},
InstanceTypes = new[]
{
"ecs.g7.xlarge",
},
NodeCount = 1,
SpotInstanceRemedy = false,
DataDisks = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupDataDiskArgs
{
Count = 3,
Category = "cloud_essd",
Size = 80,
PerformanceLevel = "PL0",
},
},
NodeGroupName = "emr-master",
PaymentType = "PayAsYouGo",
WithPublicIp = false,
GracefulShutdown = false,
SystemDisk = new AliCloud.Emrv2.Inputs.ClusterNodeGroupSystemDiskArgs
{
Category = "cloud_essd",
Size = 80,
PerformanceLevel = "PL0",
Count = 1,
},
NodeGroupType = "MASTER",
},
new AliCloud.Emrv2.Inputs.ClusterNodeGroupArgs
{
SpotInstanceRemedy = false,
NodeGroupType = "CORE",
VswitchIds = new[]
{
defaultSwitch.Id,
},
NodeCount = 2,
GracefulShutdown = false,
SystemDisk = new AliCloud.Emrv2.Inputs.ClusterNodeGroupSystemDiskArgs
{
PerformanceLevel = "PL0",
Count = 1,
Category = "cloud_essd",
Size = 80,
},
DataDisks = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupDataDiskArgs
{
Count = 3,
PerformanceLevel = "PL0",
Category = "cloud_essd",
Size = 80,
},
},
NodeGroupName = "emr-core",
PaymentType = "PayAsYouGo",
InstanceTypes = new[]
{
"ecs.g7.xlarge",
},
WithPublicIp = false,
},
},
DeployMode = "NORMAL",
Tags =
{
{ "Created", "TF" },
{ "For", "example" },
},
ReleaseVersion = "EMR-5.10.0",
Applications = new[]
{
"HADOOP-COMMON",
"HDFS",
"YARN",
},
NodeAttributes = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeAttributeArgs
{
ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
KeyPairName = defaultEcsKeyPair.Id,
DataDiskEncrypted = true,
DataDiskKmsKeyId = defaultGetKeys.Apply(getKeysResult => getKeysResult.Ids[0]),
VpcId = defaultNetwork.Id,
RamRole = defaultRole.Name,
SecurityGroupId = defaultSecurityGroup.Id,
},
},
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
ClusterName = name,
PaymentType = "PayAsYouGo",
ClusterType = "DATAFLOW",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.kms.KmsFunctions;
import com.pulumi.alicloud.kms.inputs.GetKeysArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.ecs.EcsKeyPair;
import com.pulumi.alicloud.ecs.EcsKeyPairArgs;
import com.pulumi.alicloud.ecs.SecurityGroup;
import com.pulumi.alicloud.ecs.SecurityGroupArgs;
import com.pulumi.alicloud.ram.Role;
import com.pulumi.alicloud.ram.RoleArgs;
import com.pulumi.alicloud.emrv2.Cluster;
import com.pulumi.alicloud.emrv2.ClusterArgs;
import com.pulumi.alicloud.emrv2.inputs.ClusterNodeGroupArgs;
import com.pulumi.alicloud.emrv2.inputs.ClusterNodeGroupSystemDiskArgs;
import com.pulumi.alicloud.emrv2.inputs.ClusterNodeAttributeArgs;
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 name = config.get("name").orElse("tf-example");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.status("OK")
.build());
final var defaultGetKeys = KmsFunctions.getKeys(GetKeysArgs.builder()
.status("Enabled")
.build());
final var defaultGetZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableInstanceType("ecs.g7.xlarge")
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("172.16.0.0/12")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/21")
.zoneId(defaultGetZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.vswitchName(name)
.build());
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.max(99999)
.min(10000)
.build());
var defaultEcsKeyPair = new EcsKeyPair("defaultEcsKeyPair", EcsKeyPairArgs.builder()
.keyPairName(String.format("%s-%s", name,defaultInteger.result()))
.build());
var defaultSecurityGroup = new SecurityGroup("defaultSecurityGroup", SecurityGroupArgs.builder()
.name(name)
.vpcId(defaultNetwork.id())
.build());
var defaultRole = new Role("defaultRole", RoleArgs.builder()
.name(name)
.document("""
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"emr.aliyuncs.com",
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}
""")
.description("this is a role example.")
.force(true)
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.nodeGroups(
ClusterNodeGroupArgs.builder()
.vswitchIds(defaultSwitch.id())
.instanceTypes("ecs.g7.xlarge")
.nodeCount("1")
.spotInstanceRemedy("false")
.dataDisks(ClusterNodeGroupDataDiskArgs.builder()
.count("3")
.category("cloud_essd")
.size("80")
.performanceLevel("PL0")
.build())
.nodeGroupName("emr-master")
.paymentType("PayAsYouGo")
.withPublicIp("false")
.gracefulShutdown("false")
.systemDisk(ClusterNodeGroupSystemDiskArgs.builder()
.category("cloud_essd")
.size("80")
.performanceLevel("PL0")
.count("1")
.build())
.nodeGroupType("MASTER")
.build(),
ClusterNodeGroupArgs.builder()
.spotInstanceRemedy("false")
.nodeGroupType("CORE")
.vswitchIds(defaultSwitch.id())
.nodeCount("2")
.gracefulShutdown("false")
.systemDisk(ClusterNodeGroupSystemDiskArgs.builder()
.performanceLevel("PL0")
.count("1")
.category("cloud_essd")
.size("80")
.build())
.dataDisks(ClusterNodeGroupDataDiskArgs.builder()
.count("3")
.performanceLevel("PL0")
.category("cloud_essd")
.size("80")
.build())
.nodeGroupName("emr-core")
.paymentType("PayAsYouGo")
.instanceTypes("ecs.g7.xlarge")
.withPublicIp("false")
.build())
.deployMode("NORMAL")
.tags(Map.ofEntries(
Map.entry("Created", "TF"),
Map.entry("For", "example")
))
.releaseVersion("EMR-5.10.0")
.applications(
"HADOOP-COMMON",
"HDFS",
"YARN")
.nodeAttributes(ClusterNodeAttributeArgs.builder()
.zoneId(defaultGetZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.keyPairName(defaultEcsKeyPair.id())
.dataDiskEncrypted("true")
.dataDiskKmsKeyId(defaultGetKeys.applyValue(getKeysResult -> getKeysResult.ids()[0]))
.vpcId(defaultNetwork.id())
.ramRole(defaultRole.name())
.securityGroupId(defaultSecurityGroup.id())
.build())
.resourceGroupId(default_.ids()[0])
.clusterName(name)
.paymentType("PayAsYouGo")
.clusterType("DATAFLOW")
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${name}
cidrBlock: 172.16.0.0/12
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/21
zoneId: ${defaultGetZones.zones[0].id}
vswitchName: ${name}
defaultInteger:
type: random:integer
name: default
properties:
max: 99999
min: 10000
defaultEcsKeyPair:
type: alicloud:ecs:EcsKeyPair
name: default
properties:
keyPairName: ${name}-${defaultInteger.result}
defaultSecurityGroup:
type: alicloud:ecs:SecurityGroup
name: default
properties:
name: ${name}
vpcId: ${defaultNetwork.id}
defaultRole:
type: alicloud:ram:Role
name: default
properties:
name: ${name}
document: |2
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"emr.aliyuncs.com",
"ecs.aliyuncs.com"
]
}
}
],
"Version": "1"
}
description: this is a role example.
force: true
defaultCluster:
type: alicloud:emrv2:Cluster
name: default
properties:
nodeGroups:
- vswitchIds:
- ${defaultSwitch.id}
instanceTypes:
- ecs.g7.xlarge
nodeCount: '1'
spotInstanceRemedy: 'false'
dataDisks:
- count: '3'
category: cloud_essd
size: '80'
performanceLevel: PL0
nodeGroupName: emr-master
paymentType: PayAsYouGo
withPublicIp: 'false'
gracefulShutdown: 'false'
systemDisk:
category: cloud_essd
size: '80'
performanceLevel: PL0
count: '1'
nodeGroupType: MASTER
- spotInstanceRemedy: 'false'
nodeGroupType: CORE
vswitchIds:
- ${defaultSwitch.id}
nodeCount: '2'
gracefulShutdown: 'false'
systemDisk:
performanceLevel: PL0
count: '1'
category: cloud_essd
size: '80'
dataDisks:
- count: '3'
performanceLevel: PL0
category: cloud_essd
size: '80'
nodeGroupName: emr-core
paymentType: PayAsYouGo
instanceTypes:
- ecs.g7.xlarge
withPublicIp: 'false'
deployMode: NORMAL
tags:
Created: TF
For: example
releaseVersion: EMR-5.10.0
applications:
- HADOOP-COMMON
- HDFS
- YARN
nodeAttributes:
- zoneId: ${defaultGetZones.zones[0].id}
keyPairName: ${defaultEcsKeyPair.id}
dataDiskEncrypted: 'true'
dataDiskKmsKeyId: ${defaultGetKeys.ids[0]}
vpcId: ${defaultNetwork.id}
ramRole: ${defaultRole.name}
securityGroupId: ${defaultSecurityGroup.id}
resourceGroupId: ${default.ids[0]}
clusterName: ${name}
paymentType: PayAsYouGo
clusterType: DATAFLOW
variables:
default:
fn::invoke:
Function: alicloud:resourcemanager:getResourceGroups
Arguments:
status: OK
defaultGetKeys:
fn::invoke:
Function: alicloud:kms:getKeys
Arguments:
status: Enabled
defaultGetZones:
fn::invoke:
Function: alicloud:getZones
Arguments:
availableInstanceType: ecs.g7.xlarge
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_attributes: Optional[Sequence[ClusterNodeAttributeArgs]] = None,
applications: Optional[Sequence[str]] = None,
release_version: Optional[str] = None,
cluster_name: Optional[str] = None,
node_groups: Optional[Sequence[ClusterNodeGroupArgs]] = None,
cluster_type: Optional[str] = None,
deploy_mode: Optional[str] = None,
log_collect_strategy: Optional[str] = None,
deletion_protection: Optional[bool] = None,
application_configs: Optional[Sequence[ClusterApplicationConfigArgs]] = None,
payment_type: Optional[str] = None,
bootstrap_scripts: Optional[Sequence[ClusterBootstrapScriptArgs]] = None,
resource_group_id: Optional[str] = None,
security_mode: Optional[str] = None,
subscription_config: Optional[ClusterSubscriptionConfigArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:emrv2:Cluster
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 ClusterArgs
- 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 ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromEmrv2cluster = new AliCloud.Emrv2.Cluster("exampleclusterResourceResourceFromEmrv2cluster", new()
{
NodeAttributes = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeAttributeArgs
{
KeyPairName = "string",
RamRole = "string",
SecurityGroupId = "string",
VpcId = "string",
ZoneId = "string",
DataDiskEncrypted = false,
DataDiskKmsKeyId = "string",
},
},
Applications = new[]
{
"string",
},
ReleaseVersion = "string",
ClusterName = "string",
NodeGroups = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupArgs
{
InstanceTypes = new[]
{
"string",
},
SystemDisk = new AliCloud.Emrv2.Inputs.ClusterNodeGroupSystemDiskArgs
{
Category = "string",
Size = 0,
Count = 0,
PerformanceLevel = "string",
},
NodeGroupType = "string",
NodeGroupName = "string",
DataDisks = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupDataDiskArgs
{
Category = "string",
Size = 0,
Count = 0,
PerformanceLevel = "string",
},
},
NodeCount = 0,
DeploymentSetStrategy = "string",
SpotBidPrices = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupSpotBidPriceArgs
{
BidPrice = 0,
InstanceType = "string",
},
},
AckConfig = new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigArgs
{
RequestCpu = 0,
LimitMemory = 0,
RequestMemory = 0,
LimitCpu = 0,
AckInstanceId = "string",
Namespace = "string",
NodeAffinity = "string",
PreStartCommands = new[]
{
"string",
},
CustomLabels = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigCustomLabelArgs
{
Key = "string",
Value = "string",
},
},
CustomAnnotations = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigCustomAnnotationArgs
{
Key = "string",
Value = "string",
},
},
NodeSelectors = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigNodeSelectorArgs
{
Key = "string",
Value = "string",
},
},
Pvcs = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigPvcArgs
{
DataDiskSize = 0,
DataDiskStorageClass = "string",
Name = "string",
Path = "string",
},
},
PodAntiAffinity = "string",
PodAffinity = "string",
Tolerations = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigTolerationArgs
{
Effect = "string",
Key = "string",
Operator = "string",
Value = "string",
},
},
VolumeMounts = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigVolumeMountArgs
{
Name = "string",
Path = "string",
},
},
Volumes = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAckConfigVolumeArgs
{
Name = "string",
Path = "string",
Type = "string",
},
},
},
CostOptimizedConfig = new AliCloud.Emrv2.Inputs.ClusterNodeGroupCostOptimizedConfigArgs
{
OnDemandBaseCapacity = 0,
OnDemandPercentageAboveBaseCapacity = 0,
SpotInstancePools = 0,
},
AutoScalingPolicy = new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyArgs
{
Constraints = new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyConstraintsArgs
{
MaxCapacity = 0,
MinCapacity = 0,
},
ScalingRules = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleArgs
{
ActivityType = "string",
AdjustmentValue = 0,
RuleName = "string",
TriggerType = "string",
AdjustmentType = "string",
MetricsTrigger = new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs
{
EvaluationCount = 0,
TimeWindow = 0,
ConditionLogicOperator = "string",
Conditions = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs
{
ComparisonOperator = "string",
MetricName = "string",
Statistics = "string",
Threshold = 0,
Tags = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs
{
Key = "string",
Value = "string",
},
},
},
},
CoolDownInterval = 0,
TimeConstraints = new[]
{
new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs
{
EndTime = "string",
StartTime = "string",
},
},
},
MinAdjustmentValue = 0,
TimeTrigger = new AliCloud.Emrv2.Inputs.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs
{
LaunchTime = "string",
EndTime = "string",
LaunchExpirationTime = 0,
RecurrenceType = "string",
RecurrenceValue = "string",
StartTime = "string",
},
},
},
},
NodeResizeStrategy = "string",
PaymentType = "string",
GracefulShutdown = false,
SpotInstanceRemedy = false,
SpotStrategy = "string",
SubscriptionConfig = new AliCloud.Emrv2.Inputs.ClusterNodeGroupSubscriptionConfigArgs
{
PaymentDuration = 0,
PaymentDurationUnit = "string",
AutoPayOrder = false,
AutoRenew = false,
AutoRenewDuration = 0,
AutoRenewDurationUnit = "string",
},
AdditionalSecurityGroupIds = new[]
{
"string",
},
VswitchIds = new[]
{
"string",
},
WithPublicIp = false,
},
},
ClusterType = "string",
DeployMode = "string",
LogCollectStrategy = "string",
DeletionProtection = false,
ApplicationConfigs = new[]
{
new AliCloud.Emrv2.Inputs.ClusterApplicationConfigArgs
{
ApplicationName = "string",
ConfigFileName = "string",
ConfigItemKey = "string",
ConfigItemValue = "string",
ConfigDescription = "string",
ConfigScope = "string",
NodeGroupId = "string",
NodeGroupName = "string",
},
},
PaymentType = "string",
BootstrapScripts = new[]
{
new AliCloud.Emrv2.Inputs.ClusterBootstrapScriptArgs
{
ExecutionFailStrategy = "string",
ExecutionMoment = "string",
NodeSelector = new AliCloud.Emrv2.Inputs.ClusterBootstrapScriptNodeSelectorArgs
{
NodeSelectType = "string",
NodeGroupIds = new[]
{
"string",
},
NodeGroupNames = new[]
{
"string",
},
NodeGroupTypes = new[]
{
"string",
},
NodeNames = new[]
{
"string",
},
},
ScriptArgs = "string",
ScriptName = "string",
ScriptPath = "string",
},
},
ResourceGroupId = "string",
SecurityMode = "string",
SubscriptionConfig = new AliCloud.Emrv2.Inputs.ClusterSubscriptionConfigArgs
{
PaymentDuration = 0,
PaymentDurationUnit = "string",
AutoPayOrder = false,
AutoRenew = false,
AutoRenewDuration = 0,
AutoRenewDurationUnit = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := emrv2.NewCluster(ctx, "exampleclusterResourceResourceFromEmrv2cluster", &emrv2.ClusterArgs{
NodeAttributes: emrv2.ClusterNodeAttributeArray{
&emrv2.ClusterNodeAttributeArgs{
KeyPairName: pulumi.String("string"),
RamRole: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
VpcId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
DataDiskEncrypted: pulumi.Bool(false),
DataDiskKmsKeyId: pulumi.String("string"),
},
},
Applications: pulumi.StringArray{
pulumi.String("string"),
},
ReleaseVersion: pulumi.String("string"),
ClusterName: pulumi.String("string"),
NodeGroups: emrv2.ClusterNodeGroupArray{
&emrv2.ClusterNodeGroupArgs{
InstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
SystemDisk: &emrv2.ClusterNodeGroupSystemDiskArgs{
Category: pulumi.String("string"),
Size: pulumi.Int(0),
Count: pulumi.Int(0),
PerformanceLevel: pulumi.String("string"),
},
NodeGroupType: pulumi.String("string"),
NodeGroupName: pulumi.String("string"),
DataDisks: emrv2.ClusterNodeGroupDataDiskArray{
&emrv2.ClusterNodeGroupDataDiskArgs{
Category: pulumi.String("string"),
Size: pulumi.Int(0),
Count: pulumi.Int(0),
PerformanceLevel: pulumi.String("string"),
},
},
NodeCount: pulumi.Int(0),
DeploymentSetStrategy: pulumi.String("string"),
SpotBidPrices: emrv2.ClusterNodeGroupSpotBidPriceArray{
&emrv2.ClusterNodeGroupSpotBidPriceArgs{
BidPrice: pulumi.Int(0),
InstanceType: pulumi.String("string"),
},
},
AckConfig: &emrv2.ClusterNodeGroupAckConfigArgs{
RequestCpu: pulumi.Float64(0),
LimitMemory: pulumi.Float64(0),
RequestMemory: pulumi.Float64(0),
LimitCpu: pulumi.Float64(0),
AckInstanceId: pulumi.String("string"),
Namespace: pulumi.String("string"),
NodeAffinity: pulumi.String("string"),
PreStartCommands: pulumi.StringArray{
pulumi.String("string"),
},
CustomLabels: emrv2.ClusterNodeGroupAckConfigCustomLabelArray{
&emrv2.ClusterNodeGroupAckConfigCustomLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
CustomAnnotations: emrv2.ClusterNodeGroupAckConfigCustomAnnotationArray{
&emrv2.ClusterNodeGroupAckConfigCustomAnnotationArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NodeSelectors: emrv2.ClusterNodeGroupAckConfigNodeSelectorArray{
&emrv2.ClusterNodeGroupAckConfigNodeSelectorArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Pvcs: emrv2.ClusterNodeGroupAckConfigPvcArray{
&emrv2.ClusterNodeGroupAckConfigPvcArgs{
DataDiskSize: pulumi.Int(0),
DataDiskStorageClass: pulumi.String("string"),
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
PodAntiAffinity: pulumi.String("string"),
PodAffinity: pulumi.String("string"),
Tolerations: emrv2.ClusterNodeGroupAckConfigTolerationArray{
&emrv2.ClusterNodeGroupAckConfigTolerationArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VolumeMounts: emrv2.ClusterNodeGroupAckConfigVolumeMountArray{
&emrv2.ClusterNodeGroupAckConfigVolumeMountArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
},
},
Volumes: emrv2.ClusterNodeGroupAckConfigVolumeArray{
&emrv2.ClusterNodeGroupAckConfigVolumeArgs{
Name: pulumi.String("string"),
Path: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
CostOptimizedConfig: &emrv2.ClusterNodeGroupCostOptimizedConfigArgs{
OnDemandBaseCapacity: pulumi.Int(0),
OnDemandPercentageAboveBaseCapacity: pulumi.Int(0),
SpotInstancePools: pulumi.Int(0),
},
AutoScalingPolicy: &emrv2.ClusterNodeGroupAutoScalingPolicyArgs{
Constraints: &emrv2.ClusterNodeGroupAutoScalingPolicyConstraintsArgs{
MaxCapacity: pulumi.Int(0),
MinCapacity: pulumi.Int(0),
},
ScalingRules: emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleArray{
&emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleArgs{
ActivityType: pulumi.String("string"),
AdjustmentValue: pulumi.Int(0),
RuleName: pulumi.String("string"),
TriggerType: pulumi.String("string"),
AdjustmentType: pulumi.String("string"),
MetricsTrigger: &emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs{
EvaluationCount: pulumi.Int(0),
TimeWindow: pulumi.Int(0),
ConditionLogicOperator: pulumi.String("string"),
Conditions: emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArray{
&emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs{
ComparisonOperator: pulumi.String("string"),
MetricName: pulumi.String("string"),
Statistics: pulumi.String("string"),
Threshold: pulumi.Float64(0),
Tags: emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArray{
&emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
CoolDownInterval: pulumi.Int(0),
TimeConstraints: emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArray{
&emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs{
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
},
MinAdjustmentValue: pulumi.Int(0),
TimeTrigger: &emrv2.ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs{
LaunchTime: pulumi.String("string"),
EndTime: pulumi.String("string"),
LaunchExpirationTime: pulumi.Int(0),
RecurrenceType: pulumi.String("string"),
RecurrenceValue: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
},
},
NodeResizeStrategy: pulumi.String("string"),
PaymentType: pulumi.String("string"),
GracefulShutdown: pulumi.Bool(false),
SpotInstanceRemedy: pulumi.Bool(false),
SpotStrategy: pulumi.String("string"),
SubscriptionConfig: &emrv2.ClusterNodeGroupSubscriptionConfigArgs{
PaymentDuration: pulumi.Int(0),
PaymentDurationUnit: pulumi.String("string"),
AutoPayOrder: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
AutoRenewDuration: pulumi.Int(0),
AutoRenewDurationUnit: pulumi.String("string"),
},
AdditionalSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
VswitchIds: pulumi.StringArray{
pulumi.String("string"),
},
WithPublicIp: pulumi.Bool(false),
},
},
ClusterType: pulumi.String("string"),
DeployMode: pulumi.String("string"),
LogCollectStrategy: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
ApplicationConfigs: emrv2.ClusterApplicationConfigArray{
&emrv2.ClusterApplicationConfigArgs{
ApplicationName: pulumi.String("string"),
ConfigFileName: pulumi.String("string"),
ConfigItemKey: pulumi.String("string"),
ConfigItemValue: pulumi.String("string"),
ConfigDescription: pulumi.String("string"),
ConfigScope: pulumi.String("string"),
NodeGroupId: pulumi.String("string"),
NodeGroupName: pulumi.String("string"),
},
},
PaymentType: pulumi.String("string"),
BootstrapScripts: emrv2.ClusterBootstrapScriptArray{
&emrv2.ClusterBootstrapScriptArgs{
ExecutionFailStrategy: pulumi.String("string"),
ExecutionMoment: pulumi.String("string"),
NodeSelector: &emrv2.ClusterBootstrapScriptNodeSelectorArgs{
NodeSelectType: pulumi.String("string"),
NodeGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupNames: pulumi.StringArray{
pulumi.String("string"),
},
NodeGroupTypes: pulumi.StringArray{
pulumi.String("string"),
},
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
},
ScriptArgs: pulumi.String("string"),
ScriptName: pulumi.String("string"),
ScriptPath: pulumi.String("string"),
},
},
ResourceGroupId: pulumi.String("string"),
SecurityMode: pulumi.String("string"),
SubscriptionConfig: &emrv2.ClusterSubscriptionConfigArgs{
PaymentDuration: pulumi.Int(0),
PaymentDurationUnit: pulumi.String("string"),
AutoPayOrder: pulumi.Bool(false),
AutoRenew: pulumi.Bool(false),
AutoRenewDuration: pulumi.Int(0),
AutoRenewDurationUnit: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleclusterResourceResourceFromEmrv2cluster = new Cluster("exampleclusterResourceResourceFromEmrv2cluster", ClusterArgs.builder()
.nodeAttributes(ClusterNodeAttributeArgs.builder()
.keyPairName("string")
.ramRole("string")
.securityGroupId("string")
.vpcId("string")
.zoneId("string")
.dataDiskEncrypted(false)
.dataDiskKmsKeyId("string")
.build())
.applications("string")
.releaseVersion("string")
.clusterName("string")
.nodeGroups(ClusterNodeGroupArgs.builder()
.instanceTypes("string")
.systemDisk(ClusterNodeGroupSystemDiskArgs.builder()
.category("string")
.size(0)
.count(0)
.performanceLevel("string")
.build())
.nodeGroupType("string")
.nodeGroupName("string")
.dataDisks(ClusterNodeGroupDataDiskArgs.builder()
.category("string")
.size(0)
.count(0)
.performanceLevel("string")
.build())
.nodeCount(0)
.deploymentSetStrategy("string")
.spotBidPrices(ClusterNodeGroupSpotBidPriceArgs.builder()
.bidPrice(0)
.instanceType("string")
.build())
.ackConfig(ClusterNodeGroupAckConfigArgs.builder()
.requestCpu(0)
.limitMemory(0)
.requestMemory(0)
.limitCpu(0)
.ackInstanceId("string")
.namespace("string")
.nodeAffinity("string")
.preStartCommands("string")
.customLabels(ClusterNodeGroupAckConfigCustomLabelArgs.builder()
.key("string")
.value("string")
.build())
.customAnnotations(ClusterNodeGroupAckConfigCustomAnnotationArgs.builder()
.key("string")
.value("string")
.build())
.nodeSelectors(ClusterNodeGroupAckConfigNodeSelectorArgs.builder()
.key("string")
.value("string")
.build())
.pvcs(ClusterNodeGroupAckConfigPvcArgs.builder()
.dataDiskSize(0)
.dataDiskStorageClass("string")
.name("string")
.path("string")
.build())
.podAntiAffinity("string")
.podAffinity("string")
.tolerations(ClusterNodeGroupAckConfigTolerationArgs.builder()
.effect("string")
.key("string")
.operator("string")
.value("string")
.build())
.volumeMounts(ClusterNodeGroupAckConfigVolumeMountArgs.builder()
.name("string")
.path("string")
.build())
.volumes(ClusterNodeGroupAckConfigVolumeArgs.builder()
.name("string")
.path("string")
.type("string")
.build())
.build())
.costOptimizedConfig(ClusterNodeGroupCostOptimizedConfigArgs.builder()
.onDemandBaseCapacity(0)
.onDemandPercentageAboveBaseCapacity(0)
.spotInstancePools(0)
.build())
.autoScalingPolicy(ClusterNodeGroupAutoScalingPolicyArgs.builder()
.constraints(ClusterNodeGroupAutoScalingPolicyConstraintsArgs.builder()
.maxCapacity(0)
.minCapacity(0)
.build())
.scalingRules(ClusterNodeGroupAutoScalingPolicyScalingRuleArgs.builder()
.activityType("string")
.adjustmentValue(0)
.ruleName("string")
.triggerType("string")
.adjustmentType("string")
.metricsTrigger(ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs.builder()
.evaluationCount(0)
.timeWindow(0)
.conditionLogicOperator("string")
.conditions(ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs.builder()
.comparisonOperator("string")
.metricName("string")
.statistics("string")
.threshold(0)
.tags(ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs.builder()
.key("string")
.value("string")
.build())
.build())
.coolDownInterval(0)
.timeConstraints(ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs.builder()
.endTime("string")
.startTime("string")
.build())
.build())
.minAdjustmentValue(0)
.timeTrigger(ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs.builder()
.launchTime("string")
.endTime("string")
.launchExpirationTime(0)
.recurrenceType("string")
.recurrenceValue("string")
.startTime("string")
.build())
.build())
.build())
.nodeResizeStrategy("string")
.paymentType("string")
.gracefulShutdown(false)
.spotInstanceRemedy(false)
.spotStrategy("string")
.subscriptionConfig(ClusterNodeGroupSubscriptionConfigArgs.builder()
.paymentDuration(0)
.paymentDurationUnit("string")
.autoPayOrder(false)
.autoRenew(false)
.autoRenewDuration(0)
.autoRenewDurationUnit("string")
.build())
.additionalSecurityGroupIds("string")
.vswitchIds("string")
.withPublicIp(false)
.build())
.clusterType("string")
.deployMode("string")
.logCollectStrategy("string")
.deletionProtection(false)
.applicationConfigs(ClusterApplicationConfigArgs.builder()
.applicationName("string")
.configFileName("string")
.configItemKey("string")
.configItemValue("string")
.configDescription("string")
.configScope("string")
.nodeGroupId("string")
.nodeGroupName("string")
.build())
.paymentType("string")
.bootstrapScripts(ClusterBootstrapScriptArgs.builder()
.executionFailStrategy("string")
.executionMoment("string")
.nodeSelector(ClusterBootstrapScriptNodeSelectorArgs.builder()
.nodeSelectType("string")
.nodeGroupIds("string")
.nodeGroupNames("string")
.nodeGroupTypes("string")
.nodeNames("string")
.build())
.scriptArgs("string")
.scriptName("string")
.scriptPath("string")
.build())
.resourceGroupId("string")
.securityMode("string")
.subscriptionConfig(ClusterSubscriptionConfigArgs.builder()
.paymentDuration(0)
.paymentDurationUnit("string")
.autoPayOrder(false)
.autoRenew(false)
.autoRenewDuration(0)
.autoRenewDurationUnit("string")
.build())
.tags(Map.of("string", "string"))
.build());
examplecluster_resource_resource_from_emrv2cluster = alicloud.emrv2.Cluster("exampleclusterResourceResourceFromEmrv2cluster",
node_attributes=[{
"key_pair_name": "string",
"ram_role": "string",
"security_group_id": "string",
"vpc_id": "string",
"zone_id": "string",
"data_disk_encrypted": False,
"data_disk_kms_key_id": "string",
}],
applications=["string"],
release_version="string",
cluster_name="string",
node_groups=[{
"instance_types": ["string"],
"system_disk": {
"category": "string",
"size": 0,
"count": 0,
"performance_level": "string",
},
"node_group_type": "string",
"node_group_name": "string",
"data_disks": [{
"category": "string",
"size": 0,
"count": 0,
"performance_level": "string",
}],
"node_count": 0,
"deployment_set_strategy": "string",
"spot_bid_prices": [{
"bid_price": 0,
"instance_type": "string",
}],
"ack_config": {
"request_cpu": 0,
"limit_memory": 0,
"request_memory": 0,
"limit_cpu": 0,
"ack_instance_id": "string",
"namespace": "string",
"node_affinity": "string",
"pre_start_commands": ["string"],
"custom_labels": [{
"key": "string",
"value": "string",
}],
"custom_annotations": [{
"key": "string",
"value": "string",
}],
"node_selectors": [{
"key": "string",
"value": "string",
}],
"pvcs": [{
"data_disk_size": 0,
"data_disk_storage_class": "string",
"name": "string",
"path": "string",
}],
"pod_anti_affinity": "string",
"pod_affinity": "string",
"tolerations": [{
"effect": "string",
"key": "string",
"operator": "string",
"value": "string",
}],
"volume_mounts": [{
"name": "string",
"path": "string",
}],
"volumes": [{
"name": "string",
"path": "string",
"type": "string",
}],
},
"cost_optimized_config": {
"on_demand_base_capacity": 0,
"on_demand_percentage_above_base_capacity": 0,
"spot_instance_pools": 0,
},
"auto_scaling_policy": {
"constraints": {
"max_capacity": 0,
"min_capacity": 0,
},
"scaling_rules": [{
"activity_type": "string",
"adjustment_value": 0,
"rule_name": "string",
"trigger_type": "string",
"adjustment_type": "string",
"metrics_trigger": {
"evaluation_count": 0,
"time_window": 0,
"condition_logic_operator": "string",
"conditions": [{
"comparison_operator": "string",
"metric_name": "string",
"statistics": "string",
"threshold": 0,
"tags": [{
"key": "string",
"value": "string",
}],
}],
"cool_down_interval": 0,
"time_constraints": [{
"end_time": "string",
"start_time": "string",
}],
},
"min_adjustment_value": 0,
"time_trigger": {
"launch_time": "string",
"end_time": "string",
"launch_expiration_time": 0,
"recurrence_type": "string",
"recurrence_value": "string",
"start_time": "string",
},
}],
},
"node_resize_strategy": "string",
"payment_type": "string",
"graceful_shutdown": False,
"spot_instance_remedy": False,
"spot_strategy": "string",
"subscription_config": {
"payment_duration": 0,
"payment_duration_unit": "string",
"auto_pay_order": False,
"auto_renew": False,
"auto_renew_duration": 0,
"auto_renew_duration_unit": "string",
},
"additional_security_group_ids": ["string"],
"vswitch_ids": ["string"],
"with_public_ip": False,
}],
cluster_type="string",
deploy_mode="string",
log_collect_strategy="string",
deletion_protection=False,
application_configs=[{
"application_name": "string",
"config_file_name": "string",
"config_item_key": "string",
"config_item_value": "string",
"config_description": "string",
"config_scope": "string",
"node_group_id": "string",
"node_group_name": "string",
}],
payment_type="string",
bootstrap_scripts=[{
"execution_fail_strategy": "string",
"execution_moment": "string",
"node_selector": {
"node_select_type": "string",
"node_group_ids": ["string"],
"node_group_names": ["string"],
"node_group_types": ["string"],
"node_names": ["string"],
},
"script_args": "string",
"script_name": "string",
"script_path": "string",
}],
resource_group_id="string",
security_mode="string",
subscription_config={
"payment_duration": 0,
"payment_duration_unit": "string",
"auto_pay_order": False,
"auto_renew": False,
"auto_renew_duration": 0,
"auto_renew_duration_unit": "string",
},
tags={
"string": "string",
})
const exampleclusterResourceResourceFromEmrv2cluster = new alicloud.emrv2.Cluster("exampleclusterResourceResourceFromEmrv2cluster", {
nodeAttributes: [{
keyPairName: "string",
ramRole: "string",
securityGroupId: "string",
vpcId: "string",
zoneId: "string",
dataDiskEncrypted: false,
dataDiskKmsKeyId: "string",
}],
applications: ["string"],
releaseVersion: "string",
clusterName: "string",
nodeGroups: [{
instanceTypes: ["string"],
systemDisk: {
category: "string",
size: 0,
count: 0,
performanceLevel: "string",
},
nodeGroupType: "string",
nodeGroupName: "string",
dataDisks: [{
category: "string",
size: 0,
count: 0,
performanceLevel: "string",
}],
nodeCount: 0,
deploymentSetStrategy: "string",
spotBidPrices: [{
bidPrice: 0,
instanceType: "string",
}],
ackConfig: {
requestCpu: 0,
limitMemory: 0,
requestMemory: 0,
limitCpu: 0,
ackInstanceId: "string",
namespace: "string",
nodeAffinity: "string",
preStartCommands: ["string"],
customLabels: [{
key: "string",
value: "string",
}],
customAnnotations: [{
key: "string",
value: "string",
}],
nodeSelectors: [{
key: "string",
value: "string",
}],
pvcs: [{
dataDiskSize: 0,
dataDiskStorageClass: "string",
name: "string",
path: "string",
}],
podAntiAffinity: "string",
podAffinity: "string",
tolerations: [{
effect: "string",
key: "string",
operator: "string",
value: "string",
}],
volumeMounts: [{
name: "string",
path: "string",
}],
volumes: [{
name: "string",
path: "string",
type: "string",
}],
},
costOptimizedConfig: {
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
spotInstancePools: 0,
},
autoScalingPolicy: {
constraints: {
maxCapacity: 0,
minCapacity: 0,
},
scalingRules: [{
activityType: "string",
adjustmentValue: 0,
ruleName: "string",
triggerType: "string",
adjustmentType: "string",
metricsTrigger: {
evaluationCount: 0,
timeWindow: 0,
conditionLogicOperator: "string",
conditions: [{
comparisonOperator: "string",
metricName: "string",
statistics: "string",
threshold: 0,
tags: [{
key: "string",
value: "string",
}],
}],
coolDownInterval: 0,
timeConstraints: [{
endTime: "string",
startTime: "string",
}],
},
minAdjustmentValue: 0,
timeTrigger: {
launchTime: "string",
endTime: "string",
launchExpirationTime: 0,
recurrenceType: "string",
recurrenceValue: "string",
startTime: "string",
},
}],
},
nodeResizeStrategy: "string",
paymentType: "string",
gracefulShutdown: false,
spotInstanceRemedy: false,
spotStrategy: "string",
subscriptionConfig: {
paymentDuration: 0,
paymentDurationUnit: "string",
autoPayOrder: false,
autoRenew: false,
autoRenewDuration: 0,
autoRenewDurationUnit: "string",
},
additionalSecurityGroupIds: ["string"],
vswitchIds: ["string"],
withPublicIp: false,
}],
clusterType: "string",
deployMode: "string",
logCollectStrategy: "string",
deletionProtection: false,
applicationConfigs: [{
applicationName: "string",
configFileName: "string",
configItemKey: "string",
configItemValue: "string",
configDescription: "string",
configScope: "string",
nodeGroupId: "string",
nodeGroupName: "string",
}],
paymentType: "string",
bootstrapScripts: [{
executionFailStrategy: "string",
executionMoment: "string",
nodeSelector: {
nodeSelectType: "string",
nodeGroupIds: ["string"],
nodeGroupNames: ["string"],
nodeGroupTypes: ["string"],
nodeNames: ["string"],
},
scriptArgs: "string",
scriptName: "string",
scriptPath: "string",
}],
resourceGroupId: "string",
securityMode: "string",
subscriptionConfig: {
paymentDuration: 0,
paymentDurationUnit: "string",
autoPayOrder: false,
autoRenew: false,
autoRenewDuration: 0,
autoRenewDurationUnit: "string",
},
tags: {
string: "string",
},
});
type: alicloud:emrv2:Cluster
properties:
applicationConfigs:
- applicationName: string
configDescription: string
configFileName: string
configItemKey: string
configItemValue: string
configScope: string
nodeGroupId: string
nodeGroupName: string
applications:
- string
bootstrapScripts:
- executionFailStrategy: string
executionMoment: string
nodeSelector:
nodeGroupIds:
- string
nodeGroupNames:
- string
nodeGroupTypes:
- string
nodeNames:
- string
nodeSelectType: string
scriptArgs: string
scriptName: string
scriptPath: string
clusterName: string
clusterType: string
deletionProtection: false
deployMode: string
logCollectStrategy: string
nodeAttributes:
- dataDiskEncrypted: false
dataDiskKmsKeyId: string
keyPairName: string
ramRole: string
securityGroupId: string
vpcId: string
zoneId: string
nodeGroups:
- ackConfig:
ackInstanceId: string
customAnnotations:
- key: string
value: string
customLabels:
- key: string
value: string
limitCpu: 0
limitMemory: 0
namespace: string
nodeAffinity: string
nodeSelectors:
- key: string
value: string
podAffinity: string
podAntiAffinity: string
preStartCommands:
- string
pvcs:
- dataDiskSize: 0
dataDiskStorageClass: string
name: string
path: string
requestCpu: 0
requestMemory: 0
tolerations:
- effect: string
key: string
operator: string
value: string
volumeMounts:
- name: string
path: string
volumes:
- name: string
path: string
type: string
additionalSecurityGroupIds:
- string
autoScalingPolicy:
constraints:
maxCapacity: 0
minCapacity: 0
scalingRules:
- activityType: string
adjustmentType: string
adjustmentValue: 0
metricsTrigger:
conditionLogicOperator: string
conditions:
- comparisonOperator: string
metricName: string
statistics: string
tags:
- key: string
value: string
threshold: 0
coolDownInterval: 0
evaluationCount: 0
timeConstraints:
- endTime: string
startTime: string
timeWindow: 0
minAdjustmentValue: 0
ruleName: string
timeTrigger:
endTime: string
launchExpirationTime: 0
launchTime: string
recurrenceType: string
recurrenceValue: string
startTime: string
triggerType: string
costOptimizedConfig:
onDemandBaseCapacity: 0
onDemandPercentageAboveBaseCapacity: 0
spotInstancePools: 0
dataDisks:
- category: string
count: 0
performanceLevel: string
size: 0
deploymentSetStrategy: string
gracefulShutdown: false
instanceTypes:
- string
nodeCount: 0
nodeGroupName: string
nodeGroupType: string
nodeResizeStrategy: string
paymentType: string
spotBidPrices:
- bidPrice: 0
instanceType: string
spotInstanceRemedy: false
spotStrategy: string
subscriptionConfig:
autoPayOrder: false
autoRenew: false
autoRenewDuration: 0
autoRenewDurationUnit: string
paymentDuration: 0
paymentDurationUnit: string
systemDisk:
category: string
count: 0
performanceLevel: string
size: 0
vswitchIds:
- string
withPublicIp: false
paymentType: string
releaseVersion: string
resourceGroupId: string
securityMode: string
subscriptionConfig:
autoPayOrder: false
autoRenew: false
autoRenewDuration: 0
autoRenewDurationUnit: string
paymentDuration: 0
paymentDurationUnit: string
tags:
string: string
Cluster 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 Cluster resource accepts the following input properties:
- Applications List<string>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- Cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- Cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- Node
Attributes List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Attribute> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - Node
Groups List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - Release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- Application
Configs List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Application Config> - The application configurations of EMR cluster. See
application_configs
below. - Bootstrap
Scripts List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Bootstrap Script> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - Deletion
Protection bool - The deletion protection of EMR cluster.
- Deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- Log
Collect stringStrategy - The log collect strategy of EMR cluster.
- Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - Resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- Security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- Subscription
Config Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Applications []string
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- Cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- Cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- Node
Attributes []ClusterNode Attribute Args - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - Node
Groups []ClusterNode Group Args - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - Release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- Application
Configs []ClusterApplication Config Args - The application configurations of EMR cluster. See
application_configs
below. - Bootstrap
Scripts []ClusterBootstrap Script Args - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - Deletion
Protection bool - The deletion protection of EMR cluster.
- Deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- Log
Collect stringStrategy - The log collect strategy of EMR cluster.
- Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - Resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- Security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- Subscription
Config ClusterSubscription Config Args - The detail configuration of subscription payment type. See
subscription_config
below. - map[string]string
- A mapping of tags to assign to the resource.
- applications List<String>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- cluster
Name String - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type String - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- node
Attributes List<ClusterNode Attribute> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups List<ClusterNode Group> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - release
Version String - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- application
Configs List<ClusterApplication Config> - The application configurations of EMR cluster. See
application_configs
below. - bootstrap
Scripts List<ClusterBootstrap Script> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - deletion
Protection Boolean - The deletion protection of EMR cluster.
- deploy
Mode String - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect StringStrategy - The log collect strategy of EMR cluster.
- payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - resource
Group StringId - The Id of resource group which the emr-cluster belongs.
- security
Mode String - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config ClusterSubscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Map<String,String>
- A mapping of tags to assign to the resource.
- applications string[]
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- node
Attributes ClusterNode Attribute[] - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups ClusterNode Group[] - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- application
Configs ClusterApplication Config[] - The application configurations of EMR cluster. See
application_configs
below. - bootstrap
Scripts ClusterBootstrap Script[] - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - deletion
Protection boolean - The deletion protection of EMR cluster.
- deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect stringStrategy - The log collect strategy of EMR cluster.
- payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config ClusterSubscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- applications Sequence[str]
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- cluster_
name str - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster_
type str - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- node_
attributes Sequence[ClusterNode Attribute Args] - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node_
groups Sequence[ClusterNode Group Args] - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - release_
version str - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- application_
configs Sequence[ClusterApplication Config Args] - The application configurations of EMR cluster. See
application_configs
below. - bootstrap_
scripts Sequence[ClusterBootstrap Script Args] - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - deletion_
protection bool - The deletion protection of EMR cluster.
- deploy_
mode str - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log_
collect_ strstrategy - The log collect strategy of EMR cluster.
- payment_
type str - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - resource_
group_ strid - The Id of resource group which the emr-cluster belongs.
- security_
mode str - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription_
config ClusterSubscription Config Args - The detail configuration of subscription payment type. See
subscription_config
below. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- applications List<String>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- cluster
Name String - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type String - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- node
Attributes List<Property Map> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups List<Property Map> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - release
Version String - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- application
Configs List<Property Map> - The application configurations of EMR cluster. See
application_configs
below. - bootstrap
Scripts List<Property Map> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - deletion
Protection Boolean - The deletion protection of EMR cluster.
- deploy
Mode String - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect StringStrategy - The log collect strategy of EMR cluster.
- payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - resource
Group StringId - The Id of resource group which the emr-cluster belongs.
- security
Mode String - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config Property Map - The detail configuration of subscription payment type. See
subscription_config
below. - Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Cluster Resource
Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_configs: Optional[Sequence[ClusterApplicationConfigArgs]] = None,
applications: Optional[Sequence[str]] = None,
bootstrap_scripts: Optional[Sequence[ClusterBootstrapScriptArgs]] = None,
cluster_name: Optional[str] = None,
cluster_type: Optional[str] = None,
deletion_protection: Optional[bool] = None,
deploy_mode: Optional[str] = None,
log_collect_strategy: Optional[str] = None,
node_attributes: Optional[Sequence[ClusterNodeAttributeArgs]] = None,
node_groups: Optional[Sequence[ClusterNodeGroupArgs]] = None,
payment_type: Optional[str] = None,
release_version: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_mode: Optional[str] = None,
subscription_config: Optional[ClusterSubscriptionConfigArgs] = None,
tags: Optional[Mapping[str, str]] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Application
Configs List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Application Config> - The application configurations of EMR cluster. See
application_configs
below. - Applications List<string>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- Bootstrap
Scripts List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Bootstrap Script> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - Cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- Cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- Deletion
Protection bool - The deletion protection of EMR cluster.
- Deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- Log
Collect stringStrategy - The log collect strategy of EMR cluster.
- Node
Attributes List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Attribute> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - Node
Groups List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - Release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- Resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- Security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- Subscription
Config Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Application
Configs []ClusterApplication Config Args - The application configurations of EMR cluster. See
application_configs
below. - Applications []string
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- Bootstrap
Scripts []ClusterBootstrap Script Args - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - Cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- Cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- Deletion
Protection bool - The deletion protection of EMR cluster.
- Deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- Log
Collect stringStrategy - The log collect strategy of EMR cluster.
- Node
Attributes []ClusterNode Attribute Args - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - Node
Groups []ClusterNode Group Args - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - Release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- Resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- Security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- Subscription
Config ClusterSubscription Config Args - The detail configuration of subscription payment type. See
subscription_config
below. - map[string]string
- A mapping of tags to assign to the resource.
- application
Configs List<ClusterApplication Config> - The application configurations of EMR cluster. See
application_configs
below. - applications List<String>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- bootstrap
Scripts List<ClusterBootstrap Script> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - cluster
Name String - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type String - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- deletion
Protection Boolean - The deletion protection of EMR cluster.
- deploy
Mode String - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect StringStrategy - The log collect strategy of EMR cluster.
- node
Attributes List<ClusterNode Attribute> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups List<ClusterNode Group> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - release
Version String - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- resource
Group StringId - The Id of resource group which the emr-cluster belongs.
- security
Mode String - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config ClusterSubscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Map<String,String>
- A mapping of tags to assign to the resource.
- application
Configs ClusterApplication Config[] - The application configurations of EMR cluster. See
application_configs
below. - applications string[]
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- bootstrap
Scripts ClusterBootstrap Script[] - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - cluster
Name string - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type string - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- deletion
Protection boolean - The deletion protection of EMR cluster.
- deploy
Mode string - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect stringStrategy - The log collect strategy of EMR cluster.
- node
Attributes ClusterNode Attribute[] - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups ClusterNode Group[] - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - release
Version string - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- resource
Group stringId - The Id of resource group which the emr-cluster belongs.
- security
Mode string - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config ClusterSubscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - {[key: string]: string}
- A mapping of tags to assign to the resource.
- application_
configs Sequence[ClusterApplication Config Args] - The application configurations of EMR cluster. See
application_configs
below. - applications Sequence[str]
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- bootstrap_
scripts Sequence[ClusterBootstrap Script Args] - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - cluster_
name str - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster_
type str - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- deletion_
protection bool - The deletion protection of EMR cluster.
- deploy_
mode str - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log_
collect_ strstrategy - The log collect strategy of EMR cluster.
- node_
attributes Sequence[ClusterNode Attribute Args] - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node_
groups Sequence[ClusterNode Group Args] - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - payment_
type str - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - release_
version str - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- resource_
group_ strid - The Id of resource group which the emr-cluster belongs.
- security_
mode str - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription_
config ClusterSubscription Config Args - The detail configuration of subscription payment type. See
subscription_config
below. - Mapping[str, str]
- A mapping of tags to assign to the resource.
- application
Configs List<Property Map> - The application configurations of EMR cluster. See
application_configs
below. - applications List<String>
- The applications of EMR cluster to be installed, e.g. HADOOP-COMMON, HDFS, YARN, HIVE, SPARK2, SPARK3, ZOOKEEPER etc. You can find all valid applications in emr web console.
- bootstrap
Scripts List<Property Map> - The bootstrap scripts to be effected when creating emr-cluster or resize emr-cluster, if priority is not specified, the scripts will execute in the declared order. See
bootstrap_scripts
below. - cluster
Name String - The name of emr cluster. The name length must be less than 64. Supported characters: chinese character, english character, number, "-", "_".
- cluster
Type String - EMR Cluster Type, e.g. DATALAKE, OLAP, DATAFLOW, DATASERVING, CUSTOM etc. You can find all valid EMR cluster type in emr web console.
- deletion
Protection Boolean - The deletion protection of EMR cluster.
- deploy
Mode String - The deploy mode of EMR cluster. Supported value: NORMAL or HA.
- log
Collect StringStrategy - The log collect strategy of EMR cluster.
- node
Attributes List<Property Map> - The node attributes of ecs instances which the emr-cluster belongs. See
node_attributes
below. - node
Groups List<Property Map> - Groups of node, You can specify MASTER as a group, CORE as a group (just like the above example). See
node_groups
below. NOTE: Since version 1.227.0, the type ofnode_groups
changed from Set to List. - payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription. NOTE: From version 1.227.0,
payment_type
can be modified. - release
Version String - EMR Version, e.g. EMR-5.10.0. You can find the all valid EMR Version in emr web console.
- resource
Group StringId - The Id of resource group which the emr-cluster belongs.
- security
Mode String - The security mode of EMR cluster. Supported value: NORMAL or KERBEROS.
- subscription
Config Property Map - The detail configuration of subscription payment type. See
subscription_config
below. - Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
ClusterApplicationConfig, ClusterApplicationConfigArgs
- Application
Name string - The application name of EMR cluster which has installed.
- Config
File stringName - The configuration file name of application installed.
- Config
Item stringKey - The configuration item key of application installed.
- Config
Item stringValue - The configuration item value of application installed.
- Config
Description string - The configuration description of application installed.
- Config
Scope string - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- Node
Group stringId - The configuration effected which node group id of emr cluster.
- Node
Group stringName - The configuration effected which node group name of emr cluster.
- Application
Name string - The application name of EMR cluster which has installed.
- Config
File stringName - The configuration file name of application installed.
- Config
Item stringKey - The configuration item key of application installed.
- Config
Item stringValue - The configuration item value of application installed.
- Config
Description string - The configuration description of application installed.
- Config
Scope string - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- Node
Group stringId - The configuration effected which node group id of emr cluster.
- Node
Group stringName - The configuration effected which node group name of emr cluster.
- application
Name String - The application name of EMR cluster which has installed.
- config
File StringName - The configuration file name of application installed.
- config
Item StringKey - The configuration item key of application installed.
- config
Item StringValue - The configuration item value of application installed.
- config
Description String - The configuration description of application installed.
- config
Scope String - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- node
Group StringId - The configuration effected which node group id of emr cluster.
- node
Group StringName - The configuration effected which node group name of emr cluster.
- application
Name string - The application name of EMR cluster which has installed.
- config
File stringName - The configuration file name of application installed.
- config
Item stringKey - The configuration item key of application installed.
- config
Item stringValue - The configuration item value of application installed.
- config
Description string - The configuration description of application installed.
- config
Scope string - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- node
Group stringId - The configuration effected which node group id of emr cluster.
- node
Group stringName - The configuration effected which node group name of emr cluster.
- application_
name str - The application name of EMR cluster which has installed.
- config_
file_ strname - The configuration file name of application installed.
- config_
item_ strkey - The configuration item key of application installed.
- config_
item_ strvalue - The configuration item value of application installed.
- config_
description str - The configuration description of application installed.
- config_
scope str - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- node_
group_ strid - The configuration effected which node group id of emr cluster.
- node_
group_ strname - The configuration effected which node group name of emr cluster.
- application
Name String - The application name of EMR cluster which has installed.
- config
File StringName - The configuration file name of application installed.
- config
Item StringKey - The configuration item key of application installed.
- config
Item StringValue - The configuration item value of application installed.
- config
Description String - The configuration description of application installed.
- config
Scope String - The configuration scope of emr cluster. Supported value: CLUSTER or NODEGROUP.
- node
Group StringId - The configuration effected which node group id of emr cluster.
- node
Group StringName - The configuration effected which node group name of emr cluster.
ClusterBootstrapScript, ClusterBootstrapScriptArgs
- Execution
Fail stringStrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- Execution
Moment string - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- Node
Selector Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Bootstrap Script Node Selector - The bootstrap scripts execution target. See
node_selector
below. - Script
Args string - The bootstrap script args, e.g. "--a=b".
- Script
Name string - The bootstrap script name.
- Script
Path string - The bootstrap script path, e.g. "oss://bucket/path".
- Priority int
- The bootstrap scripts priority.
- Execution
Fail stringStrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- Execution
Moment string - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- Node
Selector ClusterBootstrap Script Node Selector - The bootstrap scripts execution target. See
node_selector
below. - Script
Args string - The bootstrap script args, e.g. "--a=b".
- Script
Name string - The bootstrap script name.
- Script
Path string - The bootstrap script path, e.g. "oss://bucket/path".
- Priority int
- The bootstrap scripts priority.
- execution
Fail StringStrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- execution
Moment String - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- node
Selector ClusterBootstrap Script Node Selector - The bootstrap scripts execution target. See
node_selector
below. - script
Args String - The bootstrap script args, e.g. "--a=b".
- script
Name String - The bootstrap script name.
- script
Path String - The bootstrap script path, e.g. "oss://bucket/path".
- priority Integer
- The bootstrap scripts priority.
- execution
Fail stringStrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- execution
Moment string - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- node
Selector ClusterBootstrap Script Node Selector - The bootstrap scripts execution target. See
node_selector
below. - script
Args string - The bootstrap script args, e.g. "--a=b".
- script
Name string - The bootstrap script name.
- script
Path string - The bootstrap script path, e.g. "oss://bucket/path".
- priority number
- The bootstrap scripts priority.
- execution_
fail_ strstrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- execution_
moment str - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- node_
selector ClusterBootstrap Script Node Selector - The bootstrap scripts execution target. See
node_selector
below. - script_
args str - The bootstrap script args, e.g. "--a=b".
- script_
name str - The bootstrap script name.
- script_
path str - The bootstrap script path, e.g. "oss://bucket/path".
- priority int
- The bootstrap scripts priority.
- execution
Fail StringStrategy - The bootstrap scripts execution fail strategy, ’FAILED_BLOCK’ or ‘FAILED_CONTINUE’ .
- execution
Moment String - The bootstrap scripts execution moment, ’BEFORE_INSTALL’ or ‘AFTER_STARTED’ .
- node
Selector Property Map - The bootstrap scripts execution target. See
node_selector
below. - script
Args String - The bootstrap script args, e.g. "--a=b".
- script
Name String - The bootstrap script name.
- script
Path String - The bootstrap script path, e.g. "oss://bucket/path".
- priority Number
- The bootstrap scripts priority.
ClusterBootstrapScriptNodeSelector, ClusterBootstrapScriptNodeSelectorArgs
- Node
Select stringType - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- Node
Group stringId - Node
Group List<string>Ids - The bootstrap scripts execution target node group ids.
- Node
Group stringName - Node
Group List<string>Names - The bootstrap scripts execution target node group names.
- Node
Group List<string>Types - The bootstrap scripts execution target node group types.
- Node
Names List<string> - The bootstrap scripts execution target node names.
- Node
Select stringType - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- Node
Group stringId - Node
Group []stringIds - The bootstrap scripts execution target node group ids.
- Node
Group stringName - Node
Group []stringNames - The bootstrap scripts execution target node group names.
- Node
Group []stringTypes - The bootstrap scripts execution target node group types.
- Node
Names []string - The bootstrap scripts execution target node names.
- node
Select StringType - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- node
Group StringId - node
Group List<String>Ids - The bootstrap scripts execution target node group ids.
- node
Group StringName - node
Group List<String>Names - The bootstrap scripts execution target node group names.
- node
Group List<String>Types - The bootstrap scripts execution target node group types.
- node
Names List<String> - The bootstrap scripts execution target node names.
- node
Select stringType - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- node
Group stringId - node
Group string[]Ids - The bootstrap scripts execution target node group ids.
- node
Group stringName - node
Group string[]Names - The bootstrap scripts execution target node group names.
- node
Group string[]Types - The bootstrap scripts execution target node group types.
- node
Names string[] - The bootstrap scripts execution target node names.
- node_
select_ strtype - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- node_
group_ strid - node_
group_ Sequence[str]ids - The bootstrap scripts execution target node group ids.
- node_
group_ strname - node_
group_ Sequence[str]names - The bootstrap scripts execution target node group names.
- node_
group_ Sequence[str]types - The bootstrap scripts execution target node group types.
- node_
names Sequence[str] - The bootstrap scripts execution target node names.
- node
Select StringType - The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
- node
Group StringId - node
Group List<String>Ids - The bootstrap scripts execution target node group ids.
- node
Group StringName - node
Group List<String>Names - The bootstrap scripts execution target node group names.
- node
Group List<String>Types - The bootstrap scripts execution target node group types.
- node
Names List<String> - The bootstrap scripts execution target node names.
ClusterNodeAttribute, ClusterNodeAttributeArgs
- Key
Pair stringName - The name of the key pair.
- Ram
Role string - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- Security
Group stringId - Security Group ID for Cluster.
- Vpc
Id string - Used to retrieve instances belong to specified VPC.
- Zone
Id string - Zone ID, e.g. cn-hangzhou-i
- Data
Disk boolEncrypted - Whether to enable data disk encryption.
- Data
Disk stringKms Key Id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
- Key
Pair stringName - The name of the key pair.
- Ram
Role string - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- Security
Group stringId - Security Group ID for Cluster.
- Vpc
Id string - Used to retrieve instances belong to specified VPC.
- Zone
Id string - Zone ID, e.g. cn-hangzhou-i
- Data
Disk boolEncrypted - Whether to enable data disk encryption.
- Data
Disk stringKms Key Id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
- key
Pair StringName - The name of the key pair.
- ram
Role String - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- security
Group StringId - Security Group ID for Cluster.
- vpc
Id String - Used to retrieve instances belong to specified VPC.
- zone
Id String - Zone ID, e.g. cn-hangzhou-i
- data
Disk BooleanEncrypted - Whether to enable data disk encryption.
- data
Disk StringKms Key Id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
- key
Pair stringName - The name of the key pair.
- ram
Role string - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- security
Group stringId - Security Group ID for Cluster.
- vpc
Id string - Used to retrieve instances belong to specified VPC.
- zone
Id string - Zone ID, e.g. cn-hangzhou-i
- data
Disk booleanEncrypted - Whether to enable data disk encryption.
- data
Disk stringKms Key Id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
- key_
pair_ strname - The name of the key pair.
- ram_
role str - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- security_
group_ strid - Security Group ID for Cluster.
- vpc_
id str - Used to retrieve instances belong to specified VPC.
- zone_
id str - Zone ID, e.g. cn-hangzhou-i
- data_
disk_ boolencrypted - Whether to enable data disk encryption.
- data_
disk_ strkms_ key_ id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
- key
Pair StringName - The name of the key pair.
- ram
Role String - Alicloud EMR uses roles to perform actions on your behalf when provisioning cluster resources, running applications, dynamically scaling resources. EMR uses the following roles when interacting with other Alicloud services. Default value is AliyunEmrEcsDefaultRole.
- security
Group StringId - Security Group ID for Cluster.
- vpc
Id String - Used to retrieve instances belong to specified VPC.
- zone
Id String - Zone ID, e.g. cn-hangzhou-i
- data
Disk BooleanEncrypted - Whether to enable data disk encryption.
- data
Disk StringKms Key Id - The kms key id used to encrypt the data disk. It takes effect when data_disk_encrypted is true.
ClusterNodeGroup, ClusterNodeGroupArgs
- Data
Disks List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Data Disk> - Host Ecs data disks information in this node group. See
data_disks
below. - Instance
Types List<string> - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - Node
Count int - Host Ecs number in this node group.
- Node
Group stringName - The node group name of emr cluster.
- Node
Group stringType - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- System
Disk Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group System Disk - Host Ecs system disk information in this node group. See
system_disk
below. - Ack
Config Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - Additional
Security List<string>Group Ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - Auto
Scaling Pulumi.Policy Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - Cost
Optimized Pulumi.Config Ali Cloud. Emrv2. Inputs. Cluster Node Group Cost Optimized Config - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - Deployment
Set stringStrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - Graceful
Shutdown bool - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- Node
Resize stringStrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- Spot
Bid List<Pulumi.Prices Ali Cloud. Emrv2. Inputs. Cluster Node Group Spot Bid Price> - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - Spot
Instance boolRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- Spot
Strategy string - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - Subscription
Config Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Vswitch
Ids List<string> - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - With
Public boolIp - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
- Data
Disks []ClusterNode Group Data Disk - Host Ecs data disks information in this node group. See
data_disks
below. - Instance
Types []string - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - Node
Count int - Host Ecs number in this node group.
- Node
Group stringName - The node group name of emr cluster.
- Node
Group stringType - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- System
Disk ClusterNode Group System Disk - Host Ecs system disk information in this node group. See
system_disk
below. - Ack
Config ClusterNode Group Ack Config - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - Additional
Security []stringGroup Ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - Auto
Scaling ClusterPolicy Node Group Auto Scaling Policy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - Cost
Optimized ClusterConfig Node Group Cost Optimized Config - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - Deployment
Set stringStrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - Graceful
Shutdown bool - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- Node
Resize stringStrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- Payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- Spot
Bid []ClusterPrices Node Group Spot Bid Price - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - Spot
Instance boolRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- Spot
Strategy string - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - Subscription
Config ClusterNode Group Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - Vswitch
Ids []string - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - With
Public boolIp - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
- data
Disks List<ClusterNode Group Data Disk> - Host Ecs data disks information in this node group. See
data_disks
below. - instance
Types List<String> - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - node
Count Integer - Host Ecs number in this node group.
- node
Group StringName - The node group name of emr cluster.
- node
Group StringType - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- system
Disk ClusterNode Group System Disk - Host Ecs system disk information in this node group. See
system_disk
below. - ack
Config ClusterNode Group Ack Config - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - additional
Security List<String>Group Ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - auto
Scaling ClusterPolicy Node Group Auto Scaling Policy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - cost
Optimized ClusterConfig Node Group Cost Optimized Config - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - deployment
Set StringStrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - graceful
Shutdown Boolean - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- node
Resize StringStrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- spot
Bid List<ClusterPrices Node Group Spot Bid Price> - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - spot
Instance BooleanRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- spot
Strategy String - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - subscription
Config ClusterNode Group Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - vswitch
Ids List<String> - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - with
Public BooleanIp - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
- data
Disks ClusterNode Group Data Disk[] - Host Ecs data disks information in this node group. See
data_disks
below. - instance
Types string[] - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - node
Count number - Host Ecs number in this node group.
- node
Group stringName - The node group name of emr cluster.
- node
Group stringType - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- system
Disk ClusterNode Group System Disk - Host Ecs system disk information in this node group. See
system_disk
below. - ack
Config ClusterNode Group Ack Config - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - additional
Security string[]Group Ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - auto
Scaling ClusterPolicy Node Group Auto Scaling Policy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - cost
Optimized ClusterConfig Node Group Cost Optimized Config - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - deployment
Set stringStrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - graceful
Shutdown boolean - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- node
Resize stringStrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- payment
Type string - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- spot
Bid ClusterPrices Node Group Spot Bid Price[] - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - spot
Instance booleanRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- spot
Strategy string - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - subscription
Config ClusterNode Group Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - vswitch
Ids string[] - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - with
Public booleanIp - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
- data_
disks Sequence[ClusterNode Group Data Disk] - Host Ecs data disks information in this node group. See
data_disks
below. - instance_
types Sequence[str] - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - node_
count int - Host Ecs number in this node group.
- node_
group_ strname - The node group name of emr cluster.
- node_
group_ strtype - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- system_
disk ClusterNode Group System Disk - Host Ecs system disk information in this node group. See
system_disk
below. - ack_
config ClusterNode Group Ack Config - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - additional_
security_ Sequence[str]group_ ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - auto_
scaling_ Clusterpolicy Node Group Auto Scaling Policy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - cost_
optimized_ Clusterconfig Node Group Cost Optimized Config - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - deployment_
set_ strstrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - graceful_
shutdown bool - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- node_
resize_ strstrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- payment_
type str - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- spot_
bid_ Sequence[Clusterprices Node Group Spot Bid Price] - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - spot_
instance_ boolremedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- spot_
strategy str - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - subscription_
config ClusterNode Group Subscription Config - The detail configuration of subscription payment type. See
subscription_config
below. - vswitch_
ids Sequence[str] - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - with_
public_ boolip - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
- data
Disks List<Property Map> - Host Ecs data disks information in this node group. See
data_disks
below. - instance
Types List<String> - Host Ecs instance types. NOTE: From version 1.236.0,
instance_types
can be modified. - node
Count Number - Host Ecs number in this node group.
- node
Group StringName - The node group name of emr cluster.
- node
Group StringType - The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
- system
Disk Property Map - Host Ecs system disk information in this node group. See
system_disk
below. - ack
Config Property Map - The node group of ack configuration for emr cluster to deploying on kubernetes. See
ack_config
below. - additional
Security List<String>Group Ids - Additional security Group IDS for Cluster, you can also specify this key for each node group. NOTE: From version 1.236.0,
additional_security_group_ids
can be modified. - auto
Scaling Property MapPolicy - The node group auto scaling policy for emr cluster. See
auto_scaling_policy
below. - cost
Optimized Property MapConfig - The detail cost optimized configuration of emr cluster. See
cost_optimized_config
below. NOTE: From version 1.236.0,cost_optimized_config
can be modified. - deployment
Set StringStrategy - Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP. NOTE: From version 1.236.0,
deployment_set_strategy
can be modified. - graceful
Shutdown Boolean - Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
- node
Resize StringStrategy - Node resize strategy for this cluster node group. Supported value: PRIORITY, COST_OPTIMIZED.
- payment
Type String - Payment Type for this cluster. Supported value: PayAsYouGo or Subscription.
- spot
Bid List<Property Map>Prices - The spot bid prices of a PayAsYouGo instance. See
spot_bid_prices
below. - spot
Instance BooleanRemedy - Whether to replace spot instances with newly created spot/onDemand instance when receive a spot recycling message.
- spot
Strategy String - The spot strategy configuration of emr cluster. Valid values:
NoSpot
,SpotWithPriceLimit
,SpotAsPriceGo
. - subscription
Config Property Map - The detail configuration of subscription payment type. See
subscription_config
below. - vswitch
Ids List<String> - Global vSwitch ids, you can also specify it in node group. NOTE: From version 1.236.0,
vswitch_ids
can be modified. - with
Public BooleanIp - Whether the node has a public IP address enabled. NOTE: From version 1.236.0,
with_public_ip
can be modified.
ClusterNodeGroupAckConfig, ClusterNodeGroupAckConfigArgs
- Ack
Instance stringId - The ack cluster instance id.
- Limit
Cpu double - The job pod resource of limit cpu.
- Limit
Memory double - The job pod resource of limit memory.
- Namespace string
- The ack cluster namespace.
- Request
Cpu double - The job pod resource of request cpu.
- Request
Memory double - The job pod resource of request memory.
- Custom
Annotations List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Custom Annotation> - The ack cluster custom annotations. See
custom_annotations
below. - Custom
Labels List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Custom Label> - The ack cluster custom labels. See
custom_labels
below. - Node
Affinity string - The ack cluster node affinity.
- Node
Selectors List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Node Selector> - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - Pod
Affinity string - The job pod affinity.
- Pod
Anti stringAffinity - The job pod anti-affinity.
- Pre
Start List<string>Commands - The job pod pre start command.
- Pvcs
List<Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Pvc> - The ack cluster persistent volume claim. See
pvcs
below. - Tolerations
List<Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Toleration> - The ack cluster tolerations. See
tolerations
below. - Volume
Mounts List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Volume Mount> - The ack cluster volume mounts. See
volume_mounts
below. - Volumes
List<Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Ack Config Volume> - The ack cluster volumes. See
volumes
below.
- Ack
Instance stringId - The ack cluster instance id.
- Limit
Cpu float64 - The job pod resource of limit cpu.
- Limit
Memory float64 - The job pod resource of limit memory.
- Namespace string
- The ack cluster namespace.
- Request
Cpu float64 - The job pod resource of request cpu.
- Request
Memory float64 - The job pod resource of request memory.
- Custom
Annotations []ClusterNode Group Ack Config Custom Annotation - The ack cluster custom annotations. See
custom_annotations
below. - Custom
Labels []ClusterNode Group Ack Config Custom Label - The ack cluster custom labels. See
custom_labels
below. - Node
Affinity string - The ack cluster node affinity.
- Node
Selectors []ClusterNode Group Ack Config Node Selector - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - Pod
Affinity string - The job pod affinity.
- Pod
Anti stringAffinity - The job pod anti-affinity.
- Pre
Start []stringCommands - The job pod pre start command.
- Pvcs
[]Cluster
Node Group Ack Config Pvc - The ack cluster persistent volume claim. See
pvcs
below. - Tolerations
[]Cluster
Node Group Ack Config Toleration - The ack cluster tolerations. See
tolerations
below. - Volume
Mounts []ClusterNode Group Ack Config Volume Mount - The ack cluster volume mounts. See
volume_mounts
below. - Volumes
[]Cluster
Node Group Ack Config Volume - The ack cluster volumes. See
volumes
below.
- ack
Instance StringId - The ack cluster instance id.
- limit
Cpu Double - The job pod resource of limit cpu.
- limit
Memory Double - The job pod resource of limit memory.
- namespace String
- The ack cluster namespace.
- request
Cpu Double - The job pod resource of request cpu.
- request
Memory Double - The job pod resource of request memory.
- custom
Annotations List<ClusterNode Group Ack Config Custom Annotation> - The ack cluster custom annotations. See
custom_annotations
below. - custom
Labels List<ClusterNode Group Ack Config Custom Label> - The ack cluster custom labels. See
custom_labels
below. - node
Affinity String - The ack cluster node affinity.
- node
Selectors List<ClusterNode Group Ack Config Node Selector> - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - pod
Affinity String - The job pod affinity.
- pod
Anti StringAffinity - The job pod anti-affinity.
- pre
Start List<String>Commands - The job pod pre start command.
- pvcs
List<Cluster
Node Group Ack Config Pvc> - The ack cluster persistent volume claim. See
pvcs
below. - tolerations
List<Cluster
Node Group Ack Config Toleration> - The ack cluster tolerations. See
tolerations
below. - volume
Mounts List<ClusterNode Group Ack Config Volume Mount> - The ack cluster volume mounts. See
volume_mounts
below. - volumes
List<Cluster
Node Group Ack Config Volume> - The ack cluster volumes. See
volumes
below.
- ack
Instance stringId - The ack cluster instance id.
- limit
Cpu number - The job pod resource of limit cpu.
- limit
Memory number - The job pod resource of limit memory.
- namespace string
- The ack cluster namespace.
- request
Cpu number - The job pod resource of request cpu.
- request
Memory number - The job pod resource of request memory.
- custom
Annotations ClusterNode Group Ack Config Custom Annotation[] - The ack cluster custom annotations. See
custom_annotations
below. - custom
Labels ClusterNode Group Ack Config Custom Label[] - The ack cluster custom labels. See
custom_labels
below. - node
Affinity string - The ack cluster node affinity.
- node
Selectors ClusterNode Group Ack Config Node Selector[] - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - pod
Affinity string - The job pod affinity.
- pod
Anti stringAffinity - The job pod anti-affinity.
- pre
Start string[]Commands - The job pod pre start command.
- pvcs
Cluster
Node Group Ack Config Pvc[] - The ack cluster persistent volume claim. See
pvcs
below. - tolerations
Cluster
Node Group Ack Config Toleration[] - The ack cluster tolerations. See
tolerations
below. - volume
Mounts ClusterNode Group Ack Config Volume Mount[] - The ack cluster volume mounts. See
volume_mounts
below. - volumes
Cluster
Node Group Ack Config Volume[] - The ack cluster volumes. See
volumes
below.
- ack_
instance_ strid - The ack cluster instance id.
- limit_
cpu float - The job pod resource of limit cpu.
- limit_
memory float - The job pod resource of limit memory.
- namespace str
- The ack cluster namespace.
- request_
cpu float - The job pod resource of request cpu.
- request_
memory float - The job pod resource of request memory.
- custom_
annotations Sequence[ClusterNode Group Ack Config Custom Annotation] - The ack cluster custom annotations. See
custom_annotations
below. - custom_
labels Sequence[ClusterNode Group Ack Config Custom Label] - The ack cluster custom labels. See
custom_labels
below. - node_
affinity str - The ack cluster node affinity.
- node_
selectors Sequence[ClusterNode Group Ack Config Node Selector] - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - pod_
affinity str - The job pod affinity.
- pod_
anti_ straffinity - The job pod anti-affinity.
- pre_
start_ Sequence[str]commands - The job pod pre start command.
- pvcs
Sequence[Cluster
Node Group Ack Config Pvc] - The ack cluster persistent volume claim. See
pvcs
below. - tolerations
Sequence[Cluster
Node Group Ack Config Toleration] - The ack cluster tolerations. See
tolerations
below. - volume_
mounts Sequence[ClusterNode Group Ack Config Volume Mount] - The ack cluster volume mounts. See
volume_mounts
below. - volumes
Sequence[Cluster
Node Group Ack Config Volume] - The ack cluster volumes. See
volumes
below.
- ack
Instance StringId - The ack cluster instance id.
- limit
Cpu Number - The job pod resource of limit cpu.
- limit
Memory Number - The job pod resource of limit memory.
- namespace String
- The ack cluster namespace.
- request
Cpu Number - The job pod resource of request cpu.
- request
Memory Number - The job pod resource of request memory.
- custom
Annotations List<Property Map> - The ack cluster custom annotations. See
custom_annotations
below. - custom
Labels List<Property Map> - The ack cluster custom labels. See
custom_labels
below. - node
Affinity String - The ack cluster node affinity.
- node
Selectors List<Property Map> - The ack cluster node selectors for job pods scheduling. See
node_selectors
below. - pod
Affinity String - The job pod affinity.
- pod
Anti StringAffinity - The job pod anti-affinity.
- pre
Start List<String>Commands - The job pod pre start command.
- pvcs List<Property Map>
- The ack cluster persistent volume claim. See
pvcs
below. - tolerations List<Property Map>
- The ack cluster tolerations. See
tolerations
below. - volume
Mounts List<Property Map> - The ack cluster volume mounts. See
volume_mounts
below. - volumes List<Property Map>
- The ack cluster volumes. See
volumes
below.
ClusterNodeGroupAckConfigCustomAnnotation, ClusterNodeGroupAckConfigCustomAnnotationArgs
ClusterNodeGroupAckConfigCustomLabel, ClusterNodeGroupAckConfigCustomLabelArgs
ClusterNodeGroupAckConfigNodeSelector, ClusterNodeGroupAckConfigNodeSelectorArgs
ClusterNodeGroupAckConfigPvc, ClusterNodeGroupAckConfigPvcArgs
- Data
Disk intSize - The ack cluster job pod data disk size of persistent volume claim.
- Data
Disk stringStorage Class - The ack cluster job pod data disk storage class of persistent volume claim.
- Name string
- The name of ack cluster job pod volume mounts.
- Path string
- The path of ack cluster job pod volume mounts.
- Data
Disk intSize - The ack cluster job pod data disk size of persistent volume claim.
- Data
Disk stringStorage Class - The ack cluster job pod data disk storage class of persistent volume claim.
- Name string
- The name of ack cluster job pod volume mounts.
- Path string
- The path of ack cluster job pod volume mounts.
- data
Disk IntegerSize - The ack cluster job pod data disk size of persistent volume claim.
- data
Disk StringStorage Class - The ack cluster job pod data disk storage class of persistent volume claim.
- name String
- The name of ack cluster job pod volume mounts.
- path String
- The path of ack cluster job pod volume mounts.
- data
Disk numberSize - The ack cluster job pod data disk size of persistent volume claim.
- data
Disk stringStorage Class - The ack cluster job pod data disk storage class of persistent volume claim.
- name string
- The name of ack cluster job pod volume mounts.
- path string
- The path of ack cluster job pod volume mounts.
- data_
disk_ intsize - The ack cluster job pod data disk size of persistent volume claim.
- data_
disk_ strstorage_ class - The ack cluster job pod data disk storage class of persistent volume claim.
- name str
- The name of ack cluster job pod volume mounts.
- path str
- The path of ack cluster job pod volume mounts.
- data
Disk NumberSize - The ack cluster job pod data disk size of persistent volume claim.
- data
Disk StringStorage Class - The ack cluster job pod data disk storage class of persistent volume claim.
- name String
- The name of ack cluster job pod volume mounts.
- path String
- The path of ack cluster job pod volume mounts.
ClusterNodeGroupAckConfigToleration, ClusterNodeGroupAckConfigTolerationArgs
ClusterNodeGroupAckConfigVolume, ClusterNodeGroupAckConfigVolumeArgs
ClusterNodeGroupAckConfigVolumeMount, ClusterNodeGroupAckConfigVolumeMountArgs
ClusterNodeGroupAutoScalingPolicy, ClusterNodeGroupAutoScalingPolicyArgs
- Constraints
Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Constraints - The constraints of auto scaling policy. See
constraints
below. - Scaling
Rules List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule> - The scaling rules of auto scaling policy. See
scaling_rules
below.
- Constraints
Cluster
Node Group Auto Scaling Policy Constraints - The constraints of auto scaling policy. See
constraints
below. - Scaling
Rules []ClusterNode Group Auto Scaling Policy Scaling Rule - The scaling rules of auto scaling policy. See
scaling_rules
below.
- constraints
Cluster
Node Group Auto Scaling Policy Constraints - The constraints of auto scaling policy. See
constraints
below. - scaling
Rules List<ClusterNode Group Auto Scaling Policy Scaling Rule> - The scaling rules of auto scaling policy. See
scaling_rules
below.
- constraints
Cluster
Node Group Auto Scaling Policy Constraints - The constraints of auto scaling policy. See
constraints
below. - scaling
Rules ClusterNode Group Auto Scaling Policy Scaling Rule[] - The scaling rules of auto scaling policy. See
scaling_rules
below.
- constraints
Cluster
Node Group Auto Scaling Policy Constraints - The constraints of auto scaling policy. See
constraints
below. - scaling_
rules Sequence[ClusterNode Group Auto Scaling Policy Scaling Rule] - The scaling rules of auto scaling policy. See
scaling_rules
below.
- constraints Property Map
- The constraints of auto scaling policy. See
constraints
below. - scaling
Rules List<Property Map> - The scaling rules of auto scaling policy. See
scaling_rules
below.
ClusterNodeGroupAutoScalingPolicyConstraints, ClusterNodeGroupAutoScalingPolicyConstraintsArgs
- Max
Capacity int - The maximum capacity of constraints for emr node group auto scaling policy.
- Min
Capacity int - The minimum capacity of constraints for emr node group auto scaling policy.
- Max
Capacity int - The maximum capacity of constraints for emr node group auto scaling policy.
- Min
Capacity int - The minimum capacity of constraints for emr node group auto scaling policy.
- max
Capacity Integer - The maximum capacity of constraints for emr node group auto scaling policy.
- min
Capacity Integer - The minimum capacity of constraints for emr node group auto scaling policy.
- max
Capacity number - The maximum capacity of constraints for emr node group auto scaling policy.
- min
Capacity number - The minimum capacity of constraints for emr node group auto scaling policy.
- max_
capacity int - The maximum capacity of constraints for emr node group auto scaling policy.
- min_
capacity int - The minimum capacity of constraints for emr node group auto scaling policy.
- max
Capacity Number - The maximum capacity of constraints for emr node group auto scaling policy.
- min
Capacity Number - The minimum capacity of constraints for emr node group auto scaling policy.
ClusterNodeGroupAutoScalingPolicyScalingRule, ClusterNodeGroupAutoScalingPolicyScalingRuleArgs
- Activity
Type string - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - Adjustment
Value int - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- Rule
Name string - The rule name of auto scaling policy.
- Trigger
Type string - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - Adjustment
Type string - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - Metrics
Trigger Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule Metrics Trigger - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - Min
Adjustment intValue - The minimum adjustment value of auto scaling policy.
- Time
Trigger Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule Time Trigger - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
- Activity
Type string - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - Adjustment
Value int - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- Rule
Name string - The rule name of auto scaling policy.
- Trigger
Type string - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - Adjustment
Type string - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - Metrics
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - Min
Adjustment intValue - The minimum adjustment value of auto scaling policy.
- Time
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Time Trigger - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
- activity
Type String - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - adjustment
Value Integer - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- rule
Name String - The rule name of auto scaling policy.
- trigger
Type String - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - adjustment
Type String - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - metrics
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - min
Adjustment IntegerValue - The minimum adjustment value of auto scaling policy.
- time
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Time Trigger - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
- activity
Type string - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - adjustment
Value number - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- rule
Name string - The rule name of auto scaling policy.
- trigger
Type string - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - adjustment
Type string - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - metrics
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - min
Adjustment numberValue - The minimum adjustment value of auto scaling policy.
- time
Trigger ClusterNode Group Auto Scaling Policy Scaling Rule Time Trigger - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
- activity_
type str - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - adjustment_
value int - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- rule_
name str - The rule name of auto scaling policy.
- trigger_
type str - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - adjustment_
type str - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - metrics_
trigger ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - min_
adjustment_ intvalue - The minimum adjustment value of auto scaling policy.
- time_
trigger ClusterNode Group Auto Scaling Policy Scaling Rule Time Trigger - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
- activity
Type String - The activity type of auto scaling policy. Valid values:
SCALE_OUT
andSCALE_IN
. - adjustment
Value Number - The adjustment value of auto scaling policy. The value should between 1 and 5000.
- rule
Name String - The rule name of auto scaling policy.
- trigger
Type String - The trigger type of auto scaling policy. Valid values:
TIME_TRIGGER
andMETRICS_TRIGGER
. - adjustment
Type String - The adjustment type of auto scaling policy. Valid values:
CHANGE_IN_CAPACITY
andEXACT_CAPACITY
. - metrics
Trigger Property Map - The trigger metrics of scaling rules for emr node group auto scaling policy. See
metrics_trigger
below. - min
Adjustment NumberValue - The minimum adjustment value of auto scaling policy.
- time
Trigger Property Map - The trigger time of scaling rules for emr node group auto scaling policy. See
time_trigger
below.
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTrigger, ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs
- Evaluation
Count int - The evaluation count for this scaling rule specific metrics trigger.
- Time
Window int - The time window for this scaling rule specific metrics trigger.
- Condition
Logic stringOperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - Conditions
List<Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition> - The conditions for this scaling rule specific metrics trigger. See
conditions
below. - Cool
Down intInterval - The time of cool down interval for this scaling rule specific metrics trigger.
- Time
Constraints List<Pulumi.Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Time Constraint> - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
- Evaluation
Count int - The evaluation count for this scaling rule specific metrics trigger.
- Time
Window int - The time window for this scaling rule specific metrics trigger.
- Condition
Logic stringOperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - Conditions
[]Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition - The conditions for this scaling rule specific metrics trigger. See
conditions
below. - Cool
Down intInterval - The time of cool down interval for this scaling rule specific metrics trigger.
- Time
Constraints []ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger Time Constraint - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
- evaluation
Count Integer - The evaluation count for this scaling rule specific metrics trigger.
- time
Window Integer - The time window for this scaling rule specific metrics trigger.
- condition
Logic StringOperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - conditions
List<Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition> - The conditions for this scaling rule specific metrics trigger. See
conditions
below. - cool
Down IntegerInterval - The time of cool down interval for this scaling rule specific metrics trigger.
- time
Constraints List<ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger Time Constraint> - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
- evaluation
Count number - The evaluation count for this scaling rule specific metrics trigger.
- time
Window number - The time window for this scaling rule specific metrics trigger.
- condition
Logic stringOperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - conditions
Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition[] - The conditions for this scaling rule specific metrics trigger. See
conditions
below. - cool
Down numberInterval - The time of cool down interval for this scaling rule specific metrics trigger.
- time
Constraints ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger Time Constraint[] - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
- evaluation_
count int - The evaluation count for this scaling rule specific metrics trigger.
- time_
window int - The time window for this scaling rule specific metrics trigger.
- condition_
logic_ stroperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - conditions
Sequence[Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition] - The conditions for this scaling rule specific metrics trigger. See
conditions
below. - cool_
down_ intinterval - The time of cool down interval for this scaling rule specific metrics trigger.
- time_
constraints Sequence[ClusterNode Group Auto Scaling Policy Scaling Rule Metrics Trigger Time Constraint] - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
- evaluation
Count Number - The evaluation count for this scaling rule specific metrics trigger.
- time
Window Number - The time window for this scaling rule specific metrics trigger.
- condition
Logic StringOperator - The condition logic operator for this scaling rule specific metrics trigger. Valid values:
And
andOr
. - conditions List<Property Map>
- The conditions for this scaling rule specific metrics trigger. See
conditions
below. - cool
Down NumberInterval - The time of cool down interval for this scaling rule specific metrics trigger.
- time
Constraints List<Property Map> - The time constraints for this scaling rule specific metrics trigger. See
time_constraints
below.
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerCondition, ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs
- Comparison
Operator string - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - Metric
Name string - The metric name for this scaling rule specific metrics trigger.
- Statistics string
- The statistics for this scaling rule specific metrics trigger.
- Threshold double
- The threshold for this scaling rule specific metrics trigger.
- List<Pulumi.
Ali Cloud. Emrv2. Inputs. Cluster Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition Tag> - A mapping of tags to assign to the resource.
- Comparison
Operator string - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - Metric
Name string - The metric name for this scaling rule specific metrics trigger.
- Statistics string
- The statistics for this scaling rule specific metrics trigger.
- Threshold float64
- The threshold for this scaling rule specific metrics trigger.
- []Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition Tag - A mapping of tags to assign to the resource.
- comparison
Operator String - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - metric
Name String - The metric name for this scaling rule specific metrics trigger.
- statistics String
- The statistics for this scaling rule specific metrics trigger.
- threshold Double
- The threshold for this scaling rule specific metrics trigger.
- List<Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition Tag> - A mapping of tags to assign to the resource.
- comparison
Operator string - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - metric
Name string - The metric name for this scaling rule specific metrics trigger.
- statistics string
- The statistics for this scaling rule specific metrics trigger.
- threshold number
- The threshold for this scaling rule specific metrics trigger.
- Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition Tag[] - A mapping of tags to assign to the resource.
- comparison_
operator str - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - metric_
name str - The metric name for this scaling rule specific metrics trigger.
- statistics str
- The statistics for this scaling rule specific metrics trigger.
- threshold float
- The threshold for this scaling rule specific metrics trigger.
- Sequence[Cluster
Node Group Auto Scaling Policy Scaling Rule Metrics Trigger Condition Tag] - A mapping of tags to assign to the resource.
- comparison
Operator String - The comparison operator for this scaling rule specific metrics trigger. Invalid values:
EQ
,NE
,GT
,LT
,GE
,LE
. - metric
Name String - The metric name for this scaling rule specific metrics trigger.
- statistics String
- The statistics for this scaling rule specific metrics trigger.
- threshold Number
- The threshold for this scaling rule specific metrics trigger.
- List<Property Map>
- A mapping of tags to assign to the resource.
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTag, ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs
ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraint, ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs
- end_
time str - The end time for this scaling rule specific metrics trigger.
- start_
time str - The start time for this scaling rule specific metrics trigger.
ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTrigger, ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs
- Launch
Time string - The launch time for this scaling rule specific time trigger.
- End
Time string - The end time for this scaling rule specific metrics trigger.
- Launch
Expiration intTime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- Recurrence
Type string - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - Recurrence
Value string - The recurrence value for this scaling rule specific time trigger.
- Start
Time string - The start time for this scaling rule specific metrics trigger.
- Launch
Time string - The launch time for this scaling rule specific time trigger.
- End
Time string - The end time for this scaling rule specific metrics trigger.
- Launch
Expiration intTime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- Recurrence
Type string - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - Recurrence
Value string - The recurrence value for this scaling rule specific time trigger.
- Start
Time string - The start time for this scaling rule specific metrics trigger.
- launch
Time String - The launch time for this scaling rule specific time trigger.
- end
Time String - The end time for this scaling rule specific metrics trigger.
- launch
Expiration IntegerTime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- recurrence
Type String - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - recurrence
Value String - The recurrence value for this scaling rule specific time trigger.
- start
Time String - The start time for this scaling rule specific metrics trigger.
- launch
Time string - The launch time for this scaling rule specific time trigger.
- end
Time string - The end time for this scaling rule specific metrics trigger.
- launch
Expiration numberTime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- recurrence
Type string - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - recurrence
Value string - The recurrence value for this scaling rule specific time trigger.
- start
Time string - The start time for this scaling rule specific metrics trigger.
- launch_
time str - The launch time for this scaling rule specific time trigger.
- end_
time str - The end time for this scaling rule specific metrics trigger.
- launch_
expiration_ inttime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- recurrence_
type str - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - recurrence_
value str - The recurrence value for this scaling rule specific time trigger.
- start_
time str - The start time for this scaling rule specific metrics trigger.
- launch
Time String - The launch time for this scaling rule specific time trigger.
- end
Time String - The end time for this scaling rule specific metrics trigger.
- launch
Expiration NumberTime - The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
- recurrence
Type String - The recurrence type for this scaling rule specific time trigger. Valid values:
MINUTELY
,HOURLY
,DAILY
,WEEKLY
,MONTHLY
. - recurrence
Value String - The recurrence value for this scaling rule specific time trigger.
- start
Time String - The start time for this scaling rule specific metrics trigger.
ClusterNodeGroupCostOptimizedConfig, ClusterNodeGroupCostOptimizedConfigArgs
- On
Demand intBase Capacity - The cost optimized configuration which on demand based capacity.
- On
Demand intPercentage Above Base Capacity - The cost optimized configuration which on demand percentage above based capacity.
- Spot
Instance intPools - The cost optimized configuration with spot instance pools.
- On
Demand intBase Capacity - The cost optimized configuration which on demand based capacity.
- On
Demand intPercentage Above Base Capacity - The cost optimized configuration which on demand percentage above based capacity.
- Spot
Instance intPools - The cost optimized configuration with spot instance pools.
- on
Demand IntegerBase Capacity - The cost optimized configuration which on demand based capacity.
- on
Demand IntegerPercentage Above Base Capacity - The cost optimized configuration which on demand percentage above based capacity.
- spot
Instance IntegerPools - The cost optimized configuration with spot instance pools.
- on
Demand numberBase Capacity - The cost optimized configuration which on demand based capacity.
- on
Demand numberPercentage Above Base Capacity - The cost optimized configuration which on demand percentage above based capacity.
- spot
Instance numberPools - The cost optimized configuration with spot instance pools.
- on_
demand_ intbase_ capacity - The cost optimized configuration which on demand based capacity.
- on_
demand_ intpercentage_ above_ base_ capacity - The cost optimized configuration which on demand percentage above based capacity.
- spot_
instance_ intpools - The cost optimized configuration with spot instance pools.
- on
Demand NumberBase Capacity - The cost optimized configuration which on demand based capacity.
- on
Demand NumberPercentage Above Base Capacity - The cost optimized configuration which on demand percentage above based capacity.
- spot
Instance NumberPools - The cost optimized configuration with spot instance pools.
ClusterNodeGroupDataDisk, ClusterNodeGroupDataDiskArgs
- Category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - Size int
- The size of a data disk, at least 40. Unit: GiB.
- Count int
- The count of a data disk.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- Category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - Size int
- The size of a data disk, at least 40. Unit: GiB.
- Count int
- The count of a data disk.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category String
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size Integer
- The size of a data disk, at least 40. Unit: GiB.
- count Integer
- The count of a data disk.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size number
- The size of a data disk, at least 40. Unit: GiB.
- count number
- The count of a data disk.
- performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category str
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size int
- The size of a data disk, at least 40. Unit: GiB.
- count int
- The count of a data disk.
- performance_
level str - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category String
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size Number
- The size of a data disk, at least 40. Unit: GiB.
- count Number
- The count of a data disk.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
ClusterNodeGroupSpotBidPrice, ClusterNodeGroupSpotBidPriceArgs
- Bid
Price int - The spot bid price of a PayAsYouGo instance.
- Instance
Type string - Host Ecs instance type.
- Bid
Price int - The spot bid price of a PayAsYouGo instance.
- Instance
Type string - Host Ecs instance type.
- bid
Price Integer - The spot bid price of a PayAsYouGo instance.
- instance
Type String - Host Ecs instance type.
- bid
Price number - The spot bid price of a PayAsYouGo instance.
- instance
Type string - Host Ecs instance type.
- bid_
price int - The spot bid price of a PayAsYouGo instance.
- instance_
type str - Host Ecs instance type.
- bid
Price Number - The spot bid price of a PayAsYouGo instance.
- instance
Type String - Host Ecs instance type.
ClusterNodeGroupSubscriptionConfig, ClusterNodeGroupSubscriptionConfigArgs
- Payment
Duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Auto
Pay boolOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- Auto
Renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- Auto
Renew intDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Payment
Duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Auto
Pay boolOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- Auto
Renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- Auto
Renew intDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration Integer - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration StringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay BooleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew Boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew IntegerDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew StringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration number - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay booleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew numberDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment_
duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment_
duration_ strunit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto_
pay_ boolorder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto_
renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto_
renew_ intduration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto_
renew_ strduration_ unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration Number - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration StringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay BooleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew Boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew NumberDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew StringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
ClusterNodeGroupSystemDisk, ClusterNodeGroupSystemDiskArgs
- Category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - Size int
- The size of a data disk, at least 40. Unit: GiB.
- Count int
- The count of a data disk.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- Category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - Size int
- The size of a data disk, at least 40. Unit: GiB.
- Count int
- The count of a data disk.
- Performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category String
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size Integer
- The size of a data disk, at least 40. Unit: GiB.
- count Integer
- The count of a data disk.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category string
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size number
- The size of a data disk, at least 40. Unit: GiB.
- count number
- The count of a data disk.
- performance
Level string - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category str
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size int
- The size of a data disk, at least 40. Unit: GiB.
- count int
- The count of a data disk.
- performance_
level str - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
- category String
- The type of the data disk. Valid values:
cloud_efficiency
,cloud_essd
,cloud
,local_hdd_pro
,local_disk
,local_ssd_pro
. NOTE: Since version v1.230.0, the categoriescloud
,local_hdd_pro
,local_disk
,local_ssd_pro
are available. - size Number
- The size of a data disk, at least 40. Unit: GiB.
- count Number
- The count of a data disk.
- performance
Level String - Worker node data disk performance level, when
category
valuescloud_essd
, the optional values arePL0
,PL1
,PL2
orPL3
, but the specific performance level is related to the disk capacity.
ClusterSubscriptionConfig, ClusterSubscriptionConfigArgs
- Payment
Duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Auto
Pay boolOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- Auto
Renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- Auto
Renew intDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Payment
Duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- Auto
Pay boolOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- Auto
Renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- Auto
Renew intDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- Auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration Integer - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration StringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay BooleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew Boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew IntegerDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew StringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration number - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration stringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay booleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew numberDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew stringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment_
duration int - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment_
duration_ strunit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto_
pay_ boolorder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto_
renew bool - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto_
renew_ intduration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto_
renew_ strduration_ unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- payment
Duration Number - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- payment
Duration StringUnit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
- auto
Pay BooleanOrder - Auto pay order for payment type of subscription, ’true’ or ‘false’ . Default value is ’true’.
- auto
Renew Boolean - Auto renew for prepaid, ’true’ or ‘false’ . Default value: false.
- auto
Renew NumberDuration - If paymentType is Subscription, this should be specified. Supported value: 1、2、3、4、5、6、7、8、9、12、24、36、48.
- auto
Renew StringDuration Unit - If paymentType is Subscription, this should be specified. Supported value: Month or Year.
Import
Aliclioud E-MapReduce cluster can be imported using the id e.g.
$ pulumi import alicloud:emrv2/cluster:Cluster default <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.