spotinst logo
Spotinst v3.24.0, Feb 3 23

spotinst.aws.MrScalar

Provides a Spotinst AWS MrScaler resource.

Example Usage

New Strategy

using System.Collections.Generic;
using Pulumi;
using SpotInst = Pulumi.SpotInst;

return await Deployment.RunAsync(() => 
{
    var sample_MrScaler_01 = new SpotInst.Aws.MrScalar("sample-MrScaler-01", new()
    {
        AdditionalInfo = "{'test':'more information'}",
        AdditionalPrimarySecurityGroups = new[]
        {
            "sg-456321",
        },
        AdditionalReplicaSecurityGroups = new[]
        {
            "sg-123654",
        },
        Applications = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarApplicationArgs
            {
                Name = "Ganglia",
                Version = "1.0",
            },
            new SpotInst.Aws.Inputs.MrScalarApplicationArgs
            {
                Name = "Hadoop",
            },
            new SpotInst.Aws.Inputs.MrScalarApplicationArgs
            {
                Args = new[]
                {
                    "fake",
                    "args",
                },
                Name = "Pig",
            },
        },
        AvailabilityZones = new[]
        {
            "us-west-2a:subnet-123456",
        },
        BootstrapActionsFiles = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarBootstrapActionsFileArgs
            {
                Bucket = "sample-emr-test",
                Key = "bootstrap-actions.json",
            },
        },
        ConfigurationsFiles = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarConfigurationsFileArgs
            {
                Bucket = "example-bucket",
                Key = "configurations.json",
            },
        },
        CoreDesiredCapacity = 1,
        CoreEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarCoreEbsBlockDeviceArgs
            {
                SizeInGb = 40,
                VolumeType = "gp2",
                VolumesPerInstance = 2,
            },
        },
        CoreEbsOptimized = false,
        CoreInstanceTypes = new[]
        {
            "c3.xlarge",
            "c4.xlarge",
        },
        CoreLifecycle = "ON_DEMAND",
        CoreMaxSize = 1,
        CoreMinSize = 1,
        CoreUnit = "instance",
        CustomAmiId = "ami-123456",
        Description = "Testing MrScaler creation",
        Ec2KeyName = "test-key",
        InstanceWeights = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarInstanceWeightArgs
            {
                InstanceType = "t2.small",
                WeightedCapacity = 10,
            },
            new SpotInst.Aws.Inputs.MrScalarInstanceWeightArgs
            {
                InstanceType = "t2.medium",
                WeightedCapacity = 90,
            },
        },
        JobFlowRole = "EMR_EC2_ExampleRole",
        KeepJobFlowAlive = true,
        LogUri = "s3://example-logs",
        ManagedPrimarySecurityGroup = "sg-123456",
        ManagedReplicaSecurityGroup = "sg-987654",
        MasterEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarMasterEbsBlockDeviceArgs
            {
                SizeInGb = 30,
                VolumeType = "gp2",
                VolumesPerInstance = 1,
            },
        },
        MasterEbsOptimized = true,
        MasterInstanceTypes = new[]
        {
            "c3.xlarge",
        },
        MasterLifecycle = "SPOT",
        MasterTarget = 1,
        ProvisioningTimeout = new SpotInst.Aws.Inputs.MrScalarProvisioningTimeoutArgs
        {
            Timeout = 15,
            TimeoutAction = "terminateAndRetry",
        },
        Region = "us-west-2",
        ReleaseLabel = "emr-5.17.0",
        RepoUpgradeOnBoot = "NONE",
        Retries = 2,
        SecurityConfig = "example-config",
        ServiceAccessSecurityGroup = "access-example",
        ServiceRole = "example-role",
        StepsFiles = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarStepsFileArgs
            {
                Bucket = "example-bucket",
                Key = "steps.json",
            },
        },
        Strategy = "new",
        Tags = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTagArgs
            {
                Key = "Creator",
                Value = "Pulumi",
            },
        },
        TaskDesiredCapacity = 1,
        TaskEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTaskEbsBlockDeviceArgs
            {
                SizeInGb = 40,
                VolumeType = "gp2",
                VolumesPerInstance = 2,
            },
        },
        TaskEbsOptimized = false,
        TaskInstanceTypes = new[]
        {
            "c3.xlarge",
            "c4.xlarge",
        },
        TaskLifecycle = "SPOT",
        TaskMaxSize = 30,
        TaskMinSize = 0,
        TaskUnit = "instance",
        TerminationProtected = false,
    });

});
package main

import (
	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/aws"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewMrScalar(ctx, "sample-MrScaler-01", &aws.MrScalarArgs{
			AdditionalInfo: pulumi.String("{'test':'more information'}"),
			AdditionalPrimarySecurityGroups: pulumi.StringArray{
				pulumi.String("sg-456321"),
			},
			AdditionalReplicaSecurityGroups: pulumi.StringArray{
				pulumi.String("sg-123654"),
			},
			Applications: aws.MrScalarApplicationArray{
				&aws.MrScalarApplicationArgs{
					Name:    pulumi.String("Ganglia"),
					Version: pulumi.String("1.0"),
				},
				&aws.MrScalarApplicationArgs{
					Name: pulumi.String("Hadoop"),
				},
				&aws.MrScalarApplicationArgs{
					Args: pulumi.StringArray{
						pulumi.String("fake"),
						pulumi.String("args"),
					},
					Name: pulumi.String("Pig"),
				},
			},
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-west-2a:subnet-123456"),
			},
			BootstrapActionsFiles: aws.MrScalarBootstrapActionsFileArray{
				&aws.MrScalarBootstrapActionsFileArgs{
					Bucket: pulumi.String("sample-emr-test"),
					Key:    pulumi.String("bootstrap-actions.json"),
				},
			},
			ConfigurationsFiles: aws.MrScalarConfigurationsFileArray{
				&aws.MrScalarConfigurationsFileArgs{
					Bucket: pulumi.String("example-bucket"),
					Key:    pulumi.String("configurations.json"),
				},
			},
			CoreDesiredCapacity: pulumi.Int(1),
			CoreEbsBlockDevices: aws.MrScalarCoreEbsBlockDeviceArray{
				&aws.MrScalarCoreEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(40),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(2),
				},
			},
			CoreEbsOptimized: pulumi.Bool(false),
			CoreInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
				pulumi.String("c4.xlarge"),
			},
			CoreLifecycle: pulumi.String("ON_DEMAND"),
			CoreMaxSize:   pulumi.Int(1),
			CoreMinSize:   pulumi.Int(1),
			CoreUnit:      pulumi.String("instance"),
			CustomAmiId:   pulumi.String("ami-123456"),
			Description:   pulumi.String("Testing MrScaler creation"),
			Ec2KeyName:    pulumi.String("test-key"),
			InstanceWeights: aws.MrScalarInstanceWeightArray{
				&aws.MrScalarInstanceWeightArgs{
					InstanceType:     pulumi.String("t2.small"),
					WeightedCapacity: pulumi.Int(10),
				},
				&aws.MrScalarInstanceWeightArgs{
					InstanceType:     pulumi.String("t2.medium"),
					WeightedCapacity: pulumi.Int(90),
				},
			},
			JobFlowRole:                 pulumi.String("EMR_EC2_ExampleRole"),
			KeepJobFlowAlive:            pulumi.Bool(true),
			LogUri:                      pulumi.String("s3://example-logs"),
			ManagedPrimarySecurityGroup: pulumi.String("sg-123456"),
			ManagedReplicaSecurityGroup: pulumi.String("sg-987654"),
			MasterEbsBlockDevices: aws.MrScalarMasterEbsBlockDeviceArray{
				&aws.MrScalarMasterEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(30),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(1),
				},
			},
			MasterEbsOptimized: pulumi.Bool(true),
			MasterInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
			},
			MasterLifecycle: pulumi.String("SPOT"),
			MasterTarget:    pulumi.Int(1),
			ProvisioningTimeout: &aws.MrScalarProvisioningTimeoutArgs{
				Timeout:       pulumi.Int(15),
				TimeoutAction: pulumi.String("terminateAndRetry"),
			},
			Region:                     pulumi.String("us-west-2"),
			ReleaseLabel:               pulumi.String("emr-5.17.0"),
			RepoUpgradeOnBoot:          pulumi.String("NONE"),
			Retries:                    pulumi.Int(2),
			SecurityConfig:             pulumi.String("example-config"),
			ServiceAccessSecurityGroup: pulumi.String("access-example"),
			ServiceRole:                pulumi.String("example-role"),
			StepsFiles: aws.MrScalarStepsFileArray{
				&aws.MrScalarStepsFileArgs{
					Bucket: pulumi.String("example-bucket"),
					Key:    pulumi.String("steps.json"),
				},
			},
			Strategy: pulumi.String("new"),
			Tags: aws.MrScalarTagArray{
				&aws.MrScalarTagArgs{
					Key:   pulumi.String("Creator"),
					Value: pulumi.String("Pulumi"),
				},
			},
			TaskDesiredCapacity: pulumi.Int(1),
			TaskEbsBlockDevices: aws.MrScalarTaskEbsBlockDeviceArray{
				&aws.MrScalarTaskEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(40),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(2),
				},
			},
			TaskEbsOptimized: pulumi.Bool(false),
			TaskInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
				pulumi.String("c4.xlarge"),
			},
			TaskLifecycle:        pulumi.String("SPOT"),
			TaskMaxSize:          pulumi.Int(30),
			TaskMinSize:          pulumi.Int(0),
			TaskUnit:             pulumi.String("instance"),
			TerminationProtected: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.aws.MrScalar;
import com.pulumi.spotinst.aws.MrScalarArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarApplicationArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarBootstrapActionsFileArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarConfigurationsFileArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarCoreEbsBlockDeviceArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarInstanceWeightArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarMasterEbsBlockDeviceArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarProvisioningTimeoutArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarStepsFileArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTagArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTaskEbsBlockDeviceArgs;
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) {
        var sample_MrScaler_01 = new MrScalar("sample-MrScaler-01", MrScalarArgs.builder()        
            .additionalInfo("{'test':'more information'}")
            .additionalPrimarySecurityGroups("sg-456321")
            .additionalReplicaSecurityGroups("sg-123654")
            .applications(            
                MrScalarApplicationArgs.builder()
                    .name("Ganglia")
                    .version("1.0")
                    .build(),
                MrScalarApplicationArgs.builder()
                    .name("Hadoop")
                    .build(),
                MrScalarApplicationArgs.builder()
                    .args(                    
                        "fake",
                        "args")
                    .name("Pig")
                    .build())
            .availabilityZones("us-west-2a:subnet-123456")
            .bootstrapActionsFiles(MrScalarBootstrapActionsFileArgs.builder()
                .bucket("sample-emr-test")
                .key("bootstrap-actions.json")
                .build())
            .configurationsFiles(MrScalarConfigurationsFileArgs.builder()
                .bucket("example-bucket")
                .key("configurations.json")
                .build())
            .coreDesiredCapacity(1)
            .coreEbsBlockDevices(MrScalarCoreEbsBlockDeviceArgs.builder()
                .sizeInGb(40)
                .volumeType("gp2")
                .volumesPerInstance(2)
                .build())
            .coreEbsOptimized(false)
            .coreInstanceTypes(            
                "c3.xlarge",
                "c4.xlarge")
            .coreLifecycle("ON_DEMAND")
            .coreMaxSize(1)
            .coreMinSize(1)
            .coreUnit("instance")
            .customAmiId("ami-123456")
            .description("Testing MrScaler creation")
            .ec2KeyName("test-key")
            .instanceWeights(            
                MrScalarInstanceWeightArgs.builder()
                    .instanceType("t2.small")
                    .weightedCapacity(10)
                    .build(),
                MrScalarInstanceWeightArgs.builder()
                    .instanceType("t2.medium")
                    .weightedCapacity(90)
                    .build())
            .jobFlowRole("EMR_EC2_ExampleRole")
            .keepJobFlowAlive(true)
            .logUri("s3://example-logs")
            .managedPrimarySecurityGroup("sg-123456")
            .managedReplicaSecurityGroup("sg-987654")
            .masterEbsBlockDevices(MrScalarMasterEbsBlockDeviceArgs.builder()
                .sizeInGb(30)
                .volumeType("gp2")
                .volumesPerInstance(1)
                .build())
            .masterEbsOptimized(true)
            .masterInstanceTypes("c3.xlarge")
            .masterLifecycle("SPOT")
            .masterTarget(1)
            .provisioningTimeout(MrScalarProvisioningTimeoutArgs.builder()
                .timeout(15)
                .timeoutAction("terminateAndRetry")
                .build())
            .region("us-west-2")
            .releaseLabel("emr-5.17.0")
            .repoUpgradeOnBoot("NONE")
            .retries(2)
            .securityConfig("example-config")
            .serviceAccessSecurityGroup("access-example")
            .serviceRole("example-role")
            .stepsFiles(MrScalarStepsFileArgs.builder()
                .bucket("example-bucket")
                .key("steps.json")
                .build())
            .strategy("new")
            .tags(MrScalarTagArgs.builder()
                .key("Creator")
                .value("Pulumi")
                .build())
            .taskDesiredCapacity(1)
            .taskEbsBlockDevices(MrScalarTaskEbsBlockDeviceArgs.builder()
                .sizeInGb(40)
                .volumeType("gp2")
                .volumesPerInstance(2)
                .build())
            .taskEbsOptimized(false)
            .taskInstanceTypes(            
                "c3.xlarge",
                "c4.xlarge")
            .taskLifecycle("SPOT")
            .taskMaxSize(30)
            .taskMinSize(0)
            .taskUnit("instance")
            .terminationProtected(false)
            .build());

    }
}
import pulumi
import pulumi_spotinst as spotinst

