This product is not supported for your selected
Datadog site. (
).
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
aws_ecs_capacity_provider
account_id
Type: STRING
auto_scaling_group_provider
Type: STRUCT
Provider name: autoScalingGroupProvider
Description: The Auto Scaling group settings for the capacity provider.
auto_scaling_group_arn
Type: STRING
Provider name: autoScalingGroupArn
Description: The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name.
managed_draining
Type: STRING
Provider name: managedDraining
Description: The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider.
managed_scaling
Type: STRUCT
Provider name: managedScaling
Description: The managed scaling settings for the Auto Scaling group capacity provider.
instance_warmup_period
Type: INT32
Provider name: instanceWarmupPeriod
Description: The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of 300
seconds is used.
maximum_scaling_step_size
Type: INT32
Provider name: maximumScalingStepSize
Description: The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of 10000
is used.
minimum_scaling_step_size
Type: INT32
Provider name: minimumScalingStepSize
Description: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of 1
is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand.
status
Type: STRING
Provider name: status
Description: Determines whether to use managed scaling for the capacity provider.
target_capacity
Type: INT32
Provider name: targetCapacity
Description: The target capacity utilization as a percentage for the capacity provider. The specified value must be greater than 0
and less than or equal to 100
. For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use a targetCapacity
of 90
. The default value of 100
percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.
managed_termination_protection
Type: STRING
Provider name: managedTerminationProtection
Description: The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off. When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn’t work. When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see Instance Protection in the Auto Scaling User Guide. When managed termination protection is off, your Amazon EC2 instances aren’t protected from termination when the Auto Scaling group scales in.
capacity_provider_arn
Type: STRING
Provider name: capacityProviderArn
Description: The Amazon Resource Name (ARN) that identifies the capacity provider.
name
Type: STRING
Provider name: name
Description: The name of the capacity provider.
status
Type: STRING
Provider name: status
Description: The current status of the capacity provider. Only capacity providers in an ACTIVE
state can be used in a cluster. When a capacity provider is successfully deleted, it has an INACTIVE
status.
Type: UNORDERED_LIST_STRING
update_status
Type: STRING
Provider name: updateStatus
Description: The update status of the capacity provider. The following are the possible states that is returned.
- DELETE_IN_PROGRESS
- The capacity provider is in the process of being deleted.
- DELETE_COMPLETE
- The capacity provider was successfully deleted and has an
INACTIVE
status. - DELETE_FAILED
- The capacity provider can’t be deleted. The update status reason provides further details about why the delete failed.
update_status_reason
Type: STRING
Provider name: updateStatusReason
Description: The update status reason. This provides further details about the update status for the capacity provider.