GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::ECS::PlacementStrategy(3) User Contributed Perl Documentation Paws::ECS::PlacementStrategy(3)

Paws::ECS::PlacementStrategy

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ECS::PlacementStrategy object:

  $service_obj->Method(Att1 => { Field => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ECS::PlacementStrategy object:

  $result = $service_obj->Method(...);
  $result->Att1->Field

The task placement strategy for a task or service. For more information, see Task Placement Strategies (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the Amazon Elastic Container Service Developer Guide.

The field to apply the placement strategy against. For the "spread" placement strategy, valid values are "instanceId" (or "host", which has the same effect), or any platform or custom attribute that is applied to a container instance, such as "attribute:ecs.availability-zone". For the "binpack" placement strategy, valid values are "cpu" and "memory". For the "random" placement strategy, this field is not used.

The type of placement strategy. The "random" placement strategy randomly places tasks on available candidates. The "spread" placement strategy spreads placement across available candidates evenly based on the "field" parameter. The "binpack" strategy places tasks on available candidates that have the least available amount of the resource that is specified with the "field" parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task).

This class forms part of Paws, describing an object used in Paws::ECS

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.