sample__mr_scaler_01 = spotinst.aws.MrScalar("sample-MrScaler-01",
    additional_info="{'test':'more information'}",
    additional_primary_security_groups=["sg-456321"],
    additional_replica_security_groups=["sg-123654"],
    applications=[
        spotinst.aws.MrScalarApplicationArgs(
            name="Ganglia",
            version="1.0",
        ),
        spotinst.aws.MrScalarApplicationArgs(
            name="Hadoop",
        ),
        spotinst.aws.MrScalarApplicationArgs(
            args=[
                "fake",
                "args",
            ],
            name="Pig",
        ),
    ],
    availability_zones=["us-west-2a:subnet-123456"],
    bootstrap_actions_files=[spotinst.aws.MrScalarBootstrapActionsFileArgs(
        bucket="sample-emr-test",
        key="bootstrap-actions.json",
    )],
    configurations_files=[spotinst.aws.MrScalarConfigurationsFileArgs(
        bucket="example-bucket",
        key="configurations.json",
    )],
    core_desired_capacity=1,
    core_ebs_block_devices=[spotinst.aws.MrScalarCoreEbsBlockDeviceArgs(
        size_in_gb=40,
        volume_type="gp2",
        volumes_per_instance=2,
    )],
    core_ebs_optimized=False,
    core_instance_types=[
        "c3.xlarge",
        "c4.xlarge",
    ],
    core_lifecycle="ON_DEMAND",
    core_max_size=1,
    core_min_size=1,
    core_unit="instance",
    custom_ami_id="ami-123456",
    description="Testing MrScaler creation",
    ec2_key_name="test-key",
    instance_weights=[
        spotinst.aws.MrScalarInstanceWeightArgs(
            instance_type="t2.small",
            weighted_capacity=10,
        ),
        spotinst.aws.MrScalarInstanceWeightArgs(
            instance_type="t2.medium",
            weighted_capacity=90,
        ),
    ],
    job_flow_role="EMR_EC2_ExampleRole",
    keep_job_flow_alive=True,
    log_uri="s3://example-logs",
    managed_primary_security_group="sg-123456",
    managed_replica_security_group="sg-987654",
    master_ebs_block_devices=[spotinst.aws.MrScalarMasterEbsBlockDeviceArgs(
        size_in_gb=30,
        volume_type="gp2",
        volumes_per_instance=1,
    )],
    master_ebs_optimized=True,
    master_instance_types=["c3.xlarge"],
    master_lifecycle="SPOT",
    master_target=1,
    provisioning_timeout=spotinst.aws.MrScalarProvisioningTimeoutArgs(
        timeout=15,
        timeout_action="terminateAndRetry",
    ),
    region="us-west-2",
    release_label="emr-5.17.0",
    repo_upgrade_on_boot="NONE",
    retries=2,
    security_config="example-config",
    service_access_security_group="access-example",
    service_role="example-role",
    steps_files=[spotinst.aws.MrScalarStepsFileArgs(
        bucket="example-bucket",
        key="steps.json",
    )],
    strategy="new",
    tags=[spotinst.aws.MrScalarTagArgs(
        key="Creator",
        value="Pulumi",
    )],
    task_desired_capacity=1,
    task_ebs_block_devices=[spotinst.aws.MrScalarTaskEbsBlockDeviceArgs(
        size_in_gb=40,
        volume_type="gp2",
        volumes_per_instance=2,
    )],
    task_ebs_optimized=False,
    task_instance_types=[
        "c3.xlarge",
        "c4.xlarge",
    ],
    task_lifecycle="SPOT",
    task_max_size=30,
    task_min_size=0,
    task_unit="instance",
    termination_protected=False)
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";

const sample_MrScaler_01 = new spotinst.aws.MrScalar("sample-MrScaler-01", {
    additionalInfo: "{'test':'more information'}",
    additionalPrimarySecurityGroups: ["sg-456321"],
    additionalReplicaSecurityGroups: ["sg-123654"],
    applications: [
        {
            name: "Ganglia",
            version: "1.0",
        },
        {
            name: "Hadoop",
        },
        {
            args: [
                "fake",
                "args",
            ],
            name: "Pig",
        },
    ],
    availabilityZones: ["us-west-2a:subnet-123456"],
    bootstrapActionsFiles: [{
        bucket: "sample-emr-test",
        key: "bootstrap-actions.json",
    }],
    configurationsFiles: [{
        bucket: "example-bucket",
        key: "configurations.json",
    }],
    coreDesiredCapacity: 1,
    coreEbsBlockDevices: [{
        sizeInGb: 40,
        volumeType: "gp2",
        volumesPerInstance: 2,
    }],
    coreEbsOptimized: false,
    coreInstanceTypes: [
        "c3.xlarge",
        "c4.xlarge",
    ],
    coreLifecycle: "ON_DEMAND",
    coreMaxSize: 1,
    coreMinSize: 1,
    coreUnit: "instance",
    customAmiId: "ami-123456",
    description: "Testing MrScaler creation",
    ec2KeyName: "test-key",
    instanceWeights: [
        {
            instanceType: "t2.small",
            weightedCapacity: 10,
        },
        {
            instanceType: "t2.medium",
            weightedCapacity: 90,
        },
    ],
    jobFlowRole: "EMR_EC2_ExampleRole",
    keepJobFlowAlive: true,
    logUri: "s3://example-logs",
    managedPrimarySecurityGroup: "sg-123456",
    managedReplicaSecurityGroup: "sg-987654",
    masterEbsBlockDevices: [{
        sizeInGb: 30,
        volumeType: "gp2",
        volumesPerInstance: 1,
    }],
    masterEbsOptimized: true,
    masterInstanceTypes: ["c3.xlarge"],
    masterLifecycle: "SPOT",
    masterTarget: 1,
    provisioningTimeout: {
        timeout: 15,
        timeoutAction: "terminateAndRetry",
    },
    region: "us-west-2",
    releaseLabel: "emr-5.17.0",
    repoUpgradeOnBoot: "NONE",
    retries: 2,
    securityConfig: "example-config",
    serviceAccessSecurityGroup: "access-example",
    serviceRole: "example-role",
    stepsFiles: [{
        bucket: "example-bucket",
        key: "steps.json",
    }],
    strategy: "new",
    tags: [{
        key: "Creator",
        value: "Pulumi",
    }],
    taskDesiredCapacity: 1,
    taskEbsBlockDevices: [{
        sizeInGb: 40,
        volumeType: "gp2",
        volumesPerInstance: 2,
    }],
    taskEbsOptimized: false,
    taskInstanceTypes: [
        "c3.xlarge",
        "c4.xlarge",
    ],
    taskLifecycle: "SPOT",
    taskMaxSize: 30,
    taskMinSize: 0,
    taskUnit: "instance",
    terminationProtected: false,
});
resources:
  sample-MrScaler-01:
    type: spotinst:aws:MrScalar
    properties:
      additionalInfo: '{''test'':''more information''}'
      additionalPrimarySecurityGroups:
        - sg-456321
      additionalReplicaSecurityGroups:
        - sg-123654
      applications:
        - name: Ganglia
          version: '1.0'
        - name: Hadoop
        - args:
            - fake
            - args
          name: Pig
      availabilityZones:
        - us-west-2a:subnet-123456
      bootstrapActionsFiles:
        - bucket: sample-emr-test
          key: bootstrap-actions.json
      configurationsFiles:
        - bucket: example-bucket
          key: configurations.json
      coreDesiredCapacity: 1
      coreEbsBlockDevices:
        - sizeInGb: 40
          volumeType: gp2
          volumesPerInstance: 2
      coreEbsOptimized: false
      # --- CORE GROUP -------------
      coreInstanceTypes:
        - c3.xlarge
        - c4.xlarge
      coreLifecycle: ON_DEMAND
      coreMaxSize: 1
      coreMinSize: 1
      coreUnit: instance
      # --- OPTONAL COMPUTE -----
      customAmiId: ami-123456
      description: Testing MrScaler creation
      ec2KeyName: test-key
      instanceWeights:
        - instanceType: t2.small
          weightedCapacity: 10
        - instanceType: t2.medium
          weightedCapacity: 90
      jobFlowRole: EMR_EC2_ExampleRole
      keepJobFlowAlive: true
      # --- CLUSTER ------------
      logUri: s3://example-logs
      managedPrimarySecurityGroup: sg-123456
      managedReplicaSecurityGroup: sg-987654
      masterEbsBlockDevices:
        - sizeInGb: 30
          volumeType: gp2
          volumesPerInstance: 1
      masterEbsOptimized: true
      # --- MASTER GROUP -------------
      masterInstanceTypes:
        - c3.xlarge
      masterLifecycle: SPOT
      masterTarget: 1
      provisioningTimeout:
        timeout: 15
        timeoutAction: terminateAndRetry
      region: us-west-2
      releaseLabel: emr-5.17.0
      repoUpgradeOnBoot: NONE
      retries: 2
      securityConfig: example-config
      serviceAccessSecurityGroup: access-example
      serviceRole: example-role
      stepsFiles:
        - bucket: example-bucket
          key: steps.json
      strategy: new
      # --- TAGS -------------------
      tags:
        - key: Creator
          value: Pulumi
      taskDesiredCapacity: 1
      taskEbsBlockDevices:
        - sizeInGb: 40
          volumeType: gp2
          volumesPerInstance: 2
      taskEbsOptimized: false
      # --- TASK GROUP -------------
      taskInstanceTypes:
        - c3.xlarge
        - c4.xlarge
      taskLifecycle: SPOT
      taskMaxSize: 30
      taskMinSize: 0
      taskUnit: instance
      terminationProtected: false

Clone Strategy

using System.Collections.Generic;
using Pulumi;
using SpotInst = Pulumi.SpotInst;

return await Deployment.RunAsync(() => 
{
    var sample_MrScaler_01 = new SpotInst.Aws.MrScalar("sample-MrScaler-01", new()
    {
        AvailabilityZones = new[]
        {
            "us-west-2a:subnet-12345678",
        },
        ClusterId = "j-123456789",
        CoreDesiredCapacity = 1,
        CoreEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarCoreEbsBlockDeviceArgs
            {
                SizeInGb = 40,
                VolumeType = "gp2",
                VolumesPerInstance = 2,
            },
        },
        CoreEbsOptimized = false,
        CoreInstanceTypes = new[]
        {
            "c3.xlarge",
            "c4.xlarge",
        },
        CoreLifecycle = "ON_DEMAND",
        CoreMaxSize = 1,
        CoreMinSize = 1,
        CoreUnit = "instance",
        Description = "Testing MrScaler creation",
        ExposeClusterId = true,
        MasterEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarMasterEbsBlockDeviceArgs
            {
                SizeInGb = 30,
                VolumeType = "gp2",
                VolumesPerInstance = 1,
            },
        },
        MasterEbsOptimized = true,
        MasterInstanceTypes = new[]
        {
            "c3.xlarge",
        },
        MasterLifecycle = "SPOT",
        MasterTarget = 1,
        Region = "us-west-2",
        Strategy = "clone",
        Tags = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTagArgs
            {
                Key = "Creator",
                Value = "Pulumi",
            },
        },
        TaskDesiredCapacity = 1,
        TaskEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTaskEbsBlockDeviceArgs
            {
                SizeInGb = 40,
                VolumeType = "gp2",
                VolumesPerInstance = 2,
            },
        },
        TaskEbsOptimized = false,
        TaskInstanceTypes = new[]
        {
            "c3.xlarge",
            "c4.xlarge",
        },
        TaskLifecycle = "SPOT",
        TaskMaxSize = 30,
        TaskMinSize = 0,
        TaskScalingDownPolicies = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTaskScalingDownPolicyArgs
            {
                ActionType = "",
                Adjustment = "1",
                Cooldown = 60,
                Dimensions = 
                {
                    { "name", "name-1" },
                    { "value", "value-1" },
                },
                EvaluationPeriods = 10,
                MaxTargetCapacity = "1",
                Maximum = "10",
                MetricName = "CPUUtilization",
                Minimum = "0",
                Namespace = "AWS/EC2",
                Operator = "gt",
                Period = 60,
                PolicyName = "policy-name",
                Statistic = "average",
                Target = "5",
                Threshold = 10,
                Unit = "",
            },
        },
        TaskUnit = "instance",
    });

    return new Dictionary<string, object?>
    {
        ["mrscaler-name"] = sample_MrScaler_01.Name,
        ["mrscaler-created-cluster-id"] = sample_MrScaler_01.OutputClusterId,
    };
});
package main

