| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EMR::InstanceTypeSpecification; | ||
| 3 | use Moose; | ||
| 4 | has BidPrice => (is => 'ro', isa => 'Str'); | ||
| 5 | has BidPriceAsPercentageOfOnDemandPrice => (is => 'ro', isa => 'Num'); | ||
| 6 | has Configurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]'); | ||
| 7 | has EbsBlockDevices => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsBlockDevice]'); | ||
| 8 | has EbsOptimized => (is => 'ro', isa => 'Bool'); | ||
| 9 | has InstanceType => (is => 'ro', isa => 'Str'); | ||
| 10 | has WeightedCapacity => (is => 'ro', isa => 'Int'); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::EMR::InstanceTypeSpecification | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::EMR::InstanceTypeSpecification object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { BidPrice => $value, ..., WeightedCapacity => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::InstanceTypeSpecification object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->BidPrice | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | The configuration specification for each instance type in an instance | ||
| 43 | fleet. | ||
| 44 | |||
| 45 | The instance fleet configuration is available only in Amazon EMR | ||
| 46 | versions 4.8.0 and later, excluding 5.0.x versions. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 BidPrice => Str | ||
| 52 | |||
| 53 | The bid price for each EC2 Spot Instance type as defined by | ||
| 54 | C<InstanceType>. Expressed in USD. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 BidPriceAsPercentageOfOnDemandPrice => Num | ||
| 58 | |||
| 59 | The bid price, as a percentage of On-Demand price, for each EC2 Spot | ||
| 60 | Instance as defined by C<InstanceType>. Expressed as a number (for | ||
| 61 | example, 20 specifies 20%). | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Configurations => ArrayRef[L<Paws::EMR::Configuration>] | ||
| 65 | |||
| 66 | A configuration classification that applies when provisioning cluster | ||
| 67 | instances, which can include configurations for applications and | ||
| 68 | software bundled with Amazon EMR. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 EbsBlockDevices => ArrayRef[L<Paws::EMR::EbsBlockDevice>] | ||
| 72 | |||
| 73 | The configuration of Amazon Elastic Block Storage (Amazon EBS) attached | ||
| 74 | to each instance as defined by C<InstanceType>. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 EbsOptimized => Bool | ||
| 78 | |||
| 79 | Evaluates to C<TRUE> when the specified C<InstanceType> is | ||
| 80 | EBS-optimized. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 InstanceType => Str | ||
| 84 | |||
| 85 | The EC2 instance type, for example C<m3.xlarge>. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 WeightedCapacity => Int | ||
| 89 | |||
| 90 | The number of units that a provisioned instance of this type provides | ||
| 91 | toward fulfilling the target capacities defined in InstanceFleetConfig. | ||
| 92 | Capacity values represent performance characteristics such as vCPUs, | ||
| 93 | memory, or I/O. If not specified, the default value is 1. | ||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, describing an object used in L<Paws::EMR> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |