Class PolicyArgs
Inheritance
System.Object
PolicyArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class PolicyArgs : ResourceArgs
Constructors
View Source
PolicyArgs()
Declaration
Properties
View Source
AdjustmentType
Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
Declaration
public Input<string> AdjustmentType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AutoscalingGroupName
The name of the autoscaling group.
Declaration
public Input<string> AutoscalingGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Cooldown
The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
Declaration
public Input<int> Cooldown { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
EstimatedInstanceWarmup
The estimated time, in seconds, until a newly launched instance will contribute CloudWatch metrics. Without a value, AWS will default to the group's specified cooldown period.
Declaration
public Input<int> EstimatedInstanceWarmup { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
MetricAggregationType
The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
Declaration
public Input<string> MetricAggregationType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MinAdjustmentMagnitude
Declaration
public Input<int> MinAdjustmentMagnitude { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Name
The name of the dimension.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PolicyType
The policy type, either "SimpleScaling", "StepScaling" or "TargetTrackingScaling". If this value isn't provided, AWS will default to "SimpleScaling."
Declaration
public Input<string> PolicyType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ScalingAdjustment
The number of members by which to
scale, when the adjustment bounds are breached. A positive value scales
up. A negative value scales down.
Declaration
public Input<int> ScalingAdjustment { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
StepAdjustments
A set of adjustments that manage
group scaling. These have the following structure:
Declaration
public InputList<PolicyStepAdjustmentArgs> StepAdjustments { get; set; }
Property Value
View Source
TargetTrackingConfiguration
A target tracking policy. These have the following structure:
Declaration
public Input<PolicyTargetTrackingConfigurationArgs> TargetTrackingConfiguration { get; set; }
Property Value