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