aws::ecs-capacity-provider¶
Create an ECS capacity provider.
Example¶
aws::ecs-capacity-provider capacity-provider-ecs-example
name: "capacity-provider-ecs-example"
auto-scaling-group-provider
auto-scaling-group: $(aws::autoscaling-group auto-scaling-group-ecs-capacity-provider-example)
managed-scaling
status: enabled
minimum-scaling-step-size: 1
maximum-scaling-step-size: 50
target-capacity: 75
end
managed-termination-protection: "ENABLED"
end
tags: {
'Name': 'capacity-provider-ecs-example'
}
end
Attributes¶
Attribute | Description |
---|---|
name | The name of the capacity provider. The name cannot be prefixed with aws , ecs , or fargate , regardless of character case. Must be a string 1 to 255 characters long containing letters, numbers, underscores and hyphens. Valid values satisfy the regex: [[-_a-zA-Z0-9]{1,255}] . (Required) |
auto-scaling-group-provider subresource | The details of the Auto Scaling group for the capacity provider. (Required)
|
tags map | The metadata applied to the capacity provider. Each tag consists of a key and an optional value. Up to 50 tags per resource are allowed. The maximum character length is 128 for keys and 256 for values.
Tags may not be prefixed with |
Outputs¶
Attribute | Description |
---|---|
arn | The Amazon Resource Name (ARN) that identifies the capacity provider. |