Interface CfnTaskSet.IScaleProperty
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IScaleProperty
Syntax (vb)
Public Interface IScaleProperty
Remarks
See: 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
Properties
Unit | The unit of measure for the scale value. |
Value | The value, specified as a percent total of a service's |
Properties
Unit
The unit of measure for the scale value.
virtual string Unit { get; }
Property Value
System.String
Remarks
Value
The value, specified as a percent total of a service's desiredCount
, to scale the task set.
virtual Nullable<double> Value { get; }
Property Value
System.Nullable<System.Double>
Remarks
Accepted values are numbers between 0 and 100.