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