![]() |
![]()
| ![]() |
![]()
NAMEPaws::EC2::RequestLaunchTemplateData USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::EC2::RequestLaunchTemplateData object: $service_obj->Method(Att1 => { BlockDeviceMappings => $value, ..., UserData => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::RequestLaunchTemplateData object: $result = $service_obj->Method(...); $result->Att1->BlockDeviceMappings DESCRIPTIONThis class has no description ATTRIBUTESBlockDeviceMappings => ArrayRef[Paws::EC2::LaunchTemplateBlockDeviceMappingRequest]The block device mapping. CapacityReservationSpecification => Paws::EC2::LaunchTemplateCapacityReservationSpecificationRequestThe Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to "open", which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). CpuOptions => Paws::EC2::LaunchTemplateCpuOptionsRequestThe CPU options for the instance. For more information, see Optimizing CPU Options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) in the Amazon Elastic Compute Cloud User Guide. CreditSpecification => Paws::EC2::CreditSpecificationRequestThe credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only. DisableApiTermination => BoolIf you set this parameter to "true", you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use ModifyInstanceAttribute (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). Alternatively, if you set "InstanceInitiatedShutdownBehavior" to "terminate", you can terminate the instance by running the shutdown command from the instance. EbsOptimized => BoolIndicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance. ElasticGpuSpecifications => ArrayRef[Paws::EC2::ElasticGpuSpecification]An elastic GPU to associate with the instance. ElasticInferenceAccelerators => ArrayRef[Paws::EC2::LaunchTemplateElasticInferenceAccelerator]The elastic inference accelerator for the instance. EnclaveOptions => Paws::EC2::LaunchTemplateEnclaveOptionsRequestIndicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is AWS Nitro Enclaves? (https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the AWS Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance. HibernationOptions => Paws::EC2::LaunchTemplateHibernationOptionsRequestIndicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). For more information, see Hibernate Your Instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the Amazon Elastic Compute Cloud User Guide. IamInstanceProfile => Paws::EC2::LaunchTemplateIamInstanceProfileSpecificationRequestThe name or Amazon Resource Name (ARN) of an IAM instance profile. ImageId => StrThe ID of the AMI. InstanceInitiatedShutdownBehavior => StrIndicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). Default: "stop" InstanceMarketOptions => Paws::EC2::LaunchTemplateInstanceMarketOptionsRequestThe market (purchasing) option for the instances. InstanceType => StrThe instance type. For more information, see Instance Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the Amazon Elastic Compute Cloud User Guide. KernelId => StrThe ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) in the Amazon Elastic Compute Cloud User Guide. KeyName => StrThe name of the key pair. You can create a key pair using CreateKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) or ImportKeyPair (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in. LicenseSpecifications => ArrayRef[Paws::EC2::LaunchTemplateLicenseConfigurationRequest]The license configurations. MetadataOptions => Paws::EC2::LaunchTemplateInstanceMetadataOptionsRequestThe metadata options for the instance. For more information, see Instance Metadata and User Data (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) in the Amazon Elastic Compute Cloud User Guide. Monitoring => Paws::EC2::LaunchTemplatesMonitoringRequestThe monitoring for the instance. NetworkInterfaces => ArrayRef[Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest]One or more network interfaces. If you specify a network interface, you must specify any security groups and subnets as part of the network interface. Placement => Paws::EC2::LaunchTemplatePlacementRequestThe placement for the instance. RamDiskId => StrThe ID of the RAM disk. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) in the Amazon Elastic Compute Cloud User Guide. SecurityGroupIds => ArrayRef[Str|Undef]One or more security group IDs. You can create a security group using CreateSecurityGroup (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html). You cannot specify both a security group ID and security name in the same request. SecurityGroups => ArrayRef[Str|Undef][EC2-Classic, default VPC] One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request. TagSpecifications => ArrayRef[Paws::EC2::LaunchTemplateTagSpecificationRequest]The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). UserData => StrThe Base64-encoded user data to make available to the instance. For more information, see Running Commands on Your Linux Instance at Launch (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) (Linux) and Adding User Data (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data) (Windows). SEE ALSOThis class forms part of Paws, describing an object used in Paws::EC2 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|