import (
	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/aws"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewMrScalar(ctx, "sample-MrScaler-01", &aws.MrScalarArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("us-west-2a:subnet-12345678"),
			},
			ClusterId:           pulumi.String("j-123456789"),
			CoreDesiredCapacity: pulumi.Int(1),
			CoreEbsBlockDevices: aws.MrScalarCoreEbsBlockDeviceArray{
				&aws.MrScalarCoreEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(40),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(2),
				},
			},
			CoreEbsOptimized: pulumi.Bool(false),
			CoreInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
				pulumi.String("c4.xlarge"),
			},
			CoreLifecycle:   pulumi.String("ON_DEMAND"),
			CoreMaxSize:     pulumi.Int(1),
			CoreMinSize:     pulumi.Int(1),
			CoreUnit:        pulumi.String("instance"),
			Description:     pulumi.String("Testing MrScaler creation"),
			ExposeClusterId: pulumi.Bool(true),
			MasterEbsBlockDevices: aws.MrScalarMasterEbsBlockDeviceArray{
				&aws.MrScalarMasterEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(30),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(1),
				},
			},
			MasterEbsOptimized: pulumi.Bool(true),
			MasterInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
			},
			MasterLifecycle: pulumi.String("SPOT"),
			MasterTarget:    pulumi.Int(1),
			Region:          pulumi.String("us-west-2"),
			Strategy:        pulumi.String("clone"),
			Tags: aws.MrScalarTagArray{
				&aws.MrScalarTagArgs{
					Key:   pulumi.String("Creator"),
					Value: pulumi.String("Pulumi"),
				},
			},
			TaskDesiredCapacity: pulumi.Int(1),
			TaskEbsBlockDevices: aws.MrScalarTaskEbsBlockDeviceArray{
				&aws.MrScalarTaskEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(40),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(2),
				},
			},
			TaskEbsOptimized: pulumi.Bool(false),
			TaskInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
				pulumi.String("c4.xlarge"),
			},
			TaskLifecycle: pulumi.String("SPOT"),
			TaskMaxSize:   pulumi.Int(30),
			TaskMinSize:   pulumi.Int(0),
			TaskScalingDownPolicies: aws.MrScalarTaskScalingDownPolicyArray{
				&aws.MrScalarTaskScalingDownPolicyArgs{
					ActionType: pulumi.String(""),
					Adjustment: pulumi.String("1"),
					Cooldown:   pulumi.Int(60),
					Dimensions: pulumi.AnyMap{
						"name":  pulumi.Any("name-1"),
						"value": pulumi.Any("value-1"),
					},
					EvaluationPeriods: pulumi.Int(10),
					MaxTargetCapacity: pulumi.String("1"),
					Maximum:           pulumi.String("10"),
					MetricName:        pulumi.String("CPUUtilization"),
					Minimum:           pulumi.String("0"),
					Namespace:         pulumi.String("AWS/EC2"),
					Operator:          pulumi.String("gt"),
					Period:            pulumi.Int(60),
					PolicyName:        pulumi.String("policy-name"),
					Statistic:         pulumi.String("average"),
					Target:            pulumi.String("5"),
					Threshold:         pulumi.Float64(10),
					Unit:              pulumi.String(""),
				},
			},
			TaskUnit: pulumi.String("instance"),
		})
		if err != nil {
			return err
		}
		ctx.Export("mrscaler-name", sample_MrScaler_01.Name)
		ctx.Export("mrscaler-created-cluster-id", sample_MrScaler_01.OutputClusterId)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.aws.MrScalar;
import com.pulumi.spotinst.aws.MrScalarArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarCoreEbsBlockDeviceArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarMasterEbsBlockDeviceArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTagArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTaskEbsBlockDeviceArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTaskScalingDownPolicyArgs;
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) {
        var sample_MrScaler_01 = new MrScalar("sample-MrScaler-01", MrScalarArgs.builder()        
            .availabilityZones("us-west-2a:subnet-12345678")
            .clusterId("j-123456789")
            .coreDesiredCapacity(1)
            .coreEbsBlockDevices(MrScalarCoreEbsBlockDeviceArgs.builder()
                .sizeInGb(40)
                .volumeType("gp2")
                .volumesPerInstance(2)
                .build())
            .coreEbsOptimized(false)
            .coreInstanceTypes(            
                "c3.xlarge",
                "c4.xlarge")
            .coreLifecycle("ON_DEMAND")
            .coreMaxSize(1)
            .coreMinSize(1)
            .coreUnit("instance")
            .description("Testing MrScaler creation")
            .exposeClusterId(true)
            .masterEbsBlockDevices(MrScalarMasterEbsBlockDeviceArgs.builder()
                .sizeInGb(30)
                .volumeType("gp2")
                .volumesPerInstance(1)
                .build())
            .masterEbsOptimized(true)
            .masterInstanceTypes("c3.xlarge")
            .masterLifecycle("SPOT")
            .masterTarget(1)
            .region("us-west-2")
            .strategy("clone")
            .tags(MrScalarTagArgs.builder()
                .key("Creator")
                .value("Pulumi")
                .build())
            .taskDesiredCapacity(1)
            .taskEbsBlockDevices(MrScalarTaskEbsBlockDeviceArgs.builder()
                .sizeInGb(40)
                .volumeType("gp2")
                .volumesPerInstance(2)
                .build())
            .taskEbsOptimized(false)
            .taskInstanceTypes(            
                "c3.xlarge",
                "c4.xlarge")
            .taskLifecycle("SPOT")
            .taskMaxSize(30)
            .taskMinSize(0)
            .taskScalingDownPolicies(MrScalarTaskScalingDownPolicyArgs.builder()
                .actionType("")
                .adjustment("1")
                .cooldown(60)
                .dimensions(Map.ofEntries(
                    Map.entry("name", "name-1"),
                    Map.entry("value", "value-1")
                ))
                .evaluationPeriods(10)
                .maxTargetCapacity(1)
                .maximum(10)
                .metricName("CPUUtilization")
                .minimum(0)
                .namespace("AWS/EC2")
                .operator("gt")
                .period(60)
                .policyName("policy-name")
                .statistic("average")
                .target(5)
                .threshold(10)
                .unit("")
                .build())
            .taskUnit("instance")
            .build());

        ctx.export("mrscaler-name", sample_MrScaler_01.name());
        ctx.export("mrscaler-created-cluster-id", sample_MrScaler_01.outputClusterId());
    }
}
import pulumi
import pulumi_spotinst as spotinst

sample__mr_scaler_01 = spotinst.aws.MrScalar("sample-MrScaler-01",
    availability_zones=["us-west-2a:subnet-12345678"],
    cluster_id="j-123456789",
    core_desired_capacity=1,
    core_ebs_block_devices=[spotinst.aws.MrScalarCoreEbsBlockDeviceArgs(
        size_in_gb=40,
        volume_type="gp2",
        volumes_per_instance=2,
    )],
    core_ebs_optimized=False,
    core_instance_types=[
        "c3.xlarge",
        "c4.xlarge",
    ],
    core_lifecycle="ON_DEMAND",
    core_max_size=1,
    core_min_size=1,
    core_unit="instance",
    description="Testing MrScaler creation",
    expose_cluster_id=True,
    master_ebs_block_devices=[spotinst.aws.MrScalarMasterEbsBlockDeviceArgs(
        size_in_gb=30,
        volume_type="gp2",
        volumes_per_instance=1,
    )],
    master_ebs_optimized=True,
    master_instance_types=["c3.xlarge"],
    master_lifecycle="SPOT",
    master_target=1,
    region="us-west-2",
    strategy="clone",
    tags=[spotinst.aws.MrScalarTagArgs(
        key="Creator",
        value="Pulumi",
    )],
    task_desired_capacity=1,
    task_ebs_block_devices=[spotinst.aws.MrScalarTaskEbsBlockDeviceArgs(
        size_in_gb=40,
        volume_type="gp2",
        volumes_per_instance=2,
    )],
    task_ebs_optimized=False,
    task_instance_types=[
        "c3.xlarge",
        "c4.xlarge",
    ],
    task_lifecycle="SPOT",
    task_max_size=30,
    task_min_size=0,
    task_scaling_down_policies=[spotinst.aws.MrScalarTaskScalingDownPolicyArgs(
        action_type="",
        adjustment="1",
        cooldown=60,
        dimensions={
            "name": "name-1",
            "value": "value-1",
        },
        evaluation_periods=10,
        max_target_capacity="1",
        maximum="10",
        metric_name="CPUUtilization",
        minimum="0",
        namespace="AWS/EC2",
        operator="gt",
        period=60,
        policy_name="policy-name",
        statistic="average",
        target="5",
        threshold=10,
        unit="",
    )],
    task_unit="instance")
pulumi.export("mrscaler-name", sample__mr_scaler_01.name)
pulumi.export("mrscaler-created-cluster-id", sample__mr_scaler_01.output_cluster_id)
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";

export = async () => {
    const sample_MrScaler_01 = new spotinst.aws.MrScalar("sample-MrScaler-01", {
        availabilityZones: ["us-west-2a:subnet-12345678"],
        clusterId: "j-123456789",
        coreDesiredCapacity: 1,
        coreEbsBlockDevices: [{
            sizeInGb: 40,
            volumeType: "gp2",
            volumesPerInstance: 2,
        }],
        coreEbsOptimized: false,
        coreInstanceTypes: [
            "c3.xlarge",
            "c4.xlarge",
        ],
        coreLifecycle: "ON_DEMAND",
        coreMaxSize: 1,
        coreMinSize: 1,
        coreUnit: "instance",
        description: "Testing MrScaler creation",
        exposeClusterId: true,
        masterEbsBlockDevices: [{
            sizeInGb: 30,
            volumeType: "gp2",
            volumesPerInstance: 1,
        }],
        masterEbsOptimized: true,
        masterInstanceTypes: ["c3.xlarge"],
        masterLifecycle: "SPOT",
        masterTarget: 1,
        region: "us-west-2",
        strategy: "clone",
        tags: [{
            key: "Creator",
            value: "Pulumi",
        }],
        taskDesiredCapacity: 1,
        taskEbsBlockDevices: [{
            sizeInGb: 40,
            volumeType: "gp2",
            volumesPerInstance: 2,
        }],
        taskEbsOptimized: false,
        taskInstanceTypes: [
            "c3.xlarge",
            "c4.xlarge",
        ],
        taskLifecycle: "SPOT",
        taskMaxSize: 30,
        taskMinSize: 0,
        taskScalingDownPolicies: [{
            actionType: "",
            adjustment: "1",
            cooldown: 60,
            dimensions: {
                name: "name-1",
                value: "value-1",
            },
            evaluationPeriods: 10,
            maxTargetCapacity: "1",
            maximum: "10",
            metricName: "CPUUtilization",
            minimum: "0",
            namespace: "AWS/EC2",
            operator: "gt",
            period: 60,
            policyName: "policy-name",
            statistic: "average",
            target: "5",
            threshold: 10,
            unit: "",
        }],
        taskUnit: "instance",
    });
    const mrscaler_name = sample_MrScaler_01.name;
    const mrscaler_created_cluster_id = sample_MrScaler_01.outputClusterId;
    return {
        "mrscaler-name": mrscaler_name,
        "mrscaler-created-cluster-id": mrscaler_created_cluster_id,
    };
}
resources:
  sample-MrScaler-01:
    type: spotinst:aws:MrScalar
    properties:
      availabilityZones:
        - us-west-2a:subnet-12345678
      clusterId: j-123456789
      coreDesiredCapacity: 1
      coreEbsBlockDevices:
        - sizeInGb: 40
          volumeType: gp2
          volumesPerInstance: 2
      coreEbsOptimized: false
      # --- CORE GROUP -------------
      coreInstanceTypes:
        - c3.xlarge
        - c4.xlarge
      coreLifecycle: ON_DEMAND
      coreMaxSize: 1
      coreMinSize: 1
      coreUnit: instance
      description: Testing MrScaler creation
      exposeClusterId: true
      masterEbsBlockDevices:
        - sizeInGb: 30
          volumeType: gp2
          volumesPerInstance: 1
      masterEbsOptimized: true
      # --- MASTER GROUP -------------
      masterInstanceTypes:
        - c3.xlarge
      masterLifecycle: SPOT
      masterTarget: 1
      region: us-west-2
      strategy: clone
      # --- TAGS -------------------
      tags:
        - key: Creator
          value: Pulumi
      taskDesiredCapacity: 1
      taskEbsBlockDevices:
        - sizeInGb: 40
          volumeType: gp2
          volumesPerInstance: 2
      taskEbsOptimized: false
      # --- TASK GROUP -------------
      taskInstanceTypes:
        - c3.xlarge
        - c4.xlarge
      taskLifecycle: SPOT
      taskMaxSize: 30
      taskMinSize: 0
      # --- TASK SCALING POLICY ------
      taskScalingDownPolicies:
        - actionType:
          adjustment: '1'
          cooldown: 60
          dimensions:
            name: name-1
            value: value-1
          evaluationPeriods: 10
          maxTargetCapacity: 1
          maximum: 10
          metricName: CPUUtilization
          minimum: 0
          namespace: AWS/EC2
          operator: gt
          period: 60
          policyName: policy-name
          statistic: average
          target: 5
          threshold: 10
          unit:
      taskUnit: instance
outputs:
  mrscaler-name: ${["sample-MrScaler-01"].name}
  mrscaler-created-cluster-id: ${["sample-MrScaler-01"].outputClusterId}

Wrap Strategy

using System.Collections.Generic;
using Pulumi;
using SpotInst = Pulumi.SpotInst;

return await Deployment.RunAsync(() => 
{
    var example_scaler_2 = new SpotInst.Aws.MrScalar("example-scaler-2", new()
    {
        ClusterId = "j-27UVDEHXL4OQM",
        Description = "created by Pulumi",
        Region = "us-west-2",
        Strategy = "wrap",
        TaskDesiredCapacity = 2,
        TaskEbsBlockDevices = new[]
        {
            new SpotInst.Aws.Inputs.MrScalarTaskEbsBlockDeviceArgs
            {
                SizeInGb = 20,
                VolumeType = "gp2",
                VolumesPerInstance = 1,
            },
        },
        TaskInstanceTypes = new[]
        {
            "c3.xlarge",
            "c4.xlarge",
        },
        TaskLifecycle = "SPOT",
        TaskMaxSize = 4,
        TaskMinSize = 0,
        TaskUnit = "instance",
    });

});
package main

