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::PutClusterCapacityProviders(3) User Contributed Perl Documentation Paws::ECS::PutClusterCapacityProviders(3)

Paws::ECS::PutClusterCapacityProviders - Arguments for method PutClusterCapacityProviders on Paws::ECS

This class represents the parameters used for calling the method PutClusterCapacityProviders on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method PutClusterCapacityProviders.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutClusterCapacityProviders.

    my $ecs = Paws->service('ECS');
    my $PutClusterCapacityProvidersResponse = $ecs->PutClusterCapacityProviders(
      CapacityProviders               => [ 'MyString', ... ],
      Cluster                         => 'MyString',
      DefaultCapacityProviderStrategy => [
        {
          CapacityProvider => 'MyString',
          Base             => 1,            # max: 100000; OPTIONAL
          Weight           => 1,            # max: 1000; OPTIONAL
        },
        ...
      ],
    );
    # Results:
    my $Cluster = $PutClusterCapacityProvidersResponse->Cluster;
    # Returns a L<Paws::ECS::PutClusterCapacityProvidersResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ecs/PutClusterCapacityProviders>

REQUIRED CapacityProviders => ArrayRef[Str|Undef]

The name of one or more capacity providers to associate with the cluster.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the "FARGATE" or "FARGATE_SPOT" capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

REQUIRED Cluster => Str

The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider settings for. If you do not specify a cluster, the default cluster is assumed.

REQUIRED DefaultCapacityProviderStrategy => ArrayRef[Paws::ECS::CapacityProviderStrategyItem]

The capacity provider strategy to use by default for the cluster.

When creating a service or running a task on a cluster, if no capacity provider or launch type is specified then the default capacity provider strategy for the cluster is used.

A capacity provider strategy consists of one or more capacity providers along with the "base" and "weight" to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an "ACTIVE" or "UPDATING" status can be used.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

To use a AWS Fargate capacity provider, specify either the "FARGATE" or "FARGATE_SPOT" capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.

This class forms part of Paws, documenting arguments for method PutClusterCapacityProviders 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.