AWS SDK for C++AWS SDK for C++ Version 1.11.870 |
#include <RunInstancesRequest.h>
Definition at line 44 of file RunInstancesRequest.h.
The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
Definition at line 80 of file RunInstancesRequest.h.
The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 166 of file RunInstancesRequest.h.
Reserved.
Definition at line 900 of file RunInstancesRequest.h.
The license configurations.
Definition at line 597 of file RunInstancesRequest.h.
The network interfaces to associate with the instance.
Definition at line 930 of file RunInstancesRequest.h.
The secondary interfaces to associate with the instance.
Definition at line 784 of file RunInstancesRequest.h.
The IDs of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Definition at line 340 of file RunInstancesRequest.h.
[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
Definition at line 367 of file RunInstancesRequest.h.
The tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
Instances
Volumes
Spot Instance requests
Network interfaces
To tag a resource after it has been created, see CreateTags.
Definition at line 438 of file RunInstancesRequest.h.
The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
Definition at line 68 of file RunInstancesRequest.h.
Information about the 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, and tenancy).
Definition at line 542 of file RunInstancesRequest.h.
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring idempotency in Amazon EC2 API requests.
Constraints: Maximum 64 ASCII characters
Definition at line 882 of file RunInstancesRequest.h.
The CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
Definition at line 520 of file RunInstancesRequest.h.
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon EC2 User Guide.
Default: standard (T2 instances) or unlimited (T3/T3a/T4g instances)
For T3 instances with host tenancy, only standard is supported.
Definition at line 500 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances.
Definition at line 692 of file RunInstancesRequest.h.
Indicates whether termination protection is enabled for the instance. The default is false, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
Definition at line 819 of file RunInstancesRequest.h.
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Definition at line 799 of file RunInstancesRequest.h.
Reimplemented from Aws::AmazonWebServiceRequest.
Indicates 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.
Default: false
Definition at line 965 of file RunInstancesRequest.h.
If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if an instance relies on its IPv6 address not changing. When you launch the instance, Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
Definition at line 720 of file RunInstancesRequest.h.
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see Amazon Web Services Nitro Enclaves User Guide.
You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
Definition at line 633 of file RunInstancesRequest.h.
Reserved.
Definition at line 899 of file RunInstancesRequest.h.
The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
Definition at line 67 of file RunInstancesRequest.h.
Information about the 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, and tenancy).
Definition at line 541 of file RunInstancesRequest.h.
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring idempotency in Amazon EC2 API requests.
Constraints: Maximum 64 ASCII characters
Definition at line 881 of file RunInstancesRequest.h.
The CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
Definition at line 519 of file RunInstancesRequest.h.
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon EC2 User Guide.
Default: standard (T2 instances) or unlimited (T3/T3a/T4g instances)
For T3 instances with host tenancy, only standard is supported.
Definition at line 499 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances.
Definition at line 691 of file RunInstancesRequest.h.
Indicates whether termination protection is enabled for the instance. The default is false, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
Definition at line 818 of file RunInstancesRequest.h.
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Definition at line 798 of file RunInstancesRequest.h.
Indicates 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.
Default: false
Definition at line 964 of file RunInstancesRequest.h.
If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if an instance relies on its IPv6 address not changing. When you launch the instance, Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
Definition at line 719 of file RunInstancesRequest.h.
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see Amazon Web Services Nitro Enclaves User Guide.
You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
Definition at line 632 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
Definition at line 566 of file RunInstancesRequest.h.
The name or Amazon Resource Name (ARN) of an IAM instance profile.
Definition at line 941 of file RunInstancesRequest.h.
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
Definition at line 92 of file RunInstancesRequest.h.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
Definition at line 836 of file RunInstancesRequest.h.
The market (purchasing) option for the instances.
For RunInstances, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to either hibernate or stop.
Definition at line 472 of file RunInstancesRequest.h.
The instance type. For more information, see Amazon EC2 Instance Types Guide.
Definition at line 112 of file RunInstancesRequest.h.
The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 133 of file RunInstancesRequest.h.
The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 153 of file RunInstancesRequest.h.
The ID of the kernel.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 180 of file RunInstancesRequest.h.
The name of the key pair. For more information, see Create a key pair for your EC2 instance.
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.
Definition at line 202 of file RunInstancesRequest.h.
The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
Definition at line 451 of file RunInstancesRequest.h.
The license configurations.
Definition at line 584 of file RunInstancesRequest.h.
The maintenance and recovery options for the instance.
Definition at line 670 of file RunInstancesRequest.h.
The maximum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above the specified minimum count.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 226 of file RunInstancesRequest.h.
The metadata options for the instance. For more information, see Configure the Instance Metadata Service options.
Definition at line 610 of file RunInstancesRequest.h.
The minimum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does not launch any instances.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 248 of file RunInstancesRequest.h.
Specifies whether detailed monitoring is enabled for the instance.
Definition at line 264 of file RunInstancesRequest.h.
The network interfaces to associate with the instance.
Definition at line 917 of file RunInstancesRequest.h.
Contains settings for the network performance options for the instance.
Definition at line 735 of file RunInstancesRequest.h.
Reserved for internal use.
Definition at line 753 of file RunInstancesRequest.h.
The placement for the instance.
Definition at line 282 of file RunInstancesRequest.h.
The options for the instance hostname. The default values are inherited from the subnet. Applies only if creating a network interface, not attaching an existing one.
Definition at line 652 of file RunInstancesRequest.h.
The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 858 of file RunInstancesRequest.h.
The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, go to the Amazon Web Services Resource Center and search for the kernel ID.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 307 of file RunInstancesRequest.h.
The secondary interfaces to associate with the instance.
Definition at line 771 of file RunInstancesRequest.h.
The IDs of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Definition at line 327 of file RunInstancesRequest.h.
[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
Definition at line 354 of file RunInstancesRequest.h.
Implements Aws::AmazonWebServiceRequest.
Definition at line 52 of file RunInstancesRequest.h.
The ID of the subnet to launch the instance into.
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
Definition at line 380 of file RunInstancesRequest.h.
The tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
Instances
Volumes
Spot Instance requests
Network interfaces
To tag a resource after it has been created, see CreateTags.
Definition at line 425 of file RunInstancesRequest.h.
The user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see Run commands at launch using instance user data.
Definition at line 402 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
Definition at line 567 of file RunInstancesRequest.h.
The name or Amazon Resource Name (ARN) of an IAM instance profile.
Definition at line 942 of file RunInstancesRequest.h.
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
Definition at line 93 of file RunInstancesRequest.h.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
Definition at line 837 of file RunInstancesRequest.h.
The market (purchasing) option for the instances.
For RunInstances, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to either hibernate or stop.
Definition at line 473 of file RunInstancesRequest.h.
The instance type. For more information, see Amazon EC2 Instance Types Guide.
Definition at line 113 of file RunInstancesRequest.h.
The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 134 of file RunInstancesRequest.h.
The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 154 of file RunInstancesRequest.h.
The ID of the kernel.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 181 of file RunInstancesRequest.h.
The name of the key pair. For more information, see Create a key pair for your EC2 instance.
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.
Definition at line 203 of file RunInstancesRequest.h.
The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
Definition at line 452 of file RunInstancesRequest.h.
The license configurations.
Definition at line 585 of file RunInstancesRequest.h.
The maintenance and recovery options for the instance.
Definition at line 671 of file RunInstancesRequest.h.
The maximum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above the specified minimum count.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 227 of file RunInstancesRequest.h.
The metadata options for the instance. For more information, see Configure the Instance Metadata Service options.
Definition at line 611 of file RunInstancesRequest.h.
The minimum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does not launch any instances.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 249 of file RunInstancesRequest.h.
Specifies whether detailed monitoring is enabled for the instance.
Definition at line 265 of file RunInstancesRequest.h.
The network interfaces to associate with the instance.
Definition at line 918 of file RunInstancesRequest.h.
Contains settings for the network performance options for the instance.
Definition at line 736 of file RunInstancesRequest.h.
Reserved for internal use.
Definition at line 754 of file RunInstancesRequest.h.
The placement for the instance.
Definition at line 283 of file RunInstancesRequest.h.
The options for the instance hostname. The default values are inherited from the subnet. Applies only if creating a network interface, not attaching an existing one.
Definition at line 653 of file RunInstancesRequest.h.
The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 859 of file RunInstancesRequest.h.
The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, go to the Amazon Web Services Resource Center and search for the kernel ID.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 308 of file RunInstancesRequest.h.
The secondary interfaces to associate with the instance.
Definition at line 772 of file RunInstancesRequest.h.
The IDs of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Definition at line 328 of file RunInstancesRequest.h.
[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
Definition at line 355 of file RunInstancesRequest.h.
Implements Aws::AmazonSerializableWebServiceRequest.
Reserved.
Definition at line 902 of file RunInstancesRequest.h.
The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
Definition at line 70 of file RunInstancesRequest.h.
Information about the 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, and tenancy).
Definition at line 544 of file RunInstancesRequest.h.
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring idempotency in Amazon EC2 API requests.
Constraints: Maximum 64 ASCII characters
Definition at line 884 of file RunInstancesRequest.h.
The CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
Definition at line 522 of file RunInstancesRequest.h.
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon EC2 User Guide.
Default: standard (T2 instances) or unlimited (T3/T3a/T4g instances)
For T3 instances with host tenancy, only standard is supported.
Definition at line 502 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances.
Definition at line 693 of file RunInstancesRequest.h.
Indicates whether termination protection is enabled for the instance. The default is false, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
Definition at line 820 of file RunInstancesRequest.h.
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Definition at line 800 of file RunInstancesRequest.h.
Indicates 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.
Default: false
Definition at line 966 of file RunInstancesRequest.h.
If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if an instance relies on its IPv6 address not changing. When you launch the instance, Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
Definition at line 721 of file RunInstancesRequest.h.
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see Amazon Web Services Nitro Enclaves User Guide.
You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
Definition at line 635 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
Definition at line 569 of file RunInstancesRequest.h.
The name or Amazon Resource Name (ARN) of an IAM instance profile.
Definition at line 944 of file RunInstancesRequest.h.
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
Definition at line 95 of file RunInstancesRequest.h.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
Definition at line 838 of file RunInstancesRequest.h.
The market (purchasing) option for the instances.
For RunInstances, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to either hibernate or stop.
Definition at line 475 of file RunInstancesRequest.h.
The instance type. For more information, see Amazon EC2 Instance Types Guide.
Definition at line 114 of file RunInstancesRequest.h.
The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 135 of file RunInstancesRequest.h.
The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 156 of file RunInstancesRequest.h.
The ID of the kernel.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 183 of file RunInstancesRequest.h.
The name of the key pair. For more information, see Create a key pair for your EC2 instance.
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.
Definition at line 205 of file RunInstancesRequest.h.
The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
Definition at line 454 of file RunInstancesRequest.h.
The license configurations.
Definition at line 587 of file RunInstancesRequest.h.
The maintenance and recovery options for the instance.
Definition at line 673 of file RunInstancesRequest.h.
The maximum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above the specified minimum count.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 228 of file RunInstancesRequest.h.
The metadata options for the instance. For more information, see Configure the Instance Metadata Service options.
Definition at line 613 of file RunInstancesRequest.h.
The minimum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does not launch any instances.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 250 of file RunInstancesRequest.h.
Specifies whether detailed monitoring is enabled for the instance.
Definition at line 267 of file RunInstancesRequest.h.
The network interfaces to associate with the instance.
Definition at line 920 of file RunInstancesRequest.h.
Contains settings for the network performance options for the instance.
Definition at line 738 of file RunInstancesRequest.h.
Reserved for internal use.
Definition at line 756 of file RunInstancesRequest.h.
The placement for the instance.
Definition at line 285 of file RunInstancesRequest.h.
The options for the instance hostname. The default values are inherited from the subnet. Applies only if creating a network interface, not attaching an existing one.
Definition at line 655 of file RunInstancesRequest.h.
The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 861 of file RunInstancesRequest.h.
The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, go to the Amazon Web Services Resource Center and search for the kernel ID.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 310 of file RunInstancesRequest.h.
The secondary interfaces to associate with the instance.
Definition at line 774 of file RunInstancesRequest.h.
The IDs of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Definition at line 330 of file RunInstancesRequest.h.
[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
Definition at line 357 of file RunInstancesRequest.h.
The ID of the subnet to launch the instance into.
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
Definition at line 383 of file RunInstancesRequest.h.
The tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
Instances
Volumes
Spot Instance requests
Network interfaces
To tag a resource after it has been created, see CreateTags.
Definition at line 428 of file RunInstancesRequest.h.
The user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see Run commands at launch using instance user data.
Definition at line 405 of file RunInstancesRequest.h.
The ID of the subnet to launch the instance into.
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
Definition at line 381 of file RunInstancesRequest.h.
The tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
Instances
Volumes
Spot Instance requests
Network interfaces
To tag a resource after it has been created, see CreateTags.
Definition at line 426 of file RunInstancesRequest.h.
The user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see Run commands at launch using instance user data.
Definition at line 403 of file RunInstancesRequest.h.
Reserved.
Definition at line 907 of file RunInstancesRequest.h.
The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see Block device mappings in the Amazon EC2 User Guide.
Definition at line 75 of file RunInstancesRequest.h.
Information about the 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, and tenancy).
Definition at line 549 of file RunInstancesRequest.h.
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.
For more information, see Ensuring idempotency in Amazon EC2 API requests.
Constraints: Maximum 64 ASCII characters
Definition at line 889 of file RunInstancesRequest.h.
The CPU options for the instance. For more information, see Optimize CPU options in the Amazon EC2 User Guide.
Definition at line 527 of file RunInstancesRequest.h.
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon EC2 User Guide.
Default: standard (T2 instances) or unlimited (T3/T3a/T4g instances)
For T3 instances with host tenancy, only standard is supported.
Definition at line 507 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for stop protection. For more information, see Enable stop protection for your EC2 instances.
Definition at line 697 of file RunInstancesRequest.h.
Indicates whether termination protection is enabled for the instance. The default is false, which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
Definition at line 824 of file RunInstancesRequest.h.
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Definition at line 804 of file RunInstancesRequest.h.
Indicates 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.
Default: false
Definition at line 970 of file RunInstancesRequest.h.
If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if an instance relies on its IPv6 address not changing. When you launch the instance, Amazon Web Services will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
Definition at line 725 of file RunInstancesRequest.h.
Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more information, see Amazon Web Services Nitro Enclaves User Guide.
You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.
Definition at line 640 of file RunInstancesRequest.h.
Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
You can't enable hibernation and Amazon Web Services Nitro Enclaves on the same instance.
Definition at line 574 of file RunInstancesRequest.h.
The name or Amazon Resource Name (ARN) of an IAM instance profile.
Definition at line 949 of file RunInstancesRequest.h.
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
Definition at line 100 of file RunInstancesRequest.h.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
Definition at line 842 of file RunInstancesRequest.h.
The market (purchasing) option for the instances.
For RunInstances, persistent Spot Instance requests are only supported when InstanceInterruptionBehavior is set to either hibernate or stop.
Definition at line 480 of file RunInstancesRequest.h.
The instance type. For more information, see Amazon EC2 Instance Types Guide.
Definition at line 118 of file RunInstancesRequest.h.
The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 139 of file RunInstancesRequest.h.
The IPv6 addresses from the range of the subnet to associate with the primary network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 161 of file RunInstancesRequest.h.
The ID of the kernel.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 188 of file RunInstancesRequest.h.
The name of the key pair. For more information, see Create a key pair for your EC2 instance.
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.
Definition at line 210 of file RunInstancesRequest.h.
The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
Definition at line 459 of file RunInstancesRequest.h.
The license configurations.
Definition at line 592 of file RunInstancesRequest.h.
The maintenance and recovery options for the instance.
Definition at line 678 of file RunInstancesRequest.h.
The maximum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above the specified minimum count.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 232 of file RunInstancesRequest.h.
The metadata options for the instance. For more information, see Configure the Instance Metadata Service options.
Definition at line 618 of file RunInstancesRequest.h.
The minimum number of instances to launch. If you specify a value that is more capacity than Amazon EC2 can provide in the target Availability Zone, Amazon EC2 does not launch any instances.
Constraints: Between 1 and the quota for the specified instance type for your account for this Region. For more information, see Amazon EC2 instance type quotas.
Definition at line 254 of file RunInstancesRequest.h.
Specifies whether detailed monitoring is enabled for the instance.
Definition at line 272 of file RunInstancesRequest.h.
The network interfaces to associate with the instance.
Definition at line 925 of file RunInstancesRequest.h.
Contains settings for the network performance options for the instance.
Definition at line 743 of file RunInstancesRequest.h.
Reserved for internal use.
Definition at line 761 of file RunInstancesRequest.h.
The placement for the instance.
Definition at line 290 of file RunInstancesRequest.h.
The options for the instance hostname. The default values are inherited from the subnet. Applies only if creating a network interface, not attaching an existing one.
Definition at line 660 of file RunInstancesRequest.h.
The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request.
You cannot specify this option and the network interfaces option in the same request.
Definition at line 866 of file RunInstancesRequest.h.
The ID of the RAM disk to select. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, go to the Amazon Web Services Resource Center and search for the kernel ID.
We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see PV-GRUB in the Amazon EC2 User Guide.
Definition at line 315 of file RunInstancesRequest.h.
The secondary interfaces to associate with the instance.
Definition at line 779 of file RunInstancesRequest.h.
The IDs of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Definition at line 335 of file RunInstancesRequest.h.
[Default VPC] The names of the security groups.
If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
Default: Amazon EC2 uses the default security group.
Definition at line 362 of file RunInstancesRequest.h.
The ID of the subnet to launch the instance into.
If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter.
Definition at line 388 of file RunInstancesRequest.h.
The tags to apply to the resources that are created during instance launch.
You can specify tags for the following resources only:
Instances
Volumes
Spot Instance requests
Network interfaces
To tag a resource after it has been created, see CreateTags.
Definition at line 433 of file RunInstancesRequest.h.
The user data to make available to the instance. User data must be base64-encoded. Depending on the tool or SDK that you're using, the base64-encoding might be performed for you. For more information, see Run commands at launch using instance user data.
Definition at line 410 of file RunInstancesRequest.h.