MrScalar
Create a MrScalar Resource
new MrScalar(name: string, args: MrScalarArgs, opts?: CustomResourceOptions);def MrScalar(resource_name, opts=None, additional_info=None, additional_primary_security_groups=None, additional_replica_security_groups=None, applications=None, availability_zones=None, bootstrap_actions_files=None, cluster_id=None, configurations_files=None, core_desired_capacity=None, core_ebs_block_devices=None, core_ebs_optimized=None, core_instance_types=None, core_lifecycle=None, core_max_size=None, core_min_size=None, core_scaling_down_policies=None, core_scaling_up_policies=None, core_unit=None, custom_ami_id=None, description=None, ebs_root_volume_size=None, ec2_key_name=None, expose_cluster_id=None, instance_weights=None, job_flow_role=None, keep_job_flow_alive=None, log_uri=None, managed_primary_security_group=None, managed_replica_security_group=None, master_ebs_block_devices=None, master_ebs_optimized=None, master_instance_types=None, master_lifecycle=None, name=None, provisioning_timeout=None, region=None, release_label=None, repo_upgrade_on_boot=None, retries=None, scheduled_tasks=None, security_config=None, service_access_security_group=None, service_role=None, steps_files=None, strategy=None, tags=None, task_desired_capacity=None, task_ebs_block_devices=None, task_ebs_optimized=None, task_instance_types=None, task_lifecycle=None, task_max_size=None, task_min_size=None, task_scaling_down_policies=None, task_scaling_up_policies=None, task_unit=None, termination_policies=None, termination_protected=None, visible_to_all_users=None, __props__=None);func NewMrScalar(ctx *Context, name string, args MrScalarArgs, opts ...ResourceOption) (*MrScalar, error)public MrScalar(string name, MrScalarArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
MrScalar Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The MrScalar resource accepts the following input properties:
- Strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.- Additional
Info string - Additional
Primary List<string>Security Groups - Additional
Replica List<string>Security Groups - Applications
List<Pulumi.
Spot Inst. Aws. Inputs. Mr Scalar Application Args> - Availability
Zones List<string> - Bootstrap
Actions List<Pulumi.Files Spot Inst. Aws. Inputs. Mr Scalar Bootstrap Actions File Args> - Cluster
Id string The MrScaler cluster id.
- Configurations
Files List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Configurations File Args> - Core
Desired intCapacity - Core
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Core Ebs Block Device Args> - Core
Ebs boolOptimized - Core
Instance List<string>Types - Core
Lifecycle string - Core
Max intSize - Core
Min intSize - Core
Scaling List<Pulumi.Down Policies Spot Inst. Aws. Inputs. Mr Scalar Core Scaling Down Policy Args> - Core
Scaling List<Pulumi.Up Policies Spot Inst. Aws. Inputs. Mr Scalar Core Scaling Up Policy Args> - Core
Unit string - Custom
Ami stringId - Description string
The MrScaler description.
- Ebs
Root intVolume Size - Ec2Key
Name string - Expose
Cluster boolId - Instance
Weights List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Instance Weight Args> - Job
Flow stringRole - Keep
Job boolFlow Alive - Log
Uri string - Managed
Primary stringSecurity Group - Managed
Replica stringSecurity Group - Master
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Master Ebs Block Device Args> - Master
Ebs boolOptimized - Master
Instance List<string>Types - Master
Lifecycle string - Name string
The MrScaler name.
- Provisioning
Timeout Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Provisioning Timeout Args - Region string
The MrScaler region.
- Release
Label string - Repo
Upgrade stringOn Boot - Retries int
- Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Scheduled Task Args> - Security
Config string - Service
Access stringSecurity Group - Service
Role string - Steps
Files List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Steps File Args> -
List<Pulumi.
Spot Inst. Aws. Inputs. Mr Scalar Tag Args> - Task
Desired intCapacity - Task
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Task Ebs Block Device Args> - Task
Ebs boolOptimized - Task
Instance List<string>Types - Task
Lifecycle string - Task
Max intSize - Task
Min intSize - Task
Scaling List<Pulumi.Down Policies Spot Inst. Aws. Inputs. Mr Scalar Task Scaling Down Policy Args> - Task
Scaling List<Pulumi.Up Policies Spot Inst. Aws. Inputs. Mr Scalar Task Scaling Up Policy Args> - Task
Unit string - Termination
Policies List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Termination Policy Args> Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- Termination
Protected bool - Visible
To boolAll Users
- Strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.- Additional
Info string - Additional
Primary []stringSecurity Groups - Additional
Replica []stringSecurity Groups - Applications
[]Mr
Scalar Application - Availability
Zones []string - Bootstrap
Actions []MrFiles Scalar Bootstrap Actions File - Cluster
Id string The MrScaler cluster id.
- Configurations
Files []MrScalar Configurations File - Core
Desired intCapacity - Core
Ebs []MrBlock Devices Scalar Core Ebs Block Device - Core
Ebs boolOptimized - Core
Instance []stringTypes - Core
Lifecycle string - Core
Max intSize - Core
Min intSize - Core
Scaling []MrDown Policies Scalar Core Scaling Down Policy - Core
Scaling []MrUp Policies Scalar Core Scaling Up Policy - Core
Unit string - Custom
Ami stringId - Description string
The MrScaler description.
- Ebs
Root intVolume Size - Ec2Key
Name string - Expose
Cluster boolId - Instance
Weights []MrScalar Instance Weight - Job
Flow stringRole - Keep
Job boolFlow Alive - Log
Uri string - Managed
Primary stringSecurity Group - Managed
Replica stringSecurity Group - Master
Ebs []MrBlock Devices Scalar Master Ebs Block Device - Master
Ebs boolOptimized - Master
Instance []stringTypes - Master
Lifecycle string - Name string
The MrScaler name.
- Provisioning
Timeout MrScalar Provisioning Timeout - Region string
The MrScaler region.
- Release
Label string - Repo
Upgrade stringOn Boot - Retries int
- Scheduled
Tasks []MrScalar Scheduled Task - Security
Config string - Service
Access stringSecurity Group - Service
Role string - Steps
Files []MrScalar Steps File -
[]Mr
Scalar Tag - Task
Desired intCapacity - Task
Ebs []MrBlock Devices Scalar Task Ebs Block Device - Task
Ebs boolOptimized - Task
Instance []stringTypes - Task
Lifecycle string - Task
Max intSize - Task
Min intSize - Task
Scaling []MrDown Policies Scalar Task Scaling Down Policy - Task
Scaling []MrUp Policies Scalar Task Scaling Up Policy - Task
Unit string - Termination
Policies []MrScalar Termination Policy Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- Termination
Protected bool - Visible
To boolAll Users
- strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.- additional
Info string - additional
Primary string[]Security Groups - additional
Replica string[]Security Groups - applications
Mr
Scalar Application[] - availability
Zones string[] - bootstrap
Actions MrFiles Scalar Bootstrap Actions File[] - cluster
Id string The MrScaler cluster id.
- configurations
Files MrScalar Configurations File[] - core
Desired numberCapacity - core
Ebs MrBlock Devices Scalar Core Ebs Block Device[] - core
Ebs booleanOptimized - core
Instance string[]Types - core
Lifecycle string - core
Max numberSize - core
Min numberSize - core
Scaling MrDown Policies Scalar Core Scaling Down Policy[] - core
Scaling MrUp Policies Scalar Core Scaling Up Policy[] - core
Unit string - custom
Ami stringId - description string
The MrScaler description.
- ebs
Root numberVolume Size - ec2Key
Name string - expose
Cluster booleanId - instance
Weights MrScalar Instance Weight[] - job
Flow stringRole - keep
Job booleanFlow Alive - log
Uri string - managed
Primary stringSecurity Group - managed
Replica stringSecurity Group - master
Ebs MrBlock Devices Scalar Master Ebs Block Device[] - master
Ebs booleanOptimized - master
Instance string[]Types - master
Lifecycle string - name string
The MrScaler name.
- provisioning
Timeout MrScalar Provisioning Timeout - region string
The MrScaler region.
- release
Label string - repo
Upgrade stringOn Boot - retries number
- scheduled
Tasks MrScalar Scheduled Task[] - security
Config string - service
Access stringSecurity Group - service
Role string - steps
Files MrScalar Steps File[] -
Mr
Scalar Tag[] - task
Desired numberCapacity - task
Ebs MrBlock Devices Scalar Task Ebs Block Device[] - task
Ebs booleanOptimized - task
Instance string[]Types - task
Lifecycle string - task
Max numberSize - task
Min numberSize - task
Scaling MrDown Policies Scalar Task Scaling Down Policy[] - task
Scaling MrUp Policies Scalar Task Scaling Up Policy[] - task
Unit string - termination
Policies MrScalar Termination Policy[] Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- termination
Protected boolean - visible
To booleanAll Users
- strategy str
The MrScaler strategy. Allowed values are
newcloneandwrap.- additional_
info str - additional_
primary_ List[str]security_ groups - additional_
replica_ List[str]security_ groups - applications
List[Mr
Scalar Application] - availability_
zones List[str] - bootstrap_
actions_ List[Mrfiles Scalar Bootstrap Actions File] - cluster_
id str The MrScaler cluster id.
- configurations_
files List[MrScalar Configurations File] - core_
desired_ floatcapacity - core_
ebs_ List[Mrblock_ devices Scalar Core Ebs Block Device] - core_
ebs_ booloptimized - core_
instance_ List[str]types - core_
lifecycle str - core_
max_ floatsize - core_
min_ floatsize - core_
scaling_ List[Mrdown_ policies Scalar Core Scaling Down Policy] - core_
scaling_ List[Mrup_ policies Scalar Core Scaling Up Policy] - core_
unit str - custom_
ami_ strid - description str
The MrScaler description.
- ebs_
root_ floatvolume_ size - ec2_
key_ strname - expose_
cluster_ boolid - instance_
weights List[MrScalar Instance Weight] - job_
flow_ strrole - keep_
job_ boolflow_ alive - log_
uri str - managed_
primary_ strsecurity_ group - managed_
replica_ strsecurity_ group - master_
ebs_ List[Mrblock_ devices Scalar Master Ebs Block Device] - master_
ebs_ booloptimized - master_
instance_ List[str]types - master_
lifecycle str - name str
The MrScaler name.
- provisioning_
timeout Dict[MrScalar Provisioning Timeout] - region str
The MrScaler region.
- release_
label str - repo_
upgrade_ stron_ boot - retries float
- scheduled_
tasks List[MrScalar Scheduled Task] - security_
config str - service_
access_ strsecurity_ group - service_
role str - steps_
files List[MrScalar Steps File] -
List[Mr
Scalar Tag] - task_
desired_ floatcapacity - task_
ebs_ List[Mrblock_ devices Scalar Task Ebs Block Device] - task_
ebs_ booloptimized - task_
instance_ List[str]types - task_
lifecycle str - task_
max_ floatsize - task_
min_ floatsize - task_
scaling_ List[Mrdown_ policies Scalar Task Scaling Down Policy] - task_
scaling_ List[Mrup_ policies Scalar Task Scaling Up Policy] - task_
unit str - termination_
policies List[MrScalar Termination Policy] Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- termination_
protected bool - visible_
to_ boolall_ users
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.
- Output
Cluster stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Output
Cluster stringId
- id string
- The provider-assigned unique ID for this managed resource.
- output
Cluster stringId
- id str
- The provider-assigned unique ID for this managed resource.
- output_
cluster_ strid
Look up an 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): MrScalarstatic get(resource_name, id, opts=None, additional_info=None, additional_primary_security_groups=None, additional_replica_security_groups=None, applications=None, availability_zones=None, bootstrap_actions_files=None, cluster_id=None, configurations_files=None, core_desired_capacity=None, core_ebs_block_devices=None, core_ebs_optimized=None, core_instance_types=None, core_lifecycle=None, core_max_size=None, core_min_size=None, core_scaling_down_policies=None, core_scaling_up_policies=None, core_unit=None, custom_ami_id=None, description=None, ebs_root_volume_size=None, ec2_key_name=None, expose_cluster_id=None, instance_weights=None, job_flow_role=None, keep_job_flow_alive=None, log_uri=None, managed_primary_security_group=None, managed_replica_security_group=None, master_ebs_block_devices=None, master_ebs_optimized=None, master_instance_types=None, master_lifecycle=None, name=None, output_cluster_id=None, provisioning_timeout=None, region=None, release_label=None, repo_upgrade_on_boot=None, retries=None, scheduled_tasks=None, security_config=None, service_access_security_group=None, service_role=None, steps_files=None, strategy=None, tags=None, task_desired_capacity=None, task_ebs_block_devices=None, task_ebs_optimized=None, task_instance_types=None, task_lifecycle=None, task_max_size=None, task_min_size=None, task_scaling_down_policies=None, task_scaling_up_policies=None, task_unit=None, termination_policies=None, termination_protected=None, visible_to_all_users=None, __props__=None);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)- 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.
The following state arguments are supported:
- Additional
Info string - Additional
Primary List<string>Security Groups - Additional
Replica List<string>Security Groups - Applications
List<Pulumi.
Spot Inst. Aws. Inputs. Mr Scalar Application Args> - Availability
Zones List<string> - Bootstrap
Actions List<Pulumi.Files Spot Inst. Aws. Inputs. Mr Scalar Bootstrap Actions File Args> - Cluster
Id string The MrScaler cluster id.
- Configurations
Files List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Configurations File Args> - Core
Desired intCapacity - Core
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Core Ebs Block Device Args> - Core
Ebs boolOptimized - Core
Instance List<string>Types - Core
Lifecycle string - Core
Max intSize - Core
Min intSize - Core
Scaling List<Pulumi.Down Policies Spot Inst. Aws. Inputs. Mr Scalar Core Scaling Down Policy Args> - Core
Scaling List<Pulumi.Up Policies Spot Inst. Aws. Inputs. Mr Scalar Core Scaling Up Policy Args> - Core
Unit string - Custom
Ami stringId - Description string
The MrScaler description.
- Ebs
Root intVolume Size - Ec2Key
Name string - Expose
Cluster boolId - Instance
Weights List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Instance Weight Args> - Job
Flow stringRole - Keep
Job boolFlow Alive - Log
Uri string - Managed
Primary stringSecurity Group - Managed
Replica stringSecurity Group - Master
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Master Ebs Block Device Args> - Master
Ebs boolOptimized - Master
Instance List<string>Types - Master
Lifecycle string - Name string
The MrScaler name.
- Output
Cluster stringId - Provisioning
Timeout Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Provisioning Timeout Args - Region string
The MrScaler region.
- Release
Label string - Repo
Upgrade stringOn Boot - Retries int
- Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Scheduled Task Args> - Security
Config string - Service
Access stringSecurity Group - Service
Role string - Steps
Files List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Steps File Args> - Strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.-
List<Pulumi.
Spot Inst. Aws. Inputs. Mr Scalar Tag Args> - Task
Desired intCapacity - Task
Ebs List<Pulumi.Block Devices Spot Inst. Aws. Inputs. Mr Scalar Task Ebs Block Device Args> - Task
Ebs boolOptimized - Task
Instance List<string>Types - Task
Lifecycle string - Task
Max intSize - Task
Min intSize - Task
Scaling List<Pulumi.Down Policies Spot Inst. Aws. Inputs. Mr Scalar Task Scaling Down Policy Args> - Task
Scaling List<Pulumi.Up Policies Spot Inst. Aws. Inputs. Mr Scalar Task Scaling Up Policy Args> - Task
Unit string - Termination
Policies List<Pulumi.Spot Inst. Aws. Inputs. Mr Scalar Termination Policy Args> Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- Termination
Protected bool - Visible
To boolAll Users
- Additional
Info string - Additional
Primary []stringSecurity Groups - Additional
Replica []stringSecurity Groups - Applications
[]Mr
Scalar Application - Availability
Zones []string - Bootstrap
Actions []MrFiles Scalar Bootstrap Actions File - Cluster
Id string The MrScaler cluster id.
- Configurations
Files []MrScalar Configurations File - Core
Desired intCapacity - Core
Ebs []MrBlock Devices Scalar Core Ebs Block Device - Core
Ebs boolOptimized - Core
Instance []stringTypes - Core
Lifecycle string - Core
Max intSize - Core
Min intSize - Core
Scaling []MrDown Policies Scalar Core Scaling Down Policy - Core
Scaling []MrUp Policies Scalar Core Scaling Up Policy - Core
Unit string - Custom
Ami stringId - Description string
The MrScaler description.
- Ebs
Root intVolume Size - Ec2Key
Name string - Expose
Cluster boolId - Instance
Weights []MrScalar Instance Weight - Job
Flow stringRole - Keep
Job boolFlow Alive - Log
Uri string - Managed
Primary stringSecurity Group - Managed
Replica stringSecurity Group - Master
Ebs []MrBlock Devices Scalar Master Ebs Block Device - Master
Ebs boolOptimized - Master
Instance []stringTypes - Master
Lifecycle string - Name string
The MrScaler name.
- Output
Cluster stringId - Provisioning
Timeout MrScalar Provisioning Timeout - Region string
The MrScaler region.
- Release
Label string - Repo
Upgrade stringOn Boot - Retries int
- Scheduled
Tasks []MrScalar Scheduled Task - Security
Config string - Service
Access stringSecurity Group - Service
Role string - Steps
Files []MrScalar Steps File - Strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.-
[]Mr
Scalar Tag - Task
Desired intCapacity - Task
Ebs []MrBlock Devices Scalar Task Ebs Block Device - Task
Ebs boolOptimized - Task
Instance []stringTypes - Task
Lifecycle string - Task
Max intSize - Task
Min intSize - Task
Scaling []MrDown Policies Scalar Task Scaling Down Policy - Task
Scaling []MrUp Policies Scalar Task Scaling Up Policy - Task
Unit string - Termination
Policies []MrScalar Termination Policy Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- Termination
Protected bool - Visible
To boolAll Users
- additional
Info string - additional
Primary string[]Security Groups - additional
Replica string[]Security Groups - applications
Mr
Scalar Application[] - availability
Zones string[] - bootstrap
Actions MrFiles Scalar Bootstrap Actions File[] - cluster
Id string The MrScaler cluster id.
- configurations
Files MrScalar Configurations File[] - core
Desired numberCapacity - core
Ebs MrBlock Devices Scalar Core Ebs Block Device[] - core
Ebs booleanOptimized - core
Instance string[]Types - core
Lifecycle string - core
Max numberSize - core
Min numberSize - core
Scaling MrDown Policies Scalar Core Scaling Down Policy[] - core
Scaling MrUp Policies Scalar Core Scaling Up Policy[] - core
Unit string - custom
Ami stringId - description string
The MrScaler description.
- ebs
Root numberVolume Size - ec2Key
Name string - expose
Cluster booleanId - instance
Weights MrScalar Instance Weight[] - job
Flow stringRole - keep
Job booleanFlow Alive - log
Uri string - managed
Primary stringSecurity Group - managed
Replica stringSecurity Group - master
Ebs MrBlock Devices Scalar Master Ebs Block Device[] - master
Ebs booleanOptimized - master
Instance string[]Types - master
Lifecycle string - name string
The MrScaler name.
- output
Cluster stringId - provisioning
Timeout MrScalar Provisioning Timeout - region string
The MrScaler region.
- release
Label string - repo
Upgrade stringOn Boot - retries number
- scheduled
Tasks MrScalar Scheduled Task[] - security
Config string - service
Access stringSecurity Group - service
Role string - steps
Files MrScalar Steps File[] - strategy string
The MrScaler strategy. Allowed values are
newcloneandwrap.-
Mr
Scalar Tag[] - task
Desired numberCapacity - task
Ebs MrBlock Devices Scalar Task Ebs Block Device[] - task
Ebs booleanOptimized - task
Instance string[]Types - task
Lifecycle string - task
Max numberSize - task
Min numberSize - task
Scaling MrDown Policies Scalar Task Scaling Down Policy[] - task
Scaling MrUp Policies Scalar Task Scaling Up Policy[] - task
Unit string - termination
Policies MrScalar Termination Policy[] Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- termination
Protected boolean - visible
To booleanAll Users
- additional_
info str - additional_
primary_ List[str]security_ groups - additional_
replica_ List[str]security_ groups - applications
List[Mr
Scalar Application] - availability_
zones List[str] - bootstrap_
actions_ List[Mrfiles Scalar Bootstrap Actions File] - cluster_
id str The MrScaler cluster id.
- configurations_
files List[MrScalar Configurations File] - core_
desired_ floatcapacity - core_
ebs_ List[Mrblock_ devices Scalar Core Ebs Block Device] - core_
ebs_ booloptimized - core_
instance_ List[str]types - core_
lifecycle str - core_
max_ floatsize - core_
min_ floatsize - core_
scaling_ List[Mrdown_ policies Scalar Core Scaling Down Policy] - core_
scaling_ List[Mrup_ policies Scalar Core Scaling Up Policy] - core_
unit str - custom_
ami_ strid - description str
The MrScaler description.
- ebs_
root_ floatvolume_ size - ec2_
key_ strname - expose_
cluster_ boolid - instance_
weights List[MrScalar Instance Weight] - job_
flow_ strrole - keep_
job_ boolflow_ alive - log_
uri str - managed_
primary_ strsecurity_ group - managed_
replica_ strsecurity_ group - master_
ebs_ List[Mrblock_ devices Scalar Master Ebs Block Device] - master_
ebs_ booloptimized - master_
instance_ List[str]types - master_
lifecycle str - name str
The MrScaler name.
- output_
cluster_ strid - provisioning_
timeout Dict[MrScalar Provisioning Timeout] - region str
The MrScaler region.
- release_
label str - repo_
upgrade_ stron_ boot - retries float
- scheduled_
tasks List[MrScalar Scheduled Task] - security_
config str - service_
access_ strsecurity_ group - service_
role str - steps_
files List[MrScalar Steps File] - strategy str
The MrScaler strategy. Allowed values are
newcloneandwrap.-
List[Mr
Scalar Tag] - task_
desired_ floatcapacity - task_
ebs_ List[Mrblock_ devices Scalar Task Ebs Block Device] - task_
ebs_ booloptimized - task_
instance_ List[str]types - task_
lifecycle str - task_
max_ floatsize - task_
min_ floatsize - task_
scaling_ List[Mrdown_ policies Scalar Task Scaling Down Policy] - task_
scaling_ List[Mrup_ policies Scalar Task Scaling Up Policy] - task_
unit str - termination_
policies List[MrScalar Termination Policy] Allows defining termination policies for EMR clusters based on CloudWatch Metrics.
- termination_
protected bool - visible_
to_ boolall_ users
Supporting Types
MrScalarApplication
MrScalarBootstrapActionsFile
MrScalarConfigurationsFile
MrScalarCoreEbsBlockDevice
MrScalarCoreScalingDownPolicy
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions Dictionary<string, object>
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions map[string]interface{}
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- namespace string
Must contain the value:
AWS/ElasticMapReduce.- policy
Name string - 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- action
Type string - adjustment string
- cooldown number
- dimensions {[key: string]: any}
- evaluation
Periods number The number of periods over which data is compared to the specified threshold.
- max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- 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
- 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 - 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 - adjustment str
- cooldown float
- dimensions Dict[str, Any]
- evaluation
Periods float The number of periods over which data is compared to the specified threshold.
- max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
The operator to use in order to determine if the policy is applicable. Valid values:
gt|gte|lt|lte- period float
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
MrScalarCoreScalingUpPolicy
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions Dictionary<string, object>
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions map[string]interface{}
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- namespace string
Must contain the value:
AWS/ElasticMapReduce.- policy
Name string - 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- action
Type string - adjustment string
- cooldown number
- dimensions {[key: string]: any}
- evaluation
Periods number The number of periods over which data is compared to the specified threshold.
- max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- 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
- 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 - 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 - adjustment str
- cooldown float
- dimensions Dict[str, Any]
- evaluation
Periods float The number of periods over which data is compared to the specified threshold.
- max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
The operator to use in order to determine if the policy is applicable. Valid values:
gt|gte|lt|lte- period float
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
MrScalarInstanceWeight
MrScalarMasterEbsBlockDevice
MrScalarProvisioningTimeout
MrScalarScheduledTask
MrScalarStepsFile
MrScalarTag
MrScalarTaskEbsBlockDevice
MrScalarTaskScalingDownPolicy
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions Dictionary<string, object>
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions map[string]interface{}
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- namespace string
Must contain the value:
AWS/ElasticMapReduce.- policy
Name string - 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- action
Type string - adjustment string
- cooldown number
- dimensions {[key: string]: any}
- evaluation
Periods number The number of periods over which data is compared to the specified threshold.
- max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- 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
- 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 - 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 - adjustment str
- cooldown float
- dimensions Dict[str, Any]
- evaluation
Periods float The number of periods over which data is compared to the specified threshold.
- max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
The operator to use in order to determine if the policy is applicable. Valid values:
gt|gte|lt|lte- period float
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
MrScalarTaskScalingUpPolicy
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions Dictionary<string, object>
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- Metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- Namespace string
Must contain the value:
AWS/ElasticMapReduce.- Policy
Name string - 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- Action
Type string - Adjustment string
- Cooldown int
- Dimensions map[string]interface{}
- Evaluation
Periods int The number of periods over which data is compared to the specified threshold.
- Max
Target stringCapacity - Maximum string
- Min
Target stringCapacity - Minimum string
- 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
- metric
Name string The name of the metric in CloudWatch which the statement will be based on.
- namespace string
Must contain the value:
AWS/ElasticMapReduce.- policy
Name string - 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- action
Type string - adjustment string
- cooldown number
- dimensions {[key: string]: any}
- evaluation
Periods number The number of periods over which data is compared to the specified threshold.
- max
Target stringCapacity - maximum string
- min
Target stringCapacity - minimum string
- 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
- 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 - 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 - adjustment str
- cooldown float
- dimensions Dict[str, Any]
- evaluation
Periods float The number of periods over which data is compared to the specified threshold.
- max
Target strCapacity - maximum str
- min
Target strCapacity - minimum str
- operator str
The operator to use in order to determine if the policy is applicable. Valid values:
gt|gte|lt|lte- period float
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
MrScalarTerminationPolicy
MrScalarTerminationPolicyStatement
- Metric
Name 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.
- Evaluation
Periods 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
- Metric
Name 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.
- Evaluation
Periods 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
- metric
Name 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.
- evaluation
Periods 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 float 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 float
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
Package Details
- Repository
- https://github.com/pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinstTerraform Provider.