| 1 | package Paws::EC2::ResponseLaunchTemplateData; | ||
| 2 | use Moose; | ||
| 3 | has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LaunchTemplateBlockDeviceMapping]', request_name => 'blockDeviceMappingSet', traits => ['NameInRequest']); | ||
| 4 | has CapacityReservationSpecification => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateCapacityReservationSpecificationResponse', request_name => 'capacityReservationSpecification', traits => ['NameInRequest']); | ||
| 5 | has CpuOptions => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateCpuOptions', request_name => 'cpuOptions', traits => ['NameInRequest']); | ||
| 6 | has CreditSpecification => (is => 'ro', isa => 'Paws::EC2::CreditSpecification', request_name => 'creditSpecification', traits => ['NameInRequest']); | ||
| 7 | has DisableApiTermination => (is => 'ro', isa => 'Bool', request_name => 'disableApiTermination', traits => ['NameInRequest']); | ||
| 8 | has EbsOptimized => (is => 'ro', isa => 'Bool', request_name => 'ebsOptimized', traits => ['NameInRequest']); | ||
| 9 | has ElasticGpuSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ElasticGpuSpecificationResponse]', request_name => 'elasticGpuSpecificationSet', traits => ['NameInRequest']); | ||
| 10 | has ElasticInferenceAccelerators => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LaunchTemplateElasticInferenceAcceleratorResponse]', request_name => 'elasticInferenceAcceleratorSet', traits => ['NameInRequest']); | ||
| 11 | has EnclaveOptions => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateEnclaveOptions', request_name => 'enclaveOptions', traits => ['NameInRequest']); | ||
| 12 | has HibernationOptions => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateHibernationOptions', request_name => 'hibernationOptions', traits => ['NameInRequest']); | ||
| 13 | has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateIamInstanceProfileSpecification', request_name => 'iamInstanceProfile', traits => ['NameInRequest']); | ||
| 14 | has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']); | ||
| 15 | has InstanceInitiatedShutdownBehavior => (is => 'ro', isa => 'Str', request_name => 'instanceInitiatedShutdownBehavior', traits => ['NameInRequest']); | ||
| 16 | has InstanceMarketOptions => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateInstanceMarketOptions', request_name => 'instanceMarketOptions', traits => ['NameInRequest']); | ||
| 17 | has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']); | ||
| 18 | has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']); | ||
| 19 | has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']); | ||
| 20 | has LicenseSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LaunchTemplateLicenseConfiguration]', request_name => 'licenseSet', traits => ['NameInRequest']); | ||
| 21 | has MetadataOptions => (is => 'ro', isa => 'Paws::EC2::LaunchTemplateInstanceMetadataOptions', request_name => 'metadataOptions', traits => ['NameInRequest']); | ||
| 22 | has Monitoring => (is => 'ro', isa => 'Paws::EC2::LaunchTemplatesMonitoring', request_name => 'monitoring', traits => ['NameInRequest']); | ||
| 23 | has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecification]', request_name => 'networkInterfaceSet', traits => ['NameInRequest']); | ||
| 24 | has Placement => (is => 'ro', isa => 'Paws::EC2::LaunchTemplatePlacement', request_name => 'placement', traits => ['NameInRequest']); | ||
| 25 | has RamDiskId => (is => 'ro', isa => 'Str', request_name => 'ramDiskId', traits => ['NameInRequest']); | ||
| 26 | has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroupIdSet', traits => ['NameInRequest']); | ||
| 27 | has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroupSet', traits => ['NameInRequest']); | ||
| 28 | has TagSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LaunchTemplateTagSpecification]', request_name => 'tagSpecificationSet', traits => ['NameInRequest']); | ||
| 29 | has UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']); | ||
| 30 | 1; | ||
| 31 | |||
| 32 | ### main pod documentation begin ### | ||
| 33 | |||
| 34 | =head1 NAME | ||
| 35 | |||
| 36 | Paws::EC2::ResponseLaunchTemplateData | ||
| 37 | |||
| 38 | =head1 USAGE | ||
| 39 | |||
| 40 | This class represents one of two things: | ||
| 41 | |||
| 42 | =head3 Arguments in a call to a service | ||
| 43 | |||
| 44 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 45 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 46 | |||
| 47 | As an example, if Att1 is expected to be a Paws::EC2::ResponseLaunchTemplateData object: | ||
| 48 | |||
| 49 | $service_obj->Method(Att1 => { BlockDeviceMappings => $value, ..., UserData => $value }); | ||
| 50 | |||
| 51 | =head3 Results returned from an API call | ||
| 52 | |||
| 53 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ResponseLaunchTemplateData object: | ||
| 54 | |||
| 55 | $result = $service_obj->Method(...); | ||
| 56 | $result->Att1->BlockDeviceMappings | ||
| 57 | |||
| 58 | =head1 DESCRIPTION | ||
| 59 | |||
| 60 | This class has no description | ||
| 61 | |||
| 62 | =head1 ATTRIBUTES | ||
| 63 | |||
| 64 | |||
| 65 | =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::LaunchTemplateBlockDeviceMapping>] | ||
| 66 | |||
| 67 | The block device mappings. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 CapacityReservationSpecification => L<Paws::EC2::LaunchTemplateCapacityReservationSpecificationResponse> | ||
| 71 | |||
| 72 | Information about the Capacity Reservation targeting option. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 CpuOptions => L<Paws::EC2::LaunchTemplateCpuOptions> | ||
| 76 | |||
| 77 | The CPU options for the instance. For more information, see Optimizing | ||
| 78 | CPU Options | ||
| 79 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) | ||
| 80 | in the I<Amazon Elastic Compute Cloud User Guide>. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 CreditSpecification => L<Paws::EC2::CreditSpecification> | ||
| 84 | |||
| 85 | The credit option for CPU usage of the instance. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 DisableApiTermination => Bool | ||
| 89 | |||
| 90 | If set to C<true>, indicates that the instance cannot be terminated | ||
| 91 | using the Amazon EC2 console, command line tool, or API. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 EbsOptimized => Bool | ||
| 95 | |||
| 96 | Indicates whether the instance is optimized for Amazon EBS I/O. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 ElasticGpuSpecifications => ArrayRef[L<Paws::EC2::ElasticGpuSpecificationResponse>] | ||
| 100 | |||
| 101 | The elastic GPU specification. | ||
| 102 | |||
| 103 | |||
| 104 | =head2 ElasticInferenceAccelerators => ArrayRef[L<Paws::EC2::LaunchTemplateElasticInferenceAcceleratorResponse>] | ||
| 105 | |||
| 106 | The elastic inference accelerator for the instance. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 EnclaveOptions => L<Paws::EC2::LaunchTemplateEnclaveOptions> | ||
| 110 | |||
| 111 | Indicates whether the instance is enabled for AWS Nitro Enclaves. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 HibernationOptions => L<Paws::EC2::LaunchTemplateHibernationOptions> | ||
| 115 | |||
| 116 | Indicates whether an instance is configured for hibernation. For more | ||
| 117 | information, see Hibernate Your Instance | ||
| 118 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in | ||
| 119 | the I<Amazon Elastic Compute Cloud User Guide>. | ||
| 120 | |||
| 121 | |||
| 122 | =head2 IamInstanceProfile => L<Paws::EC2::LaunchTemplateIamInstanceProfileSpecification> | ||
| 123 | |||
| 124 | The IAM instance profile. | ||
| 125 | |||
| 126 | |||
| 127 | =head2 ImageId => Str | ||
| 128 | |||
| 129 | The ID of the AMI that was used to launch the instance. | ||
| 130 | |||
| 131 | |||
| 132 | =head2 InstanceInitiatedShutdownBehavior => Str | ||
| 133 | |||
| 134 | Indicates whether an instance stops or terminates when you initiate | ||
| 135 | shutdown from the instance (using the operating system command for | ||
| 136 | system shutdown). | ||
| 137 | |||
| 138 | |||
| 139 | =head2 InstanceMarketOptions => L<Paws::EC2::LaunchTemplateInstanceMarketOptions> | ||
| 140 | |||
| 141 | The market (purchasing) option for the instances. | ||
| 142 | |||
| 143 | |||
| 144 | =head2 InstanceType => Str | ||
| 145 | |||
| 146 | The instance type. | ||
| 147 | |||
| 148 | |||
| 149 | =head2 KernelId => Str | ||
| 150 | |||
| 151 | The ID of the kernel, if applicable. | ||
| 152 | |||
| 153 | |||
| 154 | =head2 KeyName => Str | ||
| 155 | |||
| 156 | The name of the key pair. | ||
| 157 | |||
| 158 | |||
| 159 | =head2 LicenseSpecifications => ArrayRef[L<Paws::EC2::LaunchTemplateLicenseConfiguration>] | ||
| 160 | |||
| 161 | The license configurations. | ||
| 162 | |||
| 163 | |||
| 164 | =head2 MetadataOptions => L<Paws::EC2::LaunchTemplateInstanceMetadataOptions> | ||
| 165 | |||
| 166 | The metadata options for the instance. For more information, see | ||
| 167 | Instance Metadata and User Data | ||
| 168 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) | ||
| 169 | in the I<Amazon Elastic Compute Cloud User Guide>. | ||
| 170 | |||
| 171 | |||
| 172 | =head2 Monitoring => L<Paws::EC2::LaunchTemplatesMonitoring> | ||
| 173 | |||
| 174 | The monitoring for the instance. | ||
| 175 | |||
| 176 | |||
| 177 | =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecification>] | ||
| 178 | |||
| 179 | The network interfaces. | ||
| 180 | |||
| 181 | |||
| 182 | =head2 Placement => L<Paws::EC2::LaunchTemplatePlacement> | ||
| 183 | |||
| 184 | The placement of the instance. | ||
| 185 | |||
| 186 | |||
| 187 | =head2 RamDiskId => Str | ||
| 188 | |||
| 189 | The ID of the RAM disk, if applicable. | ||
| 190 | |||
| 191 | |||
| 192 | =head2 SecurityGroupIds => ArrayRef[Str|Undef] | ||
| 193 | |||
| 194 | The security group IDs. | ||
| 195 | |||
| 196 | |||
| 197 | =head2 SecurityGroups => ArrayRef[Str|Undef] | ||
| 198 | |||
| 199 | The security group names. | ||
| 200 | |||
| 201 | |||
| 202 | =head2 TagSpecifications => ArrayRef[L<Paws::EC2::LaunchTemplateTagSpecification>] | ||
| 203 | |||
| 204 | The tags. | ||
| 205 | |||
| 206 | |||
| 207 | =head2 UserData => Str | ||
| 208 | |||
| 209 | The user data for the instance. | ||
| 210 | |||
| 211 | |||
| 212 | |||
| 213 | =head1 SEE ALSO | ||
| 214 | |||
| 215 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 216 | |||
| 217 | =head1 BUGS and CONTRIBUTIONS | ||
| 218 | |||
| 219 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 220 | |||
| 221 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 222 | |||
| 223 | =cut |