import (
	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/aws"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewMrScalar(ctx, "example-scaler-2", &aws.MrScalarArgs{
			ClusterId:           pulumi.String("j-27UVDEHXL4OQM"),
			Description:         pulumi.String("created by Pulumi"),
			Region:              pulumi.String("us-west-2"),
			Strategy:            pulumi.String("wrap"),
			TaskDesiredCapacity: pulumi.Int(2),
			TaskEbsBlockDevices: aws.MrScalarTaskEbsBlockDeviceArray{
				&aws.MrScalarTaskEbsBlockDeviceArgs{
					SizeInGb:           pulumi.Int(20),
					VolumeType:         pulumi.String("gp2"),
					VolumesPerInstance: pulumi.Int(1),
				},
			},
			TaskInstanceTypes: pulumi.StringArray{
				pulumi.String("c3.xlarge"),
				pulumi.String("c4.xlarge"),
			},
			TaskLifecycle: pulumi.String("SPOT"),
			TaskMaxSize:   pulumi.Int(4),
			TaskMinSize:   pulumi.Int(0),
			TaskUnit:      pulumi.String("instance"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.aws.MrScalar;
import com.pulumi.spotinst.aws.MrScalarArgs;
import com.pulumi.spotinst.aws.inputs.MrScalarTaskEbsBlockDeviceArgs;
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) {
        var example_scaler_2 = new MrScalar("example-scaler-2", MrScalarArgs.builder()        
            .clusterId("j-27UVDEHXL4OQM")
            .description("created by Pulumi")
            .region("us-west-2")
            .strategy("wrap")
            .taskDesiredCapacity(2)
            .taskEbsBlockDevices(MrScalarTaskEbsBlockDeviceArgs.builder()
                .sizeInGb(20)
                .volumeType("gp2")
                .volumesPerInstance(1)
                .build())
            .taskInstanceTypes(            
                "c3.xlarge",
                "c4.xlarge")
            .taskLifecycle("SPOT")
            .taskMaxSize(4)
            .taskMinSize(0)
            .taskUnit("instance")
            .build());

    }
}
import pulumi
import pulumi_spotinst as spotinst

example_scaler_2 = spotinst.aws.MrScalar("example-scaler-2",
    cluster_id="j-27UVDEHXL4OQM",
    description="created by Pulumi",
    region="us-west-2",
    strategy="wrap",
    task_desired_capacity=2,
    task_ebs_block_devices=[spotinst.aws.MrScalarTaskEbsBlockDeviceArgs(
        size_in_gb=20,
        volume_type="gp2",
        volumes_per_instance=1,
    )],
    task_instance_types=[
        "c3.xlarge",
        "c4.xlarge",
    ],
    task_lifecycle="SPOT",
    task_max_size=4,
    task_min_size=0,
    task_unit="instance")
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";

const example_scaler_2 = new spotinst.aws.MrScalar("example-scaler-2", {
    clusterId: "j-27UVDEHXL4OQM",
    description: "created by Pulumi",
    region: "us-west-2",
    strategy: "wrap",
    taskDesiredCapacity: 2,
    taskEbsBlockDevices: [{
        sizeInGb: 20,
        volumeType: "gp2",
        volumesPerInstance: 1,
    }],
    taskInstanceTypes: [
        "c3.xlarge",
        "c4.xlarge",
    ],
    taskLifecycle: "SPOT",
    taskMaxSize: 4,
    taskMinSize: 0,
    taskUnit: "instance",
});
resources:
  example-scaler-2:
    type: spotinst:aws:MrScalar
    properties:
      clusterId: j-27UVDEHXL4OQM
      description: created by Pulumi
      region: us-west-2
      strategy: wrap
      taskDesiredCapacity: 2
      taskEbsBlockDevices:
        - sizeInGb: 20
          volumeType: gp2
          volumesPerInstance: 1
      # --- TASK GROUP -------------
      taskInstanceTypes:
        - c3.xlarge
        - c4.xlarge
      taskLifecycle: SPOT
      taskMaxSize: 4
      taskMinSize: 0
      taskUnit: instance

Create MrScalar Resource

new MrScalar(name: string, args: MrScalarArgs, opts?: CustomResourceOptions);
@overload
def MrScalar(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             additional_info: Optional[str] = None,
             additional_primary_security_groups: Optional[Sequence[str]] = None,
             additional_replica_security_groups: Optional[Sequence[str]] = None,
             applications: Optional[Sequence[MrScalarApplicationArgs]] = None,
             availability_zones: Optional[Sequence[str]] = None,
             bootstrap_actions_files: Optional[Sequence[MrScalarBootstrapActionsFileArgs]] = None,
             cluster_id: Optional[str] = None,
             configurations_files: Optional[Sequence[MrScalarConfigurationsFileArgs]] = None,
             core_desired_capacity: Optional[int] = None,
             core_ebs_block_devices: Optional[Sequence[MrScalarCoreEbsBlockDeviceArgs]] = None,
             core_ebs_optimized: Optional[bool] = None,
             core_instance_types: Optional[Sequence[str]] = None,
             core_lifecycle: Optional[str] = None,
             core_max_size: Optional[int] = None,
             core_min_size: Optional[int] = None,
             core_scaling_down_policies: Optional[Sequence[MrScalarCoreScalingDownPolicyArgs]] = None,
             core_scaling_up_policies: Optional[Sequence[MrScalarCoreScalingUpPolicyArgs]] = None,
             core_unit: Optional[str] = None,
             custom_ami_id: Optional[str] = None,
             description: Optional[str] = None,
             ebs_root_volume_size: Optional[int] = None,
             ec2_key_name: Optional[str] = None,
             expose_cluster_id: Optional[bool] = None,
             instance_weights: Optional[Sequence[MrScalarInstanceWeightArgs]] = None,
             job_flow_role: Optional[str] = None,
             keep_job_flow_alive: Optional[bool] = None,
             log_uri: Optional[str] = None,
             managed_primary_security_group: Optional[str] = None,
             managed_replica_security_group: Optional[str] = None,
             master_ebs_block_devices: Optional[Sequence[MrScalarMasterEbsBlockDeviceArgs]] = None,
             master_ebs_optimized: Optional[bool] = None,
             master_instance_types: Optional[Sequence[str]] = None,
             master_lifecycle: Optional[str] = None,
             master_target: Optional[int] = None,
             name: Optional[str] = None,
             provisioning_timeout: Optional[MrScalarProvisioningTimeoutArgs] = None,
             region: Optional[str] = None,
             release_label: Optional[str] = None,
             repo_upgrade_on_boot: Optional[str] = None,
             retries: Optional[int] = None,
             scheduled_tasks: Optional[Sequence[MrScalarScheduledTaskArgs]] = None,
             security_config: Optional[str] = None,
             service_access_security_group: Optional[str] = None,
             service_role: Optional[str] = None,
             steps_files: Optional[Sequence[MrScalarStepsFileArgs]] = None,
             strategy: Optional[str] = None,
             tags: Optional[Sequence[MrScalarTagArgs]] = None,
             task_desired_capacity: Optional[int] = None,
             task_ebs_block_devices: Optional[Sequence[MrScalarTaskEbsBlockDeviceArgs]] = None,
             task_ebs_optimized: Optional[bool] = None,
             task_instance_types: Optional[Sequence[str]] = None,
             task_lifecycle: Optional[str] = None,
             task_max_size: Optional[int] = None,
             task_min_size: Optional[int] = None,
             task_scaling_down_policies: Optional[Sequence[MrScalarTaskScalingDownPolicyArgs]] = None,
             task_scaling_up_policies: Optional[Sequence[MrScalarTaskScalingUpPolicyArgs]] = None,
             task_unit: Optional[str] = None,
             termination_policies: Optional[Sequence[MrScalarTerminationPolicyArgs]] = None,
             termination_protected: Optional[bool] = None,
             visible_to_all_users: Optional[bool] = None)
@overload
def MrScalar(resource_name: str,
             args: MrScalarArgs,
             opts: Optional[ResourceOptions] = None)
func NewMrScalar(ctx *Context, name string, args MrScalarArgs, opts ...ResourceOption) (*MrScalar, error)
public MrScalar(string name, MrScalarArgs args, CustomResourceOptions? opts = null)
public MrScalar(String name, MrScalarArgs args)
public MrScalar(String name, MrScalarArgs args, CustomResourceOptions options)
type: spotinst:aws:MrScalar
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args MrScalarArgs
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 MrScalarArgs
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 MrScalarArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args MrScalarArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args MrScalarArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MrScalar Resource Properties

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

Inputs

The MrScalar resource accepts the following input properties:

Strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

AdditionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

AdditionalPrimarySecurityGroups List<string>

A list of additional Amazon EC2 security group IDs for the master node.

AdditionalReplicaSecurityGroups List<string>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

Applications List<Pulumi.SpotInst.Aws.Inputs.MrScalarApplicationArgs>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

AvailabilityZones List<string>

List of AZs and their subnet Ids. See example above for usage.

BootstrapActionsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarBootstrapActionsFileArgs>

Describes path to S3 file containing description of bootstrap actions. More Information

ClusterId string

The MrScaler cluster id.

ConfigurationsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarConfigurationsFileArgs>

Describes path to S3 file containing description of configurations. More Information

CoreDesiredCapacity int

amount of instances in core group.

CoreEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreEbsBlockDeviceArgs>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

CoreEbsOptimized bool

EBS Optimization setting for instances in group.

CoreInstanceTypes List<string>

The MrScaler instance types for the core nodes.

CoreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

CoreMaxSize int

maximal amount of instances in core group.

CoreMinSize int

The minimal amount of instances in core group.

CoreScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreScalingDownPolicyArgs>
CoreScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreScalingUpPolicyArgs>
CoreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

CustomAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

Description string

The MrScaler description.

EbsRootVolumeSize int
Ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

ExposeClusterId bool

Allow the cluster_id to set a provider output variable.

InstanceWeights List<Pulumi.SpotInst.Aws.Inputs.MrScalarInstanceWeightArgs>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

JobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

KeepJobFlowAlive bool

Specifies whether the cluster should remain available after completing all steps.

LogUri string

The path to the Amazon S3 location where logs for this cluster are stored.

ManagedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

ManagedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

MasterEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarMasterEbsBlockDeviceArgs>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

MasterEbsOptimized bool

EBS Optimization setting for instances in group.

MasterInstanceTypes List<string>

The MrScaler instance types for the master nodes.

MasterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

MasterTarget int

Number of instances in the master group.

Name string

The MrScaler name.

ProvisioningTimeout Pulumi.SpotInst.Aws.Inputs.MrScalarProvisioningTimeoutArgs
Region string

The MrScaler region.

ReleaseLabel string
RepoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

Retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.MrScalarScheduledTaskArgs>

An array of scheduled tasks.

SecurityConfig string

The name of the security configuration applied to the cluster.

ServiceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

ServiceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

StepsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarStepsFileArgs>

Steps from S3.

Tags List<Pulumi.SpotInst.Aws.Inputs.MrScalarTagArgs>

A list of tags to assign to the resource. You may define multiple tags.

TaskDesiredCapacity int

amount of instances in task group.

TaskEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskEbsBlockDeviceArgs>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

TaskEbsOptimized bool

EBS Optimization setting for instances in group.

TaskInstanceTypes List<string>

The MrScaler instance types for the task nodes.

TaskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

TaskMaxSize int

maximal amount of instances in task group.

TaskMinSize int

The minimal amount of instances in task group.

TaskScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskScalingDownPolicyArgs>
TaskScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskScalingUpPolicyArgs>
TaskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

TerminationPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTerminationPolicyArgs>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

TerminationProtected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

VisibleToAllUsers bool

Deprecated:

This field has been removed from our API and is no longer functional.

Strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

AdditionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

AdditionalPrimarySecurityGroups []string

A list of additional Amazon EC2 security group IDs for the master node.

AdditionalReplicaSecurityGroups []string

A list of additional Amazon EC2 security group IDs for the core and task nodes.

Applications []MrScalarApplicationArgs

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

AvailabilityZones []string

List of AZs and their subnet Ids. See example above for usage.

BootstrapActionsFiles []MrScalarBootstrapActionsFileArgs

Describes path to S3 file containing description of bootstrap actions. More Information

ClusterId string

The MrScaler cluster id.

ConfigurationsFiles []MrScalarConfigurationsFileArgs

Describes path to S3 file containing description of configurations. More Information

CoreDesiredCapacity int

amount of instances in core group.

CoreEbsBlockDevices []MrScalarCoreEbsBlockDeviceArgs

This determines the ebs configuration for your core group instances. Only a single block is allowed.

CoreEbsOptimized bool

EBS Optimization setting for instances in group.

CoreInstanceTypes []string

The MrScaler instance types for the core nodes.

CoreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

CoreMaxSize int

maximal amount of instances in core group.

CoreMinSize int

The minimal amount of instances in core group.

CoreScalingDownPolicies []MrScalarCoreScalingDownPolicyArgs
CoreScalingUpPolicies []MrScalarCoreScalingUpPolicyArgs
CoreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

CustomAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

Description string

The MrScaler description.

EbsRootVolumeSize int
Ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

ExposeClusterId bool

Allow the cluster_id to set a provider output variable.

InstanceWeights []MrScalarInstanceWeightArgs

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

JobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

KeepJobFlowAlive bool

Specifies whether the cluster should remain available after completing all steps.

LogUri string

The path to the Amazon S3 location where logs for this cluster are stored.

ManagedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

ManagedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

MasterEbsBlockDevices []MrScalarMasterEbsBlockDeviceArgs

This determines the ebs configuration for your master group instances. Only a single block is allowed.

MasterEbsOptimized bool

