Class MrScalarTerminationPolicyStatementArgs
Inherited Members
Namespace: Pulumi.SpotInst.Aws.Inputs
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class MrScalarTerminationPolicyStatementArgs : ResourceArgs
Constructors
View SourceMrScalarTerminationPolicyStatementArgs()
Declaration
public MrScalarTerminationPolicyStatementArgs()
Properties
View SourceEvaluationPeriods
The number of periods over which data is compared to the specified threshold.
Declaration
public Input<int> EvaluationPeriods { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MetricName
The name of the metric in CloudWatch which the statement will be based on.
Declaration
public Input<string> MetricName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Namespace
Must contain the value: AWS/ElasticMapReduce.
Declaration
public Input<string> Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Operator
The operator to use in order to determine if the policy is applicable. Valid values: gt | gte | lt | lte
Declaration
public Input<string> Operator { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Period
The time window in seconds over which the statistic is applied.
Declaration
public Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Statistic
The aggregation method of the given metric. Valid Values: average | sum | sampleCount | maximum | minimum
Declaration
public Input<string> Statistic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Threshold
The value that the specified statistic is compared to.
Declaration
public Input<double> Threshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
Unit
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
Declaration
public Input<string> Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |