Paws::Batch::ComputeResource
This class represents one of two things:
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::Batch::ComputeResource object:
$service_obj->Method(Att1 => { BidPercentage => $value, ..., Type => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ComputeResource object:
$result = $service_obj->Method(...); $result->Att1->BidPercentage
An object representing an AWS Batch compute resource.
The minimum percentage that a Spot Instance price must be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20%, then the Spot price must be below 20% of the current On-Demand price for that EC2 instance.
The desired number of EC2 vCPUS in the compute environment.
The EC2 key pair that is used for instances launched in the compute environment.
The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment.
The instances types that may launched.
The maximum number of EC2 vCPUs that an environment can reach.
The minimum number of EC2 vCPUs that an environment should maintain.
The EC2 security group that is associated with instances launched in the compute environment.
The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a C<SPOT> compute environment.
The VPC subnets into which the compute resources are launched.
Key-value pair tags to be applied to resources that are launched in the compute environment.
The type of compute environment.
This class forms part of Paws, describing an object used in Paws::Batch
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.