EBS Optimization setting for instances in group.

MasterInstanceTypes []string

The MrScaler instance types for the master nodes.

MasterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

MasterTarget int

Number of instances in the master group.

Name string

The MrScaler name.

ProvisioningTimeout MrScalarProvisioningTimeoutArgs
Region string

The MrScaler region.

ReleaseLabel string
RepoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

Retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

ScheduledTasks []MrScalarScheduledTaskArgs

An array of scheduled tasks.

SecurityConfig string

The name of the security configuration applied to the cluster.

ServiceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

ServiceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

StepsFiles []MrScalarStepsFileArgs

Steps from S3.

Tags []MrScalarTagArgs

A list of tags to assign to the resource. You may define multiple tags.

TaskDesiredCapacity int

amount of instances in task group.

TaskEbsBlockDevices []MrScalarTaskEbsBlockDeviceArgs

This determines the ebs configuration for your task group instances. Only a single block is allowed.

TaskEbsOptimized bool

EBS Optimization setting for instances in group.

TaskInstanceTypes []string

The MrScaler instance types for the task nodes.

TaskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

TaskMaxSize int

maximal amount of instances in task group.

TaskMinSize int

The minimal amount of instances in task group.

TaskScalingDownPolicies []MrScalarTaskScalingDownPolicyArgs
TaskScalingUpPolicies []MrScalarTaskScalingUpPolicyArgs
TaskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

TerminationPolicies []MrScalarTerminationPolicyArgs

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

TerminationProtected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

VisibleToAllUsers bool

Deprecated:

This field has been removed from our API and is no longer functional.

strategy String

The MrScaler strategy. Allowed values are new clone and wrap.

additionalInfo String

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications List<MrScalarApplicationArgs>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones List<String>

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles List<MrScalarBootstrapActionsFileArgs>

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId String

The MrScaler cluster id.

configurationsFiles List<MrScalarConfigurationsFileArgs>

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity Integer

amount of instances in core group.

coreEbsBlockDevices List<MrScalarCoreEbsBlockDeviceArgs>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized Boolean

EBS Optimization setting for instances in group.

coreInstanceTypes List<String>

The MrScaler instance types for the core nodes.

coreLifecycle String

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize Integer

maximal amount of instances in core group.

coreMinSize Integer

The minimal amount of instances in core group.

coreScalingDownPolicies List<MrScalarCoreScalingDownPolicyArgs>
coreScalingUpPolicies List<MrScalarCoreScalingUpPolicyArgs>
coreUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId String

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description String

The MrScaler description.

ebsRootVolumeSize Integer
ec2KeyName String

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId Boolean

Allow the cluster_id to set a provider output variable.

instanceWeights List<MrScalarInstanceWeightArgs>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole String

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive Boolean

Specifies whether the cluster should remain available after completing all steps.

logUri String

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup String

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup String

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices List<MrScalarMasterEbsBlockDeviceArgs>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized Boolean

EBS Optimization setting for instances in group.

masterInstanceTypes List<String>

The MrScaler instance types for the master nodes.

masterLifecycle String

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget Integer

Number of instances in the master group.

name String

The MrScaler name.

provisioningTimeout MrScalarProvisioningTimeoutArgs
region String

The MrScaler region.

releaseLabel String
repoUpgradeOnBoot String

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries Integer

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks List<MrScalarScheduledTaskArgs>

An array of scheduled tasks.

securityConfig String

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup String

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole String

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles List<MrScalarStepsFileArgs>

Steps from S3.

tags List<MrScalarTagArgs>

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity Integer

amount of instances in task group.

taskEbsBlockDevices List<MrScalarTaskEbsBlockDeviceArgs>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized Boolean

EBS Optimization setting for instances in group.

taskInstanceTypes List<String>

The MrScaler instance types for the task nodes.

taskLifecycle String

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize Integer

maximal amount of instances in task group.

taskMinSize Integer

The minimal amount of instances in task group.

taskScalingDownPolicies List<MrScalarTaskScalingDownPolicyArgs>
taskScalingUpPolicies List<MrScalarTaskScalingUpPolicyArgs>
taskUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies List<MrScalarTerminationPolicyArgs>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected Boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers Boolean

Deprecated:

This field has been removed from our API and is no longer functional.

strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

additionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups string[]

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups string[]

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications MrScalarApplicationArgs[]

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones string[]

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles MrScalarBootstrapActionsFileArgs[]

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId string

The MrScaler cluster id.

configurationsFiles MrScalarConfigurationsFileArgs[]

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity number

amount of instances in core group.

coreEbsBlockDevices MrScalarCoreEbsBlockDeviceArgs[]

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized boolean

EBS Optimization setting for instances in group.

coreInstanceTypes string[]

The MrScaler instance types for the core nodes.

coreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize number

maximal amount of instances in core group.

coreMinSize number

The minimal amount of instances in core group.

coreScalingDownPolicies MrScalarCoreScalingDownPolicyArgs[]
coreScalingUpPolicies MrScalarCoreScalingUpPolicyArgs[]
coreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description string

The MrScaler description.

ebsRootVolumeSize number
ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId boolean

Allow the cluster_id to set a provider output variable.

instanceWeights MrScalarInstanceWeightArgs[]

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive boolean

Specifies whether the cluster should remain available after completing all steps.

logUri string

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices MrScalarMasterEbsBlockDeviceArgs[]

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized boolean

EBS Optimization setting for instances in group.

masterInstanceTypes string[]

The MrScaler instance types for the master nodes.

masterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget number

Number of instances in the master group.

name string

The MrScaler name.

provisioningTimeout MrScalarProvisioningTimeoutArgs
region string

The MrScaler region.

releaseLabel string
repoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries number

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks MrScalarScheduledTaskArgs[]

An array of scheduled tasks.

securityConfig string

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles MrScalarStepsFileArgs[]

Steps from S3.

tags MrScalarTagArgs[]

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity number

amount of instances in task group.

taskEbsBlockDevices MrScalarTaskEbsBlockDeviceArgs[]

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized boolean

EBS Optimization setting for instances in group.

taskInstanceTypes string[]

The MrScaler instance types for the task nodes.

taskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize number

maximal amount of instances in task group.

taskMinSize number

The minimal amount of instances in task group.

taskScalingDownPolicies MrScalarTaskScalingDownPolicyArgs[]
taskScalingUpPolicies MrScalarTaskScalingUpPolicyArgs[]
taskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies MrScalarTerminationPolicyArgs[]

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers boolean

Deprecated:

This field has been removed from our API and is no longer functional.

strategy str

The MrScaler strategy. Allowed values are new clone and wrap.

additional_info str

This is meta information about third-party applications that third-party vendors use for testing purposes.

additional_primary_security_groups Sequence[str]

A list of additional Amazon EC2 security group IDs for the master node.

additional_replica_security_groups Sequence[str]

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications Sequence[MrScalarApplicationArgs]

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availability_zones Sequence[str]

List of AZs and their subnet Ids. See example above for usage.

bootstrap_actions_files Sequence[MrScalarBootstrapActionsFileArgs]

Describes path to S3 file containing description of bootstrap actions. More Information

cluster_id str

The MrScaler cluster id.

configurations_files Sequence[MrScalarConfigurationsFileArgs]

Describes path to S3 file containing description of configurations. More Information

core_desired_capacity int

amount of instances in core group.

core_ebs_block_devices Sequence[MrScalarCoreEbsBlockDeviceArgs]

This determines the ebs configuration for your core group instances. Only a single block is allowed.

core_ebs_optimized bool

EBS Optimization setting for instances in group.

core_instance_types Sequence[str]

The MrScaler instance types for the core nodes.

core_lifecycle str

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

core_max_size int

maximal amount of instances in core group.

core_min_size int

The minimal amount of instances in core group.

core_scaling_down_policies Sequence[MrScalarCoreScalingDownPolicyArgs]
core_scaling_up_policies Sequence[MrScalarCoreScalingUpPolicyArgs]
core_unit str

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

custom_ami_id str

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description str

The MrScaler description.

ebs_root_volume_size int
ec2_key_name str

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

expose_cluster_id bool

Allow the cluster_id to set a provider output variable.

instance_weights Sequence[MrScalarInstanceWeightArgs]

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

job_flow_role str

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keep_job_flow_alive bool

Specifies whether the cluster should remain available after completing all steps.

log_uri str

The path to the Amazon S3 location where logs for this cluster are stored.

managed_primary_security_group str

EMR Managed Security group that will be set to the primary instance group.

managed_replica_security_group str

EMR Managed Security group that will be set to the replica instance group.

master_ebs_block_devices Sequence[MrScalarMasterEbsBlockDeviceArgs]

This determines the ebs configuration for your master group instances. Only a single block is allowed.

master_ebs_optimized bool

EBS Optimization setting for instances in group.

master_instance_types Sequence[str]

The MrScaler instance types for the master nodes.

master_lifecycle str

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

master_target int

Number of instances in the master group.

name str

The MrScaler name.

provisioning_timeout MrScalarProvisioningTimeoutArgs
region str

The MrScaler region.

release_label str
repo_upgrade_on_boot str

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduled_tasks Sequence[MrScalarScheduledTaskArgs]

An array of scheduled tasks.

security_config str

The name of the security configuration applied to the cluster.

service_access_security_group str

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

service_role str

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

steps_files Sequence[MrScalarStepsFileArgs]

Steps from S3.

tags Sequence[MrScalarTagArgs]

A list of tags to assign to the resource. You may define multiple tags.

task_desired_capacity int

amount of instances in task group.

task_ebs_block_devices Sequence[MrScalarTaskEbsBlockDeviceArgs]

This determines the ebs configuration for your task group instances. Only a single block is allowed.

task_ebs_optimized bool

EBS Optimization setting for instances in group.

task_instance_types Sequence[str]

The MrScaler instance types for the task nodes.

task_lifecycle str

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

task_max_size int

maximal amount of instances in task group.

task_min_size int

The minimal amount of instances in task group.

task_scaling_down_policies Sequence[MrScalarTaskScalingDownPolicyArgs]
task_scaling_up_policies Sequence[MrScalarTaskScalingUpPolicyArgs]
task_unit str

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

termination_policies Sequence[MrScalarTerminationPolicyArgs]

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

termination_protected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visible_to_all_users bool

Deprecated:

This field has been removed from our API and is no longer functional.

strategy String

The MrScaler strategy. Allowed values are new clone and wrap.

additionalInfo String

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications List<Property Map>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones List<String>

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles List<Property Map>

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId String

The MrScaler cluster id.

configurationsFiles List<Property Map>

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity Number

amount of instances in core group.

coreEbsBlockDevices List<Property Map>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized Boolean

EBS Optimization setting for instances in group.

coreInstanceTypes List<String>

The MrScaler instance types for the core nodes.

coreLifecycle String

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize Number

maximal amount of instances in core group.

coreMinSize Number

The minimal amount of instances in core group.

coreScalingDownPolicies List<Property Map>
coreScalingUpPolicies List<Property Map>
coreUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId String

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description String

The MrScaler description.

ebsRootVolumeSize Number
ec2KeyName String

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId Boolean

Allow the cluster_id to set a provider output variable.

instanceWeights List<Property Map>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole String

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive Boolean

Specifies whether the cluster should remain available after completing all steps.

logUri String

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup String

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup String

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices List<Property Map>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized Boolean

EBS Optimization setting for instances in group.

masterInstanceTypes List<String>

The MrScaler instance types for the master nodes.

masterLifecycle String

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget Number

Number of instances in the master group.

name String

The MrScaler name.

provisioningTimeout Property Map
region String

The MrScaler region.

releaseLabel String
repoUpgradeOnBoot String

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries Number

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks List<Property Map>

An array of scheduled tasks.

securityConfig String

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup String

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole String

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles List<Property Map>

Steps from S3.

tags List<Property Map>

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity Number

amount of instances in task group.

taskEbsBlockDevices List<Property Map>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized Boolean

EBS Optimization setting for instances in group.

taskInstanceTypes List<String>

The MrScaler instance types for the task nodes.

taskLifecycle String

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize Number

maximal amount of instances in task group.

taskMinSize Number

The minimal amount of instances in task group.

taskScalingDownPolicies List<Property Map>
taskScalingUpPolicies List<Property Map>
taskUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies List<Property Map>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected Boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers Boolean

Deprecated:

This field has been removed from our API and is no longer functional.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

OutputClusterId string
Id string

The provider-assigned unique ID for this managed resource.

OutputClusterId string
id String

The provider-assigned unique ID for this managed resource.

outputClusterId String
id string

The provider-assigned unique ID for this managed resource.

outputClusterId string
id str

The provider-assigned unique ID for this managed resource.

output_cluster_id str
id String

The provider-assigned unique ID for this managed resource.

outputClusterId String

Look up Existing MrScalar Resource

