« blib/lib/Paws/AutoScaling/Instance.pm
↑ Summary
blib/lib/Paws/AutoScaling/LaunchConfigurationsType.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AutoScaling::LaunchConfiguration; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool'); | |
| 5 | 1 | has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::BlockDeviceMapping]'); | |
| 6 | 1 | has ClassicLinkVPCId => (is => 'ro', isa => 'Str'); | |
| 7 | 1 | has ClassicLinkVPCSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 8 | 1 | has CreatedTime => (is => 'ro', isa => 'Str', required => 1); | |
| 9 | 1 | has EbsOptimized => (is => 'ro', isa => 'Bool'); | |
| 10 | 1 | has IamInstanceProfile => (is => 'ro', isa => 'Str'); | |
| 11 | 1 | has ImageId => (is => 'ro', isa => 'Str', required => 1); | |
| 12 | 1 | has InstanceMonitoring => (is => 'ro', isa => 'Paws::AutoScaling::InstanceMonitoring'); | |
| 13 | 1 | has InstanceType => (is => 'ro', isa => 'Str', required => 1); | |
| 14 | 1 | has KernelId => (is => 'ro', isa => 'Str'); | |
| 15 | 1 | has KeyName => (is => 'ro', isa => 'Str'); | |
| 16 | 1 | has LaunchConfigurationARN => (is => 'ro', isa => 'Str'); | |
| 17 | 1 | has LaunchConfigurationName => (is => 'ro', isa => 'Str', required => 1); | |
| 18 | 1 | has MetadataOptions => (is => 'ro', isa => 'Paws::AutoScaling::InstanceMetadataOptions'); | |
| 19 | 1 | has PlacementTenancy => (is => 'ro', isa => 'Str'); | |
| 20 | 1 | has RamdiskId => (is => 'ro', isa => 'Str'); | |
| 21 | 1 | has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 22 | 1 | has SpotPrice => (is => 'ro', isa => 'Str'); | |
| 23 | 1 | has UserData => (is => 'ro', isa => 'Str'); | |
| 24 | |||
| 25 | 1 | 1; | |
| 26 | |||
| 27 | ### main pod documentation begin ### | ||
| 28 | |||
| 29 | =head1 NAME | ||
| 30 | |||
| 31 | Paws::AutoScaling::LaunchConfiguration | ||
| 32 | |||
| 33 | =head1 USAGE | ||
| 34 | |||
| 35 | This class represents one of two things: | ||
| 36 | |||
| 37 | =head3 Arguments in a call to a service | ||
| 38 | |||
| 39 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 40 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 41 | |||
| 42 | As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchConfiguration object: | ||
| 43 | |||
| 44 | $service_obj->Method(Att1 => { AssociatePublicIpAddress => $value, ..., UserData => $value }); | ||
| 45 | |||
| 46 | =head3 Results returned from an API call | ||
| 47 | |||
| 48 | Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchConfiguration object: | ||
| 49 | |||
| 50 | $result = $service_obj->Method(...); | ||
| 51 | $result->Att1->AssociatePublicIpAddress | ||
| 52 | |||
| 53 | =head1 DESCRIPTION | ||
| 54 | |||
| 55 | Describes a launch configuration. | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 AssociatePublicIpAddress => Bool | ||
| 61 | |||
| 62 | For Auto Scaling groups that are running in a VPC, specifies whether to | ||
| 63 | assign a public IP address to the group's instances. For more | ||
| 64 | information, see Launching Auto Scaling instances in a VPC | ||
| 65 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html) | ||
| 66 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 BlockDeviceMappings => ArrayRef[L<Paws::AutoScaling::BlockDeviceMapping>] | ||
| 70 | |||
| 71 | A block device mapping, which specifies the block devices for the | ||
| 72 | instance. For more information, see Block Device Mapping | ||
| 73 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) | ||
| 74 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 ClassicLinkVPCId => Str | ||
| 78 | |||
| 79 | The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances | ||
| 80 | to. For more information, see ClassicLink | ||
| 81 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) | ||
| 82 | in the I<Amazon EC2 User Guide for Linux Instances> and Linking | ||
| 83 | EC2-Classic instances to a VPC | ||
| 84 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink) | ||
| 85 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 ClassicLinkVPCSecurityGroups => ArrayRef[Str|Undef] | ||
| 89 | |||
| 90 | The IDs of one or more security groups for the VPC specified in | ||
| 91 | C<ClassicLinkVPCId>. | ||
| 92 | |||
| 93 | For more information, see ClassicLink | ||
| 94 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) | ||
| 95 | in the I<Amazon EC2 User Guide for Linux Instances> and Linking | ||
| 96 | EC2-Classic instances to a VPC | ||
| 97 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink) | ||
| 98 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> CreatedTime => Str | ||
| 102 | |||
| 103 | The creation date and time for the launch configuration. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 EbsOptimized => Bool | ||
| 107 | |||
| 108 | Specifies whether the launch configuration is optimized for EBS I/O | ||
| 109 | (C<true>) or not (C<false>). For more information, see Amazon | ||
| 110 | EBS-Optimized Instances | ||
| 111 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) | ||
| 112 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 IamInstanceProfile => Str | ||
| 116 | |||
| 117 | The name or the Amazon Resource Name (ARN) of the instance profile | ||
| 118 | associated with the IAM role for the instance. The instance profile | ||
| 119 | contains the IAM role. For more information, see IAM role for | ||
| 120 | applications that run on Amazon EC2 instances | ||
| 121 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html) | ||
| 122 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 123 | |||
| 124 | |||
| 125 | =head2 B<REQUIRED> ImageId => Str | ||
| 126 | |||
| 127 | The ID of the Amazon Machine Image (AMI) to use to launch your EC2 | ||
| 128 | instances. For more information, see Finding an AMI | ||
| 129 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html) | ||
| 130 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 131 | |||
| 132 | |||
| 133 | =head2 InstanceMonitoring => L<Paws::AutoScaling::InstanceMonitoring> | ||
| 134 | |||
| 135 | Controls whether instances in this group are launched with detailed | ||
| 136 | (C<true>) or basic (C<false>) monitoring. | ||
| 137 | |||
| 138 | For more information, see Configure Monitoring for Auto Scaling | ||
| 139 | Instances | ||
| 140 | (https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html) | ||
| 141 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 142 | |||
| 143 | |||
| 144 | =head2 B<REQUIRED> InstanceType => Str | ||
| 145 | |||
| 146 | The instance type for the instances. | ||
| 147 | |||
| 148 | For information about available instance types, see Available Instance | ||
| 149 | Types | ||
| 150 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes) | ||
| 151 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 152 | |||
| 153 | |||
| 154 | =head2 KernelId => Str | ||
| 155 | |||
| 156 | The ID of the kernel associated with the AMI. | ||
| 157 | |||
| 158 | |||
| 159 | =head2 KeyName => Str | ||
| 160 | |||
| 161 | The name of the key pair. | ||
| 162 | |||
| 163 | For more information, see Amazon EC2 Key Pairs | ||
| 164 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) | ||
| 165 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 166 | |||
| 167 | |||
| 168 | =head2 LaunchConfigurationARN => Str | ||
| 169 | |||
| 170 | The Amazon Resource Name (ARN) of the launch configuration. | ||
| 171 | |||
| 172 | |||
| 173 | =head2 B<REQUIRED> LaunchConfigurationName => Str | ||
| 174 | |||
| 175 | The name of the launch configuration. | ||
| 176 | |||
| 177 | |||
| 178 | =head2 MetadataOptions => L<Paws::AutoScaling::InstanceMetadataOptions> | ||
| 179 | |||
| 180 | The metadata options for the instances. For more information, see | ||
| 181 | Configuring the Instance Metadata Options | ||
| 182 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds) | ||
| 183 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 184 | |||
| 185 | |||
| 186 | =head2 PlacementTenancy => Str | ||
| 187 | |||
| 188 | The tenancy of the instance, either C<default> or C<dedicated>. An | ||
| 189 | instance with C<dedicated> tenancy runs on isolated, single-tenant | ||
| 190 | hardware and can only be launched into a VPC. | ||
| 191 | |||
| 192 | For more information, see Configuring instance tenancy with Amazon EC2 | ||
| 193 | Auto Scaling | ||
| 194 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html) | ||
| 195 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 196 | |||
| 197 | |||
| 198 | =head2 RamdiskId => Str | ||
| 199 | |||
| 200 | The ID of the RAM disk associated with the AMI. | ||
| 201 | |||
| 202 | |||
| 203 | =head2 SecurityGroups => ArrayRef[Str|Undef] | ||
| 204 | |||
| 205 | A list that contains the security groups to assign to the instances in | ||
| 206 | the Auto Scaling group. For more information, see Security Groups for | ||
| 207 | Your VPC | ||
| 208 | (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html) | ||
| 209 | in the I<Amazon Virtual Private Cloud User Guide>. | ||
| 210 | |||
| 211 | |||
| 212 | =head2 SpotPrice => Str | ||
| 213 | |||
| 214 | The maximum hourly price to be paid for any Spot Instance launched to | ||
| 215 | fulfill the request. Spot Instances are launched when the price you | ||
| 216 | specify exceeds the current Spot price. For more information, see | ||
| 217 | Requesting Spot Instances | ||
| 218 | (https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html) | ||
| 219 | in the I<Amazon EC2 Auto Scaling User Guide>. | ||
| 220 | |||
| 221 | |||
| 222 | =head2 UserData => Str | ||
| 223 | |||
| 224 | The user data to make available to the launched EC2 instances. For more | ||
| 225 | information, see Instance metadata and user data | ||
| 226 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) | ||
| 227 | (Linux) and Instance metadata and user data | ||
| 228 | (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html) | ||
| 229 | (Windows). If you are using a command line tool, base64-encoding is | ||
| 230 | performed for you, and you can load the text from a file. Otherwise, | ||
| 231 | you must provide base64-encoded text. User data is limited to 16 KB. | ||
| 232 | |||
| 233 | |||
| 234 | |||
| 235 | =head1 SEE ALSO | ||
| 236 | |||
| 237 | This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling> | ||
| 238 | |||
| 239 | =head1 BUGS and CONTRIBUTIONS | ||
| 240 | |||
| 241 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 242 | |||
| 243 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 244 | |||
| 245 | =cut | ||
| 246 | |||