« blib/lib/Paws/EMR/JobFlowExecutionStatusDetail.pm
↑ Summary
blib/lib/Paws/EMR/JobFlowInstancesDetail.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EMR::JobFlowInstancesConfig; | ||
| 3 | use Moose; | ||
| 4 | has AdditionalMasterSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 5 | has AdditionalSlaveSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | has Ec2KeyName => (is => 'ro', isa => 'Str'); | ||
| 7 | has Ec2SubnetId => (is => 'ro', isa => 'Str'); | ||
| 8 | has Ec2SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 9 | has EmrManagedMasterSecurityGroup => (is => 'ro', isa => 'Str'); | ||
| 10 | has EmrManagedSlaveSecurityGroup => (is => 'ro', isa => 'Str'); | ||
| 11 | has HadoopVersion => (is => 'ro', isa => 'Str'); | ||
| 12 | has InstanceCount => (is => 'ro', isa => 'Int'); | ||
| 13 | has InstanceFleets => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceFleetConfig]'); | ||
| 14 | has InstanceGroups => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceGroupConfig]'); | ||
| 15 | has KeepJobFlowAliveWhenNoSteps => (is => 'ro', isa => 'Bool'); | ||
| 16 | has MasterInstanceType => (is => 'ro', isa => 'Str'); | ||
| 17 | has Placement => (is => 'ro', isa => 'Paws::EMR::PlacementType'); | ||
| 18 | has ServiceAccessSecurityGroup => (is => 'ro', isa => 'Str'); | ||
| 19 | has SlaveInstanceType => (is => 'ro', isa => 'Str'); | ||
| 20 | has TerminationProtected => (is => 'ro', isa => 'Bool'); | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::EMR::JobFlowInstancesConfig | ||
| 29 | |||
| 30 | =head1 USAGE | ||
| 31 | |||
| 32 | This class represents one of two things: | ||
| 33 | |||
| 34 | =head3 Arguments in a call to a service | ||
| 35 | |||
| 36 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 37 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 38 | |||
| 39 | As an example, if Att1 is expected to be a Paws::EMR::JobFlowInstancesConfig object: | ||
| 40 | |||
| 41 | $service_obj->Method(Att1 => { AdditionalMasterSecurityGroups => $value, ..., TerminationProtected => $value }); | ||
| 42 | |||
| 43 | =head3 Results returned from an API call | ||
| 44 | |||
| 45 | Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::JobFlowInstancesConfig object: | ||
| 46 | |||
| 47 | $result = $service_obj->Method(...); | ||
| 48 | $result->Att1->AdditionalMasterSecurityGroups | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | A description of the Amazon EC2 instance on which the cluster (job | ||
| 53 | flow) runs. A valid JobFlowInstancesConfig must contain either | ||
| 54 | InstanceGroups or InstanceFleets. They cannot be used together. You may | ||
| 55 | also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all | ||
| 56 | three must be present), but we don't recommend this configuration. | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 AdditionalMasterSecurityGroups => ArrayRef[Str|Undef] | ||
| 62 | |||
| 63 | A list of additional Amazon EC2 security group IDs for the master node. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 AdditionalSlaveSecurityGroups => ArrayRef[Str|Undef] | ||
| 67 | |||
| 68 | A list of additional Amazon EC2 security group IDs for the core and | ||
| 69 | task nodes. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 Ec2KeyName => Str | ||
| 73 | |||
| 74 | The name of the EC2 key pair that can be used to connect to the master | ||
| 75 | node using SSH as the user called "hadoop." | ||
| 76 | |||
| 77 | |||
| 78 | =head2 Ec2SubnetId => Str | ||
| 79 | |||
| 80 | Applies to clusters that use the uniform instance group configuration. | ||
| 81 | To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set | ||
| 82 | this parameter to the identifier of the Amazon VPC subnet where you | ||
| 83 | want the cluster to launch. If you do not specify this value and your | ||
| 84 | account supports EC2-Classic, the cluster launches in EC2-Classic. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 Ec2SubnetIds => ArrayRef[Str|Undef] | ||
| 88 | |||
| 89 | Applies to clusters that use the instance fleet configuration. When | ||
| 90 | multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and | ||
| 91 | launches instances in the optimal subnet. | ||
| 92 | |||
| 93 | The instance fleet configuration is available only in Amazon EMR | ||
| 94 | versions 4.8.0 and later, excluding 5.0.x versions. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 EmrManagedMasterSecurityGroup => Str | ||
| 98 | |||
| 99 | The identifier of the Amazon EC2 security group for the master node. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 EmrManagedSlaveSecurityGroup => Str | ||
| 103 | |||
| 104 | The identifier of the Amazon EC2 security group for the core and task | ||
| 105 | nodes. | ||
| 106 | |||
| 107 | |||
| 108 | =head2 HadoopVersion => Str | ||
| 109 | |||
| 110 | Applies only to Amazon EMR release versions earlier than 4.0. The | ||
| 111 | Hadoop version for the cluster. Valid inputs are "0.18" (no longer | ||
| 112 | maintained), "0.20" (no longer maintained), "0.20.205" (no longer | ||
| 113 | maintained), "1.0.3", "2.2.0", or "2.4.0". If you do not set this | ||
| 114 | value, the default of 0.18 is used, unless the C<AmiVersion> parameter | ||
| 115 | is set in the RunJobFlow call, in which case the default version of | ||
| 116 | Hadoop for that AMI version is used. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 InstanceCount => Int | ||
| 120 | |||
| 121 | The number of EC2 instances in the cluster. | ||
| 122 | |||
| 123 | |||
| 124 | =head2 InstanceFleets => ArrayRef[L<Paws::EMR::InstanceFleetConfig>] | ||
| 125 | |||
| 126 | The instance fleet configuration is available only in Amazon EMR | ||
| 127 | versions 4.8.0 and later, excluding 5.0.x versions. | ||
| 128 | |||
| 129 | Describes the EC2 instances and instance configurations for clusters | ||
| 130 | that use the instance fleet configuration. | ||
| 131 | |||
| 132 | |||
| 133 | =head2 InstanceGroups => ArrayRef[L<Paws::EMR::InstanceGroupConfig>] | ||
| 134 | |||
| 135 | Configuration for the instance groups in a cluster. | ||
| 136 | |||
| 137 | |||
| 138 | =head2 KeepJobFlowAliveWhenNoSteps => Bool | ||
| 139 | |||
| 140 | Specifies whether the cluster should remain available after completing | ||
| 141 | all steps. | ||
| 142 | |||
| 143 | |||
| 144 | =head2 MasterInstanceType => Str | ||
| 145 | |||
| 146 | The EC2 instance type of the master node. | ||
| 147 | |||
| 148 | |||
| 149 | =head2 Placement => L<Paws::EMR::PlacementType> | ||
| 150 | |||
| 151 | The Availability Zone in which the cluster runs. | ||
| 152 | |||
| 153 | |||
| 154 | =head2 ServiceAccessSecurityGroup => Str | ||
| 155 | |||
| 156 | The identifier of the Amazon EC2 security group for the Amazon EMR | ||
| 157 | service to access clusters in VPC private subnets. | ||
| 158 | |||
| 159 | |||
| 160 | =head2 SlaveInstanceType => Str | ||
| 161 | |||
| 162 | The EC2 instance type of the core and task nodes. | ||
| 163 | |||
| 164 | |||
| 165 | =head2 TerminationProtected => Bool | ||
| 166 | |||
| 167 | Specifies whether to lock the cluster to prevent the Amazon EC2 | ||
| 168 | instances from being terminated by API call, user intervention, or in | ||
| 169 | the event of a job-flow error. | ||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | =head1 SEE ALSO | ||
| 174 | |||
| 175 | This class forms part of L<Paws>, describing an object used in L<Paws::EMR> | ||
| 176 | |||
| 177 | =head1 BUGS and CONTRIBUTIONS | ||
| 178 | |||
| 179 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 180 | |||
| 181 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 182 | |||
| 183 | =cut | ||
| 184 |