Get an existing MrScalar 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?: MrScalarState, opts?: CustomResourceOptions): MrScalar
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        additional_info: Optional[str] = None,
        additional_primary_security_groups: Optional[Sequence[str]] = None,
        additional_replica_security_groups: Optional[Sequence[str]] = None,
        applications: Optional[Sequence[MrScalarApplicationArgs]] = None,
        availability_zones: Optional[Sequence[str]] = None,
        bootstrap_actions_files: Optional[Sequence[MrScalarBootstrapActionsFileArgs]] = None,
        cluster_id: Optional[str] = None,
        configurations_files: Optional[Sequence[MrScalarConfigurationsFileArgs]] = None,
        core_desired_capacity: Optional[int] = None,
        core_ebs_block_devices: Optional[Sequence[MrScalarCoreEbsBlockDeviceArgs]] = None,
        core_ebs_optimized: Optional[bool] = None,
        core_instance_types: Optional[Sequence[str]] = None,
        core_lifecycle: Optional[str] = None,
        core_max_size: Optional[int] = None,
        core_min_size: Optional[int] = None,
        core_scaling_down_policies: Optional[Sequence[MrScalarCoreScalingDownPolicyArgs]] = None,
        core_scaling_up_policies: Optional[Sequence[MrScalarCoreScalingUpPolicyArgs]] = None,
        core_unit: Optional[str] = None,
        custom_ami_id: Optional[str] = None,
        description: Optional[str] = None,
        ebs_root_volume_size: Optional[int] = None,
        ec2_key_name: Optional[str] = None,
        expose_cluster_id: Optional[bool] = None,
        instance_weights: Optional[Sequence[MrScalarInstanceWeightArgs]] = None,
        job_flow_role: Optional[str] = None,
        keep_job_flow_alive: Optional[bool] = None,
        log_uri: Optional[str] = None,
        managed_primary_security_group: Optional[str] = None,
        managed_replica_security_group: Optional[str] = None,
        master_ebs_block_devices: Optional[Sequence[MrScalarMasterEbsBlockDeviceArgs]] = None,
        master_ebs_optimized: Optional[bool] = None,
        master_instance_types: Optional[Sequence[str]] = None,
        master_lifecycle: Optional[str] = None,
        master_target: Optional[int] = None,
        name: Optional[str] = None,
        output_cluster_id: Optional[str] = None,
        provisioning_timeout: Optional[MrScalarProvisioningTimeoutArgs] = None,
        region: Optional[str] = None,
        release_label: Optional[str] = None,
        repo_upgrade_on_boot: Optional[str] = None,
        retries: Optional[int] = None,
        scheduled_tasks: Optional[Sequence[MrScalarScheduledTaskArgs]] = None,
        security_config: Optional[str] = None,
        service_access_security_group: Optional[str] = None,
        service_role: Optional[str] = None,
        steps_files: Optional[Sequence[MrScalarStepsFileArgs]] = None,
        strategy: Optional[str] = None,
        tags: Optional[Sequence[MrScalarTagArgs]] = None,
        task_desired_capacity: Optional[int] = None,
        task_ebs_block_devices: Optional[Sequence[MrScalarTaskEbsBlockDeviceArgs]] = None,
        task_ebs_optimized: Optional[bool] = None,
        task_instance_types: Optional[Sequence[str]] = None,
        task_lifecycle: Optional[str] = None,
        task_max_size: Optional[int] = None,
        task_min_size: Optional[int] = None,
        task_scaling_down_policies: Optional[Sequence[MrScalarTaskScalingDownPolicyArgs]] = None,
        task_scaling_up_policies: Optional[Sequence[MrScalarTaskScalingUpPolicyArgs]] = None,
        task_unit: Optional[str] = None,
        termination_policies: Optional[Sequence[MrScalarTerminationPolicyArgs]] = None,
        termination_protected: Optional[bool] = None,
        visible_to_all_users: Optional[bool] = None) -> MrScalar
