Class CfnTaskSet.ScaleProperty
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
Inheritance
System.Object
CfnTaskSet.ScaleProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class ScaleProperty : Object, CfnTaskSet.IScaleProperty
Syntax (vb)
Public Class ScaleProperty
Inherits Object
Implements CfnTaskSet.IScaleProperty
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-scale.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var scaleProperty = new ScaleProperty {
Unit = "unit",
Value = 123
};
Synopsis
Constructors
ScaleProperty() |
Properties
Unit | The unit of measure for the scale value. |
Value | The value, specified as a percent total of a service's |
Constructors
ScaleProperty()
public ScaleProperty()
Properties
Unit
The unit of measure for the scale value.
public string Unit { get; set; }
Property Value
System.String
Remarks
Value
The value, specified as a percent total of a service's desiredCount
, to scale the task set.
public Nullable<double> Value { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Accepted values are numbers between 0 and 100.