func GetMrScalar(ctx *Context, name string, id IDInput, state *MrScalarState, opts ...ResourceOption) (*MrScalar, error)
public static MrScalar Get(string name, Input<string> id, MrScalarState? state, CustomResourceOptions? opts = null)
public static MrScalar get(String name, Output<String> id, MrScalarState 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.
The following state arguments are supported:
AdditionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

AdditionalPrimarySecurityGroups List<string>

A list of additional Amazon EC2 security group IDs for the master node.

AdditionalReplicaSecurityGroups List<string>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

Applications List<Pulumi.SpotInst.Aws.Inputs.MrScalarApplicationArgs>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

AvailabilityZones List<string>

List of AZs and their subnet Ids. See example above for usage.

BootstrapActionsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarBootstrapActionsFileArgs>

Describes path to S3 file containing description of bootstrap actions. More Information

ClusterId string

The MrScaler cluster id.

ConfigurationsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarConfigurationsFileArgs>

Describes path to S3 file containing description of configurations. More Information

CoreDesiredCapacity int

amount of instances in core group.

CoreEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreEbsBlockDeviceArgs>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

CoreEbsOptimized bool

EBS Optimization setting for instances in group.

CoreInstanceTypes List<string>

The MrScaler instance types for the core nodes.

CoreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

CoreMaxSize int

maximal amount of instances in core group.

CoreMinSize int

The minimal amount of instances in core group.

CoreScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreScalingDownPolicyArgs>
CoreScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarCoreScalingUpPolicyArgs>
CoreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

CustomAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

Description string

The MrScaler description.

EbsRootVolumeSize int
Ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

ExposeClusterId bool

Allow the cluster_id to set a provider output variable.

InstanceWeights List<Pulumi.SpotInst.Aws.Inputs.MrScalarInstanceWeightArgs>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

JobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

KeepJobFlowAlive bool

Specifies whether the cluster should remain available after completing all steps.

LogUri string

The path to the Amazon S3 location where logs for this cluster are stored.

ManagedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

ManagedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

MasterEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarMasterEbsBlockDeviceArgs>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

MasterEbsOptimized bool

EBS Optimization setting for instances in group.

MasterInstanceTypes List<string>

The MrScaler instance types for the master nodes.

MasterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

MasterTarget int

Number of instances in the master group.

Name string

The MrScaler name.

OutputClusterId string
ProvisioningTimeout Pulumi.SpotInst.Aws.Inputs.MrScalarProvisioningTimeoutArgs
Region string

The MrScaler region.

ReleaseLabel string
RepoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

Retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.MrScalarScheduledTaskArgs>

An array of scheduled tasks.

SecurityConfig string

The name of the security configuration applied to the cluster.

ServiceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

ServiceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

StepsFiles List<Pulumi.SpotInst.Aws.Inputs.MrScalarStepsFileArgs>

Steps from S3.

Strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

Tags List<Pulumi.SpotInst.Aws.Inputs.MrScalarTagArgs>

A list of tags to assign to the resource. You may define multiple tags.

TaskDesiredCapacity int

amount of instances in task group.

TaskEbsBlockDevices List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskEbsBlockDeviceArgs>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

TaskEbsOptimized bool

EBS Optimization setting for instances in group.

TaskInstanceTypes List<string>

The MrScaler instance types for the task nodes.

TaskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

TaskMaxSize int

maximal amount of instances in task group.

TaskMinSize int

The minimal amount of instances in task group.

TaskScalingDownPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskScalingDownPolicyArgs>
TaskScalingUpPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTaskScalingUpPolicyArgs>
TaskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

TerminationPolicies List<Pulumi.SpotInst.Aws.Inputs.MrScalarTerminationPolicyArgs>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

TerminationProtected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

VisibleToAllUsers bool

Deprecated:

This field has been removed from our API and is no longer functional.

AdditionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

AdditionalPrimarySecurityGroups []string

A list of additional Amazon EC2 security group IDs for the master node.

AdditionalReplicaSecurityGroups []string

A list of additional Amazon EC2 security group IDs for the core and task nodes.

Applications []MrScalarApplicationArgs

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

AvailabilityZones []string

List of AZs and their subnet Ids. See example above for usage.

BootstrapActionsFiles []MrScalarBootstrapActionsFileArgs

Describes path to S3 file containing description of bootstrap actions. More Information

ClusterId string

The MrScaler cluster id.

ConfigurationsFiles []MrScalarConfigurationsFileArgs

Describes path to S3 file containing description of configurations. More Information

CoreDesiredCapacity int

amount of instances in core group.

CoreEbsBlockDevices []MrScalarCoreEbsBlockDeviceArgs

This determines the ebs configuration for your core group instances. Only a single block is allowed.

CoreEbsOptimized bool

EBS Optimization setting for instances in group.

CoreInstanceTypes []string

The MrScaler instance types for the core nodes.

CoreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

CoreMaxSize int

maximal amount of instances in core group.

CoreMinSize int

The minimal amount of instances in core group.

CoreScalingDownPolicies []MrScalarCoreScalingDownPolicyArgs
CoreScalingUpPolicies []MrScalarCoreScalingUpPolicyArgs
CoreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

CustomAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

Description string

The MrScaler description.

EbsRootVolumeSize int
Ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

ExposeClusterId bool

Allow the cluster_id to set a provider output variable.

InstanceWeights []MrScalarInstanceWeightArgs

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

JobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

KeepJobFlowAlive bool

Specifies whether the cluster should remain available after completing all steps.

LogUri string

The path to the Amazon S3 location where logs for this cluster are stored.

ManagedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

ManagedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

MasterEbsBlockDevices []MrScalarMasterEbsBlockDeviceArgs

This determines the ebs configuration for your master group instances. Only a single block is allowed.

MasterEbsOptimized bool

EBS Optimization setting for instances in group.

MasterInstanceTypes []string

The MrScaler instance types for the master nodes.

MasterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

MasterTarget int

Number of instances in the master group.

Name string

The MrScaler name.

OutputClusterId string
ProvisioningTimeout MrScalarProvisioningTimeoutArgs
Region string

The MrScaler region.

ReleaseLabel string
RepoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

Retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

ScheduledTasks []MrScalarScheduledTaskArgs

An array of scheduled tasks.

SecurityConfig string

The name of the security configuration applied to the cluster.

ServiceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

ServiceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

StepsFiles []MrScalarStepsFileArgs

Steps from S3.

Strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

Tags []MrScalarTagArgs

A list of tags to assign to the resource. You may define multiple tags.

TaskDesiredCapacity int

amount of instances in task group.

TaskEbsBlockDevices []MrScalarTaskEbsBlockDeviceArgs

This determines the ebs configuration for your task group instances. Only a single block is allowed.

TaskEbsOptimized bool

EBS Optimization setting for instances in group.

TaskInstanceTypes []string

The MrScaler instance types for the task nodes.

TaskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

TaskMaxSize int

maximal amount of instances in task group.

TaskMinSize int

The minimal amount of instances in task group.

TaskScalingDownPolicies []MrScalarTaskScalingDownPolicyArgs
TaskScalingUpPolicies []MrScalarTaskScalingUpPolicyArgs
TaskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

TerminationPolicies []MrScalarTerminationPolicyArgs

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

TerminationProtected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

VisibleToAllUsers bool

Deprecated:

This field has been removed from our API and is no longer functional.

additionalInfo String

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications List<MrScalarApplicationArgs>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones List<String>

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles List<MrScalarBootstrapActionsFileArgs>

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId String

The MrScaler cluster id.

configurationsFiles List<MrScalarConfigurationsFileArgs>

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity Integer

amount of instances in core group.

coreEbsBlockDevices List<MrScalarCoreEbsBlockDeviceArgs>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized Boolean

EBS Optimization setting for instances in group.

coreInstanceTypes List<String>

The MrScaler instance types for the core nodes.

coreLifecycle String

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize Integer

maximal amount of instances in core group.

coreMinSize Integer

The minimal amount of instances in core group.

coreScalingDownPolicies List<MrScalarCoreScalingDownPolicyArgs>
coreScalingUpPolicies List<MrScalarCoreScalingUpPolicyArgs>
coreUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId String

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description String

The MrScaler description.

ebsRootVolumeSize Integer
ec2KeyName String

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId Boolean

Allow the cluster_id to set a provider output variable.

instanceWeights List<MrScalarInstanceWeightArgs>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole String

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive Boolean

Specifies whether the cluster should remain available after completing all steps.

logUri String

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup String

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup String

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices List<MrScalarMasterEbsBlockDeviceArgs>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized Boolean

EBS Optimization setting for instances in group.

masterInstanceTypes List<String>

The MrScaler instance types for the master nodes.

masterLifecycle String

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget Integer

Number of instances in the master group.

name String

The MrScaler name.

outputClusterId String
provisioningTimeout MrScalarProvisioningTimeoutArgs
region String

The MrScaler region.

releaseLabel String
repoUpgradeOnBoot String

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries Integer

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks List<MrScalarScheduledTaskArgs>

An array of scheduled tasks.

securityConfig String

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup String

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole String

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles List<MrScalarStepsFileArgs>

Steps from S3.

strategy String

The MrScaler strategy. Allowed values are new clone and wrap.

tags List<MrScalarTagArgs>

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity Integer

amount of instances in task group.

taskEbsBlockDevices List<MrScalarTaskEbsBlockDeviceArgs>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized Boolean

EBS Optimization setting for instances in group.

taskInstanceTypes List<String>

The MrScaler instance types for the task nodes.

taskLifecycle String

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize Integer

maximal amount of instances in task group.

taskMinSize Integer

The minimal amount of instances in task group.

taskScalingDownPolicies List<MrScalarTaskScalingDownPolicyArgs>
taskScalingUpPolicies List<MrScalarTaskScalingUpPolicyArgs>
taskUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies List<MrScalarTerminationPolicyArgs>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected Boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers Boolean

Deprecated:

This field has been removed from our API and is no longer functional.

additionalInfo string

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups string[]

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups string[]

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications MrScalarApplicationArgs[]

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones string[]

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles MrScalarBootstrapActionsFileArgs[]

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId string

The MrScaler cluster id.

configurationsFiles MrScalarConfigurationsFileArgs[]

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity number

amount of instances in core group.

coreEbsBlockDevices MrScalarCoreEbsBlockDeviceArgs[]

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized boolean

EBS Optimization setting for instances in group.

coreInstanceTypes string[]

The MrScaler instance types for the core nodes.

coreLifecycle string

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize number

maximal amount of instances in core group.

coreMinSize number

The minimal amount of instances in core group.

coreScalingDownPolicies MrScalarCoreScalingDownPolicyArgs[]
coreScalingUpPolicies MrScalarCoreScalingUpPolicyArgs[]
coreUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId string

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description string

The MrScaler description.

ebsRootVolumeSize number
ec2KeyName string

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId boolean

Allow the cluster_id to set a provider output variable.

instanceWeights MrScalarInstanceWeightArgs[]

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole string

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive boolean

Specifies whether the cluster should remain available after completing all steps.

logUri string

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup string

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup string

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices MrScalarMasterEbsBlockDeviceArgs[]

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized boolean

EBS Optimization setting for instances in group.

masterInstanceTypes string[]

The MrScaler instance types for the master nodes.

masterLifecycle string

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget number

Number of instances in the master group.

name string

The MrScaler name.

outputClusterId string
provisioningTimeout MrScalarProvisioningTimeoutArgs
region string

The MrScaler region.

releaseLabel string
repoUpgradeOnBoot string

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries number

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks MrScalarScheduledTaskArgs[]

An array of scheduled tasks.

securityConfig string

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup string

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole string

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles MrScalarStepsFileArgs[]

Steps from S3.

strategy string

The MrScaler strategy. Allowed values are new clone and wrap.

tags MrScalarTagArgs[]

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity number

amount of instances in task group.

taskEbsBlockDevices MrScalarTaskEbsBlockDeviceArgs[]

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized boolean

EBS Optimization setting for instances in group.

taskInstanceTypes string[]

The MrScaler instance types for the task nodes.

taskLifecycle string

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize number

maximal amount of instances in task group.

taskMinSize number

The minimal amount of instances in task group.

taskScalingDownPolicies MrScalarTaskScalingDownPolicyArgs[]
taskScalingUpPolicies MrScalarTaskScalingUpPolicyArgs[]
taskUnit string

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies MrScalarTerminationPolicyArgs[]

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers boolean

Deprecated:

This field has been removed from our API and is no longer functional.

additional_info str

This is meta information about third-party applications that third-party vendors use for testing purposes.

additional_primary_security_groups Sequence[str]

A list of additional Amazon EC2 security group IDs for the master node.

additional_replica_security_groups Sequence[str]

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications Sequence[MrScalarApplicationArgs]

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availability_zones Sequence[str]

List of AZs and their subnet Ids. See example above for usage.

bootstrap_actions_files Sequence[MrScalarBootstrapActionsFileArgs]

Describes path to S3 file containing description of bootstrap actions. More Information

cluster_id str

The MrScaler cluster id.

configurations_files Sequence[MrScalarConfigurationsFileArgs]

Describes path to S3 file containing description of configurations. More Information

core_desired_capacity int

amount of instances in core group.

core_ebs_block_devices Sequence[MrScalarCoreEbsBlockDeviceArgs]

This determines the ebs configuration for your core group instances. Only a single block is allowed.

core_ebs_optimized bool

EBS Optimization setting for instances in group.

core_instance_types Sequence[str]

The MrScaler instance types for the core nodes.

core_lifecycle str

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

core_max_size int

maximal amount of instances in core group.

core_min_size int

The minimal amount of instances in core group.

core_scaling_down_policies Sequence[MrScalarCoreScalingDownPolicyArgs]
core_scaling_up_policies Sequence[MrScalarCoreScalingUpPolicyArgs]
core_unit str

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

custom_ami_id str

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description str

The MrScaler description.

ebs_root_volume_size int
ec2_key_name str

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

expose_cluster_id bool

Allow the cluster_id to set a provider output variable.

instance_weights Sequence[MrScalarInstanceWeightArgs]

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

job_flow_role str

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keep_job_flow_alive bool

Specifies whether the cluster should remain available after completing all steps.

log_uri str

The path to the Amazon S3 location where logs for this cluster are stored.

managed_primary_security_group str

EMR Managed Security group that will be set to the primary instance group.

managed_replica_security_group str

EMR Managed Security group that will be set to the replica instance group.

master_ebs_block_devices Sequence[MrScalarMasterEbsBlockDeviceArgs]

This determines the ebs configuration for your master group instances. Only a single block is allowed.

master_ebs_optimized bool

EBS Optimization setting for instances in group.

master_instance_types Sequence[str]

The MrScaler instance types for the master nodes.

master_lifecycle str

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

master_target int

Number of instances in the master group.

name str

The MrScaler name.

output_cluster_id str
provisioning_timeout MrScalarProvisioningTimeoutArgs
region str

The MrScaler region.

release_label str
repo_upgrade_on_boot str

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries int

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduled_tasks Sequence[MrScalarScheduledTaskArgs]

An array of scheduled tasks.

security_config str

The name of the security configuration applied to the cluster.

service_access_security_group str

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

service_role str

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

steps_files Sequence[MrScalarStepsFileArgs]

Steps from S3.

strategy str

The MrScaler strategy. Allowed values are new clone and wrap.

tags Sequence[MrScalarTagArgs]

A list of tags to assign to the resource. You may define multiple tags.

task_desired_capacity int

amount of instances in task group.

task_ebs_block_devices Sequence[MrScalarTaskEbsBlockDeviceArgs]

This determines the ebs configuration for your task group instances. Only a single block is allowed.

task_ebs_optimized bool

EBS Optimization setting for instances in group.

task_instance_types Sequence[str]

The MrScaler instance types for the task nodes.

task_lifecycle str

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

task_max_size int

maximal amount of instances in task group.

task_min_size int

The minimal amount of instances in task group.

task_scaling_down_policies Sequence[MrScalarTaskScalingDownPolicyArgs]
task_scaling_up_policies Sequence[MrScalarTaskScalingUpPolicyArgs]
task_unit str

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

termination_policies Sequence[MrScalarTerminationPolicyArgs]

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

termination_protected bool

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visible_to_all_users bool

Deprecated:

This field has been removed from our API and is no longer functional.

additionalInfo String

This is meta information about third-party applications that third-party vendors use for testing purposes.

additionalPrimarySecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the master node.

additionalReplicaSecurityGroups List<String>

A list of additional Amazon EC2 security group IDs for the core and task nodes.

applications List<Property Map>

A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster

availabilityZones List<String>

List of AZs and their subnet Ids. See example above for usage.

bootstrapActionsFiles List<Property Map>

Describes path to S3 file containing description of bootstrap actions. More Information

clusterId String

The MrScaler cluster id.

configurationsFiles List<Property Map>

Describes path to S3 file containing description of configurations. More Information

coreDesiredCapacity Number

amount of instances in core group.

coreEbsBlockDevices List<Property Map>

This determines the ebs configuration for your core group instances. Only a single block is allowed.

coreEbsOptimized Boolean

EBS Optimization setting for instances in group.

coreInstanceTypes List<String>

The MrScaler instance types for the core nodes.

coreLifecycle String

The MrScaler lifecycle for instances in core group. Allowed values are 'SPOT' and 'ON_DEMAND'.

coreMaxSize Number

maximal amount of instances in core group.

coreMinSize Number

The minimal amount of instances in core group.

coreScalingDownPolicies List<Property Map>
coreScalingUpPolicies List<Property Map>
coreUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

customAmiId String

The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

description String

The MrScaler description.

ebsRootVolumeSize Number
ec2KeyName String

The name of an Amazon EC2 key pair that can be used to ssh to the master node.

exposeClusterId Boolean

Allow the cluster_id to set a provider output variable.

instanceWeights List<Property Map>

Describes the instance and weights. Check out Elastigroup Weighted Instances for more info.

jobFlowRole String

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

keepJobFlowAlive Boolean

Specifies whether the cluster should remain available after completing all steps.

logUri String

The path to the Amazon S3 location where logs for this cluster are stored.

managedPrimarySecurityGroup String

EMR Managed Security group that will be set to the primary instance group.

managedReplicaSecurityGroup String

EMR Managed Security group that will be set to the replica instance group.

masterEbsBlockDevices List<Property Map>

This determines the ebs configuration for your master group instances. Only a single block is allowed.

masterEbsOptimized Boolean

EBS Optimization setting for instances in group.

masterInstanceTypes List<String>

The MrScaler instance types for the master nodes.

masterLifecycle String

The MrScaler lifecycle for instances in master group. Allowed values are 'SPOT' and 'ON_DEMAND'.

masterTarget Number

Number of instances in the master group.

name String

The MrScaler name.

outputClusterId String
provisioningTimeout Property Map
region String

The MrScaler region.

releaseLabel String
repoUpgradeOnBoot String

Applies only when custom_ami_id is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI. Possible values include: SECURITY, NONE.

retries Number

Specifies the maximum number of times a capacity provisioning should be retried if the provisioning timeout is exceeded. Valid values: 1-5.

scheduledTasks List<Property Map>

An array of scheduled tasks.

securityConfig String

The name of the security configuration applied to the cluster.

serviceAccessSecurityGroup String

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

serviceRole String

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

stepsFiles List<Property Map>

Steps from S3.

strategy String

The MrScaler strategy. Allowed values are new clone and wrap.

tags List<Property Map>

A list of tags to assign to the resource. You may define multiple tags.

taskDesiredCapacity Number

amount of instances in task group.

taskEbsBlockDevices List<Property Map>

This determines the ebs configuration for your task group instances. Only a single block is allowed.

taskEbsOptimized Boolean

EBS Optimization setting for instances in group.

taskInstanceTypes List<String>

The MrScaler instance types for the task nodes.

taskLifecycle String

The MrScaler lifecycle for instances in task group. Allowed values are 'SPOT' and 'ON_DEMAND'.

taskMaxSize Number

maximal amount of instances in task group.

taskMinSize Number

The minimal amount of instances in task group.

taskScalingDownPolicies List<Property Map>
taskScalingUpPolicies List<Property Map>
taskUnit String

Unit of task group for target, min and max. The unit could be instance or weight. instance - amount of instances. weight - amount of vCPU.

terminationPolicies List<Property Map>

Allows defining termination policies for EMR clusters based on CloudWatch Metrics.

terminationProtected Boolean

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.

visibleToAllUsers Boolean

Deprecated:

This field has been removed from our API and is no longer functional.

Supporting Types

MrScalarApplication

Name string

The MrScaler name.

Args List<string>

Arguments for EMR to pass to the application.

Version string

T he version of the application.

Name string

The MrScaler name.

Args []string

Arguments for EMR to pass to the application.

Version string

T he version of the application.

name String

The MrScaler name.

args List<String>

Arguments for EMR to pass to the application.

version String

T he version of the application.

name string

The MrScaler name.

args string[]

Arguments for EMR to pass to the application.

version string

T he version of the application.

name str

The MrScaler name.

args Sequence[str]

Arguments for EMR to pass to the application.

version str

T he version of the application.

name String

The MrScaler name.

args List<String>

Arguments for EMR to pass to the application.

version String

T he version of the application.

MrScalarBootstrapActionsFile

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

bucket string

S3 Bucket name for configurations.

key string

Tag key.

bucket str

S3 Bucket name for configurations.

key str

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

MrScalarConfigurationsFile

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

bucket string

S3 Bucket name for configurations.

key string

Tag key.

bucket str

S3 Bucket name for configurations.

key str

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

MrScalarCoreEbsBlockDevice

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

sizeInGb Integer

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Integer

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Integer

Amount of volumes per instance in the task group.

sizeInGb number

Size of the volume, in GBs.

volumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

iops number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance number

Amount of volumes per instance in the task group.

size_in_gb int

Size of the volume, in GBs.

volume_type str

volume type. Allowed values are 'gp2', 'io1' and others.

iops int

IOPS for the volume. Required in some volume types, such as io1.

volumes_per_instance int

Amount of volumes per instance in the task group.

sizeInGb Number

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Number

Amount of volumes per instance in the task group.

MrScalarCoreScalingDownPolicy

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold double

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions Dictionary<string, object>

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold float64

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions map[string]interface{}

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Double

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Integer

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<String,Object>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Integer

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Integer

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

metricName string

The name of the metric in CloudWatch which the statement will be based on.

namespace string

Must contain the value: AWS/ElasticMapReduce.

policyName string

The name of the policy.

threshold number

The value that the specified statistic is compared to.

unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions {[key: string]: any}

A mapping of dimensions describing qualities of the metric.

evaluationPeriods number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity string

Max target capacity for scale down.

maximum string

The maximum to set when scale is needed.

minTargetCapacity string

Min target capacity for scale up.

minimum string

The minimum to set when scale is needed.

operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period number

The time window in seconds over which the statistic is applied.

statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target string

The number of instances to set when scale is needed.

metric_name str

The name of the metric in CloudWatch which the statement will be based on.

namespace str

Must contain the value: AWS/ElasticMapReduce.

policy_name str

The name of the policy.

threshold float

The value that the specified statistic is compared to.

unit str

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

action_type str

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment str

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Mapping[str, Any]

A mapping of dimensions describing qualities of the metric.

evaluation_periods int

The number of periods over which data is compared to the specified threshold.

max_target_capacity str

Max target capacity for scale down.

maximum str

The maximum to set when scale is needed.

min_target_capacity str

Min target capacity for scale up.

minimum str

The minimum to set when scale is needed.

operator str

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period int

The time window in seconds over which the statistic is applied.

statistic str

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target str

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Number

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<Any>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Number

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

MrScalarCoreScalingUpPolicy

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold double

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions Dictionary<string, object>

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold float64

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions map[string]interface{}

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Double

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Integer

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<String,Object>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Integer

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Integer

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

metricName string

The name of the metric in CloudWatch which the statement will be based on.

namespace string

Must contain the value: AWS/ElasticMapReduce.

policyName string

The name of the policy.

threshold number

The value that the specified statistic is compared to.

unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions {[key: string]: any}

A mapping of dimensions describing qualities of the metric.

evaluationPeriods number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity string

Max target capacity for scale down.

maximum string

The maximum to set when scale is needed.

minTargetCapacity string

Min target capacity for scale up.

minimum string

The minimum to set when scale is needed.

operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period number

The time window in seconds over which the statistic is applied.

statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target string

The number of instances to set when scale is needed.

metric_name str

The name of the metric in CloudWatch which the statement will be based on.

namespace str

Must contain the value: AWS/ElasticMapReduce.

policy_name str

The name of the policy.

threshold float

The value that the specified statistic is compared to.

unit str

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

action_type str

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment str

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Mapping[str, Any]

A mapping of dimensions describing qualities of the metric.

evaluation_periods int

The number of periods over which data is compared to the specified threshold.

max_target_capacity str

Max target capacity for scale down.

maximum str

The maximum to set when scale is needed.

min_target_capacity str

Min target capacity for scale up.

minimum str

The minimum to set when scale is needed.

operator str

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period int

The time window in seconds over which the statistic is applied.

statistic str

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target str

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Number

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<Any>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Number

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

MrScalarInstanceWeight

InstanceType string

The type of the instance.

WeightedCapacity int

The weight given to the associated instance type.

InstanceType string

The type of the instance.

WeightedCapacity int

The weight given to the associated instance type.

instanceType String

The type of the instance.

weightedCapacity Integer

The weight given to the associated instance type.

instanceType string

The type of the instance.

weightedCapacity number

The weight given to the associated instance type.

instance_type str

The type of the instance.

weighted_capacity int

The weight given to the associated instance type.

instanceType String

The type of the instance.

weightedCapacity Number

The weight given to the associated instance type.

MrScalarMasterEbsBlockDevice

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

sizeInGb Integer

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Integer

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Integer

Amount of volumes per instance in the task group.

sizeInGb number

Size of the volume, in GBs.

volumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

iops number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance number

Amount of volumes per instance in the task group.

size_in_gb int

Size of the volume, in GBs.

volume_type str

volume type. Allowed values are 'gp2', 'io1' and others.

iops int

IOPS for the volume. Required in some volume types, such as io1.

volumes_per_instance int

Amount of volumes per instance in the task group.

sizeInGb Number

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Number

Amount of volumes per instance in the task group.

MrScalarProvisioningTimeout

Timeout int

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

TimeoutAction string

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

Timeout int

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

TimeoutAction string

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

timeout Integer

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

timeoutAction String

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

timeout number

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

timeoutAction string

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

timeout int

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

timeout_action str

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

timeout Number

The amount of time (minutes) after which the cluster is automatically terminated if it's still in provisioning status. Minimum: '15'.

timeoutAction String

The action to take if the timeout is exceeded. Valid values: terminate, terminateAndRetry.

MrScalarScheduledTask

Cron string

A cron expression representing the schedule for the task.

InstanceGroupType string

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

TaskType string

The type of task to be scheduled. Valid values: setCapacity.

DesiredCapacity string

New desired capacity for the elastigroup.

IsEnabled bool

Enable/Disable the specified scheduling task.

MaxCapacity string

New max capacity for the elastigroup.

MinCapacity string

New min capacity for the elastigroup.

Cron string

A cron expression representing the schedule for the task.

InstanceGroupType string

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

TaskType string

The type of task to be scheduled. Valid values: setCapacity.

DesiredCapacity string

New desired capacity for the elastigroup.

IsEnabled bool

Enable/Disable the specified scheduling task.

MaxCapacity string

New max capacity for the elastigroup.

MinCapacity string

New min capacity for the elastigroup.

cron String

A cron expression representing the schedule for the task.

instanceGroupType String

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

taskType String

The type of task to be scheduled. Valid values: setCapacity.

desiredCapacity String

New desired capacity for the elastigroup.

isEnabled Boolean

Enable/Disable the specified scheduling task.

maxCapacity String

New max capacity for the elastigroup.

minCapacity String

New min capacity for the elastigroup.

cron string

A cron expression representing the schedule for the task.

instanceGroupType string

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

taskType string

The type of task to be scheduled. Valid values: setCapacity.

desiredCapacity string

New desired capacity for the elastigroup.

isEnabled boolean

Enable/Disable the specified scheduling task.

maxCapacity string

New max capacity for the elastigroup.

minCapacity string

New min capacity for the elastigroup.

cron str

A cron expression representing the schedule for the task.

instance_group_type str

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

task_type str

The type of task to be scheduled. Valid values: setCapacity.

desired_capacity str

New desired capacity for the elastigroup.

is_enabled bool

Enable/Disable the specified scheduling task.

max_capacity str

New max capacity for the elastigroup.

min_capacity str

New min capacity for the elastigroup.

cron String

A cron expression representing the schedule for the task.

instanceGroupType String

Select the EMR instance groups to execute the scheduled task on. Valid values: task.

taskType String

The type of task to be scheduled. Valid values: setCapacity.

desiredCapacity String

New desired capacity for the elastigroup.

isEnabled Boolean

Enable/Disable the specified scheduling task.

maxCapacity String

New max capacity for the elastigroup.

minCapacity String

New min capacity for the elastigroup.

MrScalarStepsFile

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

Bucket string

S3 Bucket name for configurations.

Key string

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

bucket string

S3 Bucket name for configurations.

key string

Tag key.

bucket str

S3 Bucket name for configurations.

key str

Tag key.

bucket String

S3 Bucket name for configurations.

key String

Tag key.

MrScalarTag

Key string

Tag key.

Value string

Tag value.

Key string

Tag key.

Value string

Tag value.

key String

Tag key.

value String

Tag value.

key string

Tag key.

value string

Tag value.

key str

Tag key.

value str

Tag value.

key String

Tag key.

value String

Tag value.

MrScalarTaskEbsBlockDevice

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

SizeInGb int

Size of the volume, in GBs.

VolumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

Iops int

IOPS for the volume. Required in some volume types, such as io1.

VolumesPerInstance int

Amount of volumes per instance in the task group.

sizeInGb Integer

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Integer

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Integer

Amount of volumes per instance in the task group.

sizeInGb number

Size of the volume, in GBs.

volumeType string

volume type. Allowed values are 'gp2', 'io1' and others.

iops number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance number

Amount of volumes per instance in the task group.

size_in_gb int

Size of the volume, in GBs.

volume_type str

volume type. Allowed values are 'gp2', 'io1' and others.

iops int

IOPS for the volume. Required in some volume types, such as io1.

volumes_per_instance int

Amount of volumes per instance in the task group.

sizeInGb Number

Size of the volume, in GBs.

volumeType String

volume type. Allowed values are 'gp2', 'io1' and others.

iops Number

IOPS for the volume. Required in some volume types, such as io1.

volumesPerInstance Number

Amount of volumes per instance in the task group.

MrScalarTaskScalingDownPolicy

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold double

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions Dictionary<string, object>

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold float64

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions map[string]interface{}

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Double

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Integer

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<String,Object>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Integer

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Integer

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

metricName string

The name of the metric in CloudWatch which the statement will be based on.

namespace string

Must contain the value: AWS/ElasticMapReduce.

policyName string

The name of the policy.

threshold number

The value that the specified statistic is compared to.

unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions {[key: string]: any}

A mapping of dimensions describing qualities of the metric.

evaluationPeriods number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity string

Max target capacity for scale down.

maximum string

The maximum to set when scale is needed.

minTargetCapacity string

Min target capacity for scale up.

minimum string

The minimum to set when scale is needed.

operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period number

The time window in seconds over which the statistic is applied.

statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target string

The number of instances to set when scale is needed.

metric_name str

The name of the metric in CloudWatch which the statement will be based on.

namespace str

Must contain the value: AWS/ElasticMapReduce.

policy_name str

The name of the policy.

threshold float

The value that the specified statistic is compared to.

unit str

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

action_type str

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment str

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Mapping[str, Any]

A mapping of dimensions describing qualities of the metric.

evaluation_periods int

The number of periods over which data is compared to the specified threshold.

max_target_capacity str

Max target capacity for scale down.

maximum str

The maximum to set when scale is needed.

min_target_capacity str

Min target capacity for scale up.

minimum str

The minimum to set when scale is needed.

operator str

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period int

The time window in seconds over which the statistic is applied.

statistic str

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target str

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Number

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<Any>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Number

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

MrScalarTaskScalingUpPolicy

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold double

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions Dictionary<string, object>

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

PolicyName string

The name of the policy.

Threshold float64

The value that the specified statistic is compared to.

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

ActionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

Adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

Cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

Dimensions map[string]interface{}

A mapping of dimensions describing qualities of the metric.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

MaxTargetCapacity string

Max target capacity for scale down.

Maximum string

The maximum to set when scale is needed.

MinTargetCapacity string

Min target capacity for scale up.

Minimum string

The minimum to set when scale is needed.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Target string

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Double

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Integer

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<String,Object>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Integer

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Integer

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

metricName string

The name of the metric in CloudWatch which the statement will be based on.

namespace string

Must contain the value: AWS/ElasticMapReduce.

policyName string

The name of the policy.

threshold number

The value that the specified statistic is compared to.

unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType string

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment string

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions {[key: string]: any}

A mapping of dimensions describing qualities of the metric.

evaluationPeriods number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity string

Max target capacity for scale down.

maximum string

The maximum to set when scale is needed.

minTargetCapacity string

Min target capacity for scale up.

minimum string

The minimum to set when scale is needed.

operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period number

The time window in seconds over which the statistic is applied.

statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target string

The number of instances to set when scale is needed.

metric_name str

The name of the metric in CloudWatch which the statement will be based on.

namespace str

Must contain the value: AWS/ElasticMapReduce.

policy_name str

The name of the policy.

threshold float

The value that the specified statistic is compared to.

unit str

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

action_type str

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment str

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown int

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Mapping[str, Any]

A mapping of dimensions describing qualities of the metric.

evaluation_periods int

The number of periods over which data is compared to the specified threshold.

max_target_capacity str

Max target capacity for scale down.

maximum str

The maximum to set when scale is needed.

min_target_capacity str

Min target capacity for scale up.

minimum str

The minimum to set when scale is needed.

operator str

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period int

The time window in seconds over which the statistic is applied.

statistic str

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target str

The number of instances to set when scale is needed.

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

policyName String

The name of the policy.

threshold Number

The value that the specified statistic is compared to.

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

actionType String

The type of action to perform. Allowed values are : 'adjustment', 'setMinTarget', 'setMaxTarget', 'updateCapacity', 'percentageAdjustment'

adjustment String

The number of instances to add/remove to/from the target capacity when scale is needed.

cooldown Number

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.

dimensions Map<Any>

A mapping of dimensions describing qualities of the metric.

evaluationPeriods Number

The number of periods over which data is compared to the specified threshold.

maxTargetCapacity String

Max target capacity for scale down.

maximum String

The maximum to set when scale is needed.

minTargetCapacity String

Min target capacity for scale up.

minimum String

The minimum to set when scale is needed.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Number

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

target String

The number of instances to set when scale is needed.

MrScalarTerminationPolicy

MrScalarTerminationPolicyStatement

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

Threshold double

The value that the specified statistic is compared to.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

MetricName string

The name of the metric in CloudWatch which the statement will be based on.

Namespace string

Must contain the value: AWS/ElasticMapReduce.

Threshold float64

The value that the specified statistic is compared to.

EvaluationPeriods int

The number of periods over which data is compared to the specified threshold.

Operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

Period int

The time window in seconds over which the statistic is applied.

Statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

Unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

threshold Double

The value that the specified statistic is compared to.

evaluationPeriods Integer

The number of periods over which data is compared to the specified threshold.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Integer

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

metricName string

The name of the metric in CloudWatch which the statement will be based on.

namespace string

Must contain the value: AWS/ElasticMapReduce.

threshold number

The value that the specified statistic is compared to.

evaluationPeriods number

The number of periods over which data is compared to the specified threshold.

operator string

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period number

The time window in seconds over which the statistic is applied.

statistic string

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

unit string

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

metric_name str

The name of the metric in CloudWatch which the statement will be based on.

namespace str

Must contain the value: AWS/ElasticMapReduce.

threshold float

The value that the specified statistic is compared to.

evaluation_periods int

The number of periods over which data is compared to the specified threshold.

operator str

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period int

The time window in seconds over which the statistic is applied.

statistic str

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

unit str

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

metricName String

The name of the metric in CloudWatch which the statement will be based on.

namespace String

Must contain the value: AWS/ElasticMapReduce.

threshold Number

The value that the specified statistic is compared to.

evaluationPeriods Number

The number of periods over which data is compared to the specified threshold.

operator String

The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte

period Number

The time window in seconds over which the statistic is applied.

statistic String

The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum

unit String

The unit for a given metric. Valid Values: seconds | microseconds | milliseconds | bytes | kilobytes | megabytes | gigabytes | terabytes | bits | kilobits | megabits | gigabits | terabits | percent | count | bytes/second | kilobytes/second | megabytes/second | gigabytes/second | terabytes/second | bits/second | kilobits/second | megabits/second | gigabits/second | terabits/second | count/second | none

Package Details

Repository
Spotinst pulumi/pulumi-spotinst
License
Apache-2.0
Notes

This Pulumi package is based on the spotinst Terraform Provider.