We recommend new projects start with resources from the AWS provider.
aws-native.ec2.LaunchTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Specifies the properties for creating a launch template. The minimum required properties for specifying a launch template are as follows:
- You must specify at least one property for the launch template data.
- You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you.
A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ImageId property, which has no default value. If you do not specify an AMI ID for the launch template ImageId property, you must specify an AMI ID for the instance ImageId property.
For more information, see Launch an instance from a launch template in the Amazon EC2 User Guide.
Create LaunchTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LaunchTemplate(name: string, args: LaunchTemplateArgs, opts?: CustomResourceOptions);@overload
def LaunchTemplate(resource_name: str,
                   args: LaunchTemplateArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def LaunchTemplate(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   launch_template_data: Optional[LaunchTemplateDataArgs] = None,
                   launch_template_name: Optional[str] = None,
                   tag_specifications: Optional[Sequence[LaunchTemplateTagSpecificationArgs]] = None,
                   version_description: Optional[str] = None)func NewLaunchTemplate(ctx *Context, name string, args LaunchTemplateArgs, opts ...ResourceOption) (*LaunchTemplate, error)public LaunchTemplate(string name, LaunchTemplateArgs args, CustomResourceOptions? opts = null)
public LaunchTemplate(String name, LaunchTemplateArgs args)
public LaunchTemplate(String name, LaunchTemplateArgs args, CustomResourceOptions options)
type: aws-native:ec2:LaunchTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LaunchTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LaunchTemplate resource accepts the following input properties:
- LaunchTemplate Pulumi.Data Aws Native. Ec2. Inputs. Launch Template Data 
- The information for the launch template.
- LaunchTemplate stringName 
- A name for the launch template.
- 
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Tag Specification> 
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- VersionDescription string
- A description for the first version of the launch template.
- LaunchTemplate LaunchData Template Data Args 
- The information for the launch template.
- LaunchTemplate stringName 
- A name for the launch template.
- 
[]LaunchTemplate Tag Specification Args 
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- VersionDescription string
- A description for the first version of the launch template.
- launchTemplate LaunchData Template Data 
- The information for the launch template.
- launchTemplate StringName 
- A name for the launch template.
- 
List<LaunchTemplate Tag Specification> 
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- versionDescription String
- A description for the first version of the launch template.
- launchTemplate LaunchData Template Data 
- The information for the launch template.
- launchTemplate stringName 
- A name for the launch template.
- 
LaunchTemplate Tag Specification[] 
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- versionDescription string
- A description for the first version of the launch template.
- launch_template_ Launchdata Template Data Args 
- The information for the launch template.
- launch_template_ strname 
- A name for the launch template.
- tag_specifications Sequence[LaunchTemplate Tag Specification Args] 
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- version_description str
- A description for the first version of the launch template.
- launchTemplate Property MapData 
- The information for the launch template.
- launchTemplate StringName 
- A name for the launch template.
- List<Property Map>
- The tags to apply to the launch template on creation. To tag the launch template, the resource type must be launch-template. To specify the tags for resources that are created during instance launch, use TagSpecifications.
- versionDescription String
- A description for the first version of the launch template.
Outputs
All input properties are implicitly available as output properties. Additionally, the LaunchTemplate resource produces the following output properties:
- DefaultVersion stringNumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestVersion stringNumber 
- The latest version of the launch template, such as 5.
- LaunchTemplate stringId 
- The ID of the launch template.
- DefaultVersion stringNumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestVersion stringNumber 
- The latest version of the launch template, such as 5.
- LaunchTemplate stringId 
- The ID of the launch template.
- defaultVersion StringNumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- id String
- The provider-assigned unique ID for this managed resource.
- latestVersion StringNumber 
- The latest version of the launch template, such as 5.
- launchTemplate StringId 
- The ID of the launch template.
- defaultVersion stringNumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- id string
- The provider-assigned unique ID for this managed resource.
- latestVersion stringNumber 
- The latest version of the launch template, such as 5.
- launchTemplate stringId 
- The ID of the launch template.
- default_version_ strnumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_version_ strnumber 
- The latest version of the launch template, such as 5.
- launch_template_ strid 
- The ID of the launch template.
- defaultVersion StringNumber 
- The default version of the launch template, such as 2. - The default version of a launch template cannot be specified in AWS CloudFormation . The default version can be set in the Amazon EC2 console or by using the - modify-launch-templateAWS CLI command.
- id String
- The provider-assigned unique ID for this managed resource.
- latestVersion StringNumber 
- The latest version of the launch template, such as 5.
- launchTemplate StringId 
- The ID of the launch template.
Supporting Types
LaunchTemplateAcceleratorCount, LaunchTemplateAcceleratorCountArgs        
LaunchTemplateAcceleratorTotalMemoryMiB, LaunchTemplateAcceleratorTotalMemoryMiBArgs              
LaunchTemplateBaselineEbsBandwidthMbps, LaunchTemplateBaselineEbsBandwidthMbpsArgs            
LaunchTemplateBaselinePerformanceFactors, LaunchTemplateBaselinePerformanceFactorsArgs          
- Cpu
Pulumi.Aws Native. Ec2. Inputs. Launch Template Cpu 
- The CPU performance to consider, using an instance family as the baseline reference.
- Cpu
LaunchTemplate Cpu 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
LaunchTemplate Cpu 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
LaunchTemplate Cpu 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu
LaunchTemplate Cpu 
- The CPU performance to consider, using an instance family as the baseline reference.
- cpu Property Map
- The CPU performance to consider, using an instance family as the baseline reference.
LaunchTemplateBlockDeviceMapping, LaunchTemplateBlockDeviceMappingArgs          
- DeviceName string
- The device name (for example, /dev/sdh or xvdh).
- Ebs
Pulumi.Aws Native. Ec2. Inputs. Launch Template Ebs 
- Parameters used to automatically set up EBS volumes when the instance is launched.
- NoDevice string
- To omit the device from the block device mapping, specify an empty string.
- VirtualName string
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
- DeviceName string
- The device name (for example, /dev/sdh or xvdh).
- Ebs
LaunchTemplate Ebs 
- Parameters used to automatically set up EBS volumes when the instance is launched.
- NoDevice string
- To omit the device from the block device mapping, specify an empty string.
- VirtualName string
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
- deviceName String
- The device name (for example, /dev/sdh or xvdh).
- ebs
LaunchTemplate Ebs 
- Parameters used to automatically set up EBS volumes when the instance is launched.
- noDevice String
- To omit the device from the block device mapping, specify an empty string.
- virtualName String
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
- deviceName string
- The device name (for example, /dev/sdh or xvdh).
- ebs
LaunchTemplate Ebs 
- Parameters used to automatically set up EBS volumes when the instance is launched.
- noDevice string
- To omit the device from the block device mapping, specify an empty string.
- virtualName string
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
- device_name str
- The device name (for example, /dev/sdh or xvdh).
- ebs
LaunchTemplate Ebs 
- Parameters used to automatically set up EBS volumes when the instance is launched.
- no_device str
- To omit the device from the block device mapping, specify an empty string.
- virtual_name str
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
- deviceName String
- The device name (for example, /dev/sdh or xvdh).
- ebs Property Map
- Parameters used to automatically set up EBS volumes when the instance is launched.
- noDevice String
- To omit the device from the block device mapping, specify an empty string.
- virtualName String
- The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.
LaunchTemplateCapacityReservationSpecification, LaunchTemplateCapacityReservationSpecificationArgs          
- CapacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- CapacityReservation Pulumi.Target Aws Native. Ec2. Inputs. Launch Template Capacity Reservation Target 
- Information about the target Capacity Reservation or Capacity Reservation group.
- CapacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- CapacityReservation LaunchTarget Template Capacity Reservation Target 
- Information about the target Capacity Reservation or Capacity Reservation group.
- capacityReservation StringPreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- capacityReservation LaunchTarget Template Capacity Reservation Target 
- Information about the target Capacity Reservation or Capacity Reservation group.
- capacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- capacityReservation LaunchTarget Template Capacity Reservation Target 
- Information about the target Capacity Reservation or Capacity Reservation group.
- capacity_reservation_ strpreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- capacity_reservation_ Launchtarget Template Capacity Reservation Target 
- Information about the target Capacity Reservation or Capacity Reservation group.
- capacityReservation StringPreference 
- Indicates the instance's Capacity Reservation preferences. Possible preferences include:- capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.
- open- The instance can run in any- openCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, tenancy).
- none- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
 
- capacityReservation Property MapTarget 
- Information about the target Capacity Reservation or Capacity Reservation group.
LaunchTemplateCapacityReservationTarget, LaunchTemplateCapacityReservationTargetArgs          
- CapacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- CapacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- CapacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- CapacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation StringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation StringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacity_reservation_ strid 
- The ID of the Capacity Reservation in which to run the instance.
- capacity_reservation_ strresource_ group_ arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation StringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation StringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
LaunchTemplateConnectionTrackingSpecification, LaunchTemplateConnectionTrackingSpecificationArgs          
- TcpEstablished intTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- UdpStream intTimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- UdpTimeout int
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- TcpEstablished intTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- UdpStream intTimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- UdpTimeout int
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- tcpEstablished IntegerTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream IntegerTimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- udpTimeout Integer
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- tcpEstablished numberTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream numberTimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- udpTimeout number
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- tcp_established_ inttimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udp_stream_ inttimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- udp_timeout int
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- tcpEstablished NumberTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream NumberTimeout 
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- udpTimeout Number
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
LaunchTemplateCpu, LaunchTemplateCpuArgs      
- References
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Reference> 
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
- References
[]LaunchTemplate Reference 
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
- references
List<LaunchTemplate Reference> 
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
- references
LaunchTemplate Reference[] 
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
- references
Sequence[LaunchTemplate Reference] 
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
- references List<Property Map>
- The instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
LaunchTemplateCpuOptions, LaunchTemplateCpuOptionsArgs        
- AmdSev Pulumi.Snp Aws Native. Ec2. Launch Template Cpu Options Amd Sev Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- CoreCount int
- The number of CPU cores for the instance.
- ThreadsPer intCore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
- AmdSev LaunchSnp Template Cpu Options Amd Sev Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- CoreCount int
- The number of CPU cores for the instance.
- ThreadsPer intCore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
- amdSev LaunchSnp Template Cpu Options Amd Sev Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- coreCount Integer
- The number of CPU cores for the instance.
- threadsPer IntegerCore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
- amdSev LaunchSnp Template Cpu Options Amd Sev Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- coreCount number
- The number of CPU cores for the instance.
- threadsPer numberCore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
- amd_sev_ Launchsnp Template Cpu Options Amd Sev Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- core_count int
- The number of CPU cores for the instance.
- threads_per_ intcore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
- amdSev "enabled" | "disabled"Snp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances.
- coreCount Number
- The number of CPU cores for the instance.
- threadsPer NumberCore 
- The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of2.
LaunchTemplateCpuOptionsAmdSevSnp, LaunchTemplateCpuOptionsAmdSevSnpArgs              
- Enabled
- enabled
- Disabled
- disabled
- LaunchTemplate Cpu Options Amd Sev Snp Enabled 
- enabled
- LaunchTemplate Cpu Options Amd Sev Snp Disabled 
- disabled
- Enabled
- enabled
- Disabled
- disabled
- Enabled
- enabled
- Disabled
- disabled
- ENABLED
- enabled
- DISABLED
- disabled
- "enabled"
- enabled
- "disabled"
- disabled
LaunchTemplateCreditSpecification, LaunchTemplateCreditSpecificationArgs        
- CpuCredits string
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
- CpuCredits string
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
- cpuCredits String
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
- cpuCredits string
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
- cpu_credits str
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
- cpuCredits String
- The credit option for CPU usage of a T instance.
Valid values: standard|unlimited
LaunchTemplateData, LaunchTemplateDataArgs      
- BlockDevice List<Pulumi.Mappings Aws Native. Ec2. Inputs. Launch Template Block Device Mapping> 
- The block device mapping.
- CapacityReservation Pulumi.Specification Aws Native. Ec2. Inputs. Launch Template Capacity Reservation Specification 
- 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).
- CpuOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Cpu Options 
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- CreditSpecification Pulumi.Aws Native. Ec2. Inputs. Launch Template Credit Specification 
- The credit option for CPU usage of the instance. Valid only for T instances.
- DisableApi boolStop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- DisableApi boolTermination 
- 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.
- EbsOptimized bool
- 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.
- ElasticGpu List<Pulumi.Specifications Aws Native. Ec2. Inputs. Launch Template Elastic Gpu Specification> 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- ElasticInference List<Pulumi.Accelerators Aws Native. Ec2. Inputs. Launch Template Elastic Inference Accelerator> 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- EnclaveOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Enclave Options 
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- HibernationOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Hibernation Options 
- 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.
- IamInstance Pulumi.Profile Aws Native. Ec2. Inputs. Launch Template Iam Instance Profile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- ImageId string
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- InstanceInitiated stringShutdown Behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- InstanceMarket Pulumi.Options Aws Native. Ec2. Inputs. Launch Template Instance Market Options 
- The market (purchasing) option for the instances.
- InstanceRequirements Pulumi.Aws Native. Ec2. Inputs. Launch Template Instance Requirements 
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- InstanceType string
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- KernelId string
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- KeyName string
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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 List<Pulumi.Aws Native. Ec2. Inputs. Launch Template License Specification> 
- The license configurations.
- MaintenanceOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Maintenance Options 
- The maintenance options of your instance.
- MetadataOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Metadata Options 
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- Monitoring
Pulumi.Aws Native. Ec2. Inputs. Launch Template Monitoring 
- The monitoring for the instance.
- NetworkInterfaces List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Network Interface> 
- The network interfaces for the instance.
- NetworkPerformance Pulumi.Options Aws Native. Ec2. Inputs. Launch Template Network Performance Options 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- Placement
Pulumi.Aws Native. Ec2. Inputs. Launch Template Placement 
- The placement for the instance.
- PrivateDns Pulumi.Name Options Aws Native. Ec2. Inputs. Launch Template Private Dns Name Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- RamDisk stringId 
- The 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 in the Amazon EC2 User Guide.
- SecurityGroup List<string>Ids 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- SecurityGroups List<string>
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- 
List<Pulumi.Aws Native. Ec2. Inputs. Tag Specification> 
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- UserData string
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
- BlockDevice []LaunchMappings Template Block Device Mapping 
- The block device mapping.
- CapacityReservation LaunchSpecification Template Capacity Reservation Specification 
- 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).
- CpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- CreditSpecification LaunchTemplate Credit Specification 
- The credit option for CPU usage of the instance. Valid only for T instances.
- DisableApi boolStop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- DisableApi boolTermination 
- 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.
- EbsOptimized bool
- 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.
- ElasticGpu []LaunchSpecifications Template Elastic Gpu Specification 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- ElasticInference []LaunchAccelerators Template Elastic Inference Accelerator 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- EnclaveOptions LaunchTemplate Enclave Options 
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- HibernationOptions LaunchTemplate Hibernation Options 
- 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.
- IamInstance LaunchProfile Template Iam Instance Profile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- ImageId string
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- InstanceInitiated stringShutdown Behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- InstanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instances.
- InstanceRequirements LaunchTemplate Instance Requirements 
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- InstanceType string
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- KernelId string
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- KeyName string
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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 []LaunchTemplate License Specification 
- The license configurations.
- MaintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options of your instance.
- MetadataOptions LaunchTemplate Metadata Options 
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- Monitoring
LaunchTemplate Monitoring 
- The monitoring for the instance.
- NetworkInterfaces []LaunchTemplate Network Interface 
- The network interfaces for the instance.
- NetworkPerformance LaunchOptions Template Network Performance Options 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- Placement
LaunchTemplate Placement 
- The placement for the instance.
- PrivateDns LaunchName Options Template Private Dns Name Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- RamDisk stringId 
- The 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 in the Amazon EC2 User Guide.
- SecurityGroup []stringIds 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- SecurityGroups []string
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- 
[]TagSpecification 
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- UserData string
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
- blockDevice List<LaunchMappings Template Block Device Mapping> 
- The block device mapping.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- 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).
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- creditSpecification LaunchTemplate Credit Specification 
- The credit option for CPU usage of the instance. Valid only for T instances.
- disableApi BooleanStop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- disableApi BooleanTermination 
- 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.
- ebsOptimized Boolean
- 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.
- elasticGpu List<LaunchSpecifications Template Elastic Gpu Specification> 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- elasticInference List<LaunchAccelerators Template Elastic Inference Accelerator> 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- enclaveOptions LaunchTemplate Enclave Options 
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- hibernationOptions LaunchTemplate Hibernation Options 
- 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.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- imageId String
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- instanceInitiated StringShutdown Behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instances.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- instanceType String
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- kernelId String
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- keyName String
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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 List<LaunchTemplate License Specification> 
- The license configurations.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options of your instance.
- metadataOptions LaunchTemplate Metadata Options 
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- monitoring
LaunchTemplate Monitoring 
- The monitoring for the instance.
- networkInterfaces List<LaunchTemplate Network Interface> 
- The network interfaces for the instance.
- networkPerformance LaunchOptions Template Network Performance Options 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- placement
LaunchTemplate Placement 
- The placement for the instance.
- privateDns LaunchName Options Template Private Dns Name Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- ramDisk StringId 
- The 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 in the Amazon EC2 User Guide.
- securityGroup List<String>Ids 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- securityGroups List<String>
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- 
List<TagSpecification> 
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- userData String
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
- blockDevice LaunchMappings Template Block Device Mapping[] 
- The block device mapping.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- 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).
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- creditSpecification LaunchTemplate Credit Specification 
- The credit option for CPU usage of the instance. Valid only for T instances.
- disableApi booleanStop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- disableApi booleanTermination 
- 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.
- ebsOptimized boolean
- 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.
- elasticGpu LaunchSpecifications Template Elastic Gpu Specification[] 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- elasticInference LaunchAccelerators Template Elastic Inference Accelerator[] 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- enclaveOptions LaunchTemplate Enclave Options 
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- hibernationOptions LaunchTemplate Hibernation Options 
- 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.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- imageId string
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- instanceInitiated stringShutdown Behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instances.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- instanceType string
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- kernelId string
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- keyName string
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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 LaunchTemplate License Specification[] 
- The license configurations.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options of your instance.
- metadataOptions LaunchTemplate Metadata Options 
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- monitoring
LaunchTemplate Monitoring 
- The monitoring for the instance.
- networkInterfaces LaunchTemplate Network Interface[] 
- The network interfaces for the instance.
- networkPerformance LaunchOptions Template Network Performance Options 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- placement
LaunchTemplate Placement 
- The placement for the instance.
- privateDns LaunchName Options Template Private Dns Name Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- ramDisk stringId 
- The 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 in the Amazon EC2 User Guide.
- securityGroup string[]Ids 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- securityGroups string[]
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- 
TagSpecification[] 
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- userData string
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
- block_device_ Sequence[Launchmappings Template Block Device Mapping] 
- The block device mapping.
- capacity_reservation_ Launchspecification Template Capacity Reservation Specification 
- 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).
- cpu_options LaunchTemplate Cpu Options 
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- credit_specification LaunchTemplate Credit Specification 
- The credit option for CPU usage of the instance. Valid only for T instances.
- disable_api_ boolstop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- disable_api_ booltermination 
- 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.
- ebs_optimized bool
- 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.
- elastic_gpu_ Sequence[Launchspecifications Template Elastic Gpu Specification] 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- elastic_inference_ Sequence[Launchaccelerators Template Elastic Inference Accelerator] 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- enclave_options LaunchTemplate Enclave Options 
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- hibernation_options LaunchTemplate Hibernation Options 
- 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.
- iam_instance_ Launchprofile Template Iam Instance Profile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- image_id str
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- instance_initiated_ strshutdown_ behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- instance_market_ Launchoptions Template Instance Market Options 
- The market (purchasing) option for the instances.
- instance_requirements LaunchTemplate Instance Requirements 
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- instance_type str
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- kernel_id str
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- key_name str
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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.
- license_specifications Sequence[LaunchTemplate License Specification] 
- The license configurations.
- maintenance_options LaunchTemplate Maintenance Options 
- The maintenance options of your instance.
- metadata_options LaunchTemplate Metadata Options 
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- monitoring
LaunchTemplate Monitoring 
- The monitoring for the instance.
- network_interfaces Sequence[LaunchTemplate Network Interface] 
- The network interfaces for the instance.
- network_performance_ Launchoptions Template Network Performance Options 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- placement
LaunchTemplate Placement 
- The placement for the instance.
- private_dns_ Launchname_ options Template Private Dns Name Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- ram_disk_ strid 
- The 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 in the Amazon EC2 User Guide.
- security_group_ Sequence[str]ids 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- security_groups Sequence[str]
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- tag_specifications Sequence[TagSpecification] 
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- user_data str
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
- blockDevice List<Property Map>Mappings 
- The block device mapping.
- capacityReservation Property MapSpecification 
- 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).
- cpuOptions Property Map
- The CPU options for the instance. For more information, see CPU options for Amazon EC2 instances in the Amazon EC2 User Guide.
- creditSpecification Property Map
- The credit option for CPU usage of the instance. Valid only for T instances.
- disableApi BooleanStop 
- Indicates whether to enable the instance for stop protection. For more information, see Enable stop protection for your EC2 instances in the Amazon EC2 User Guide.
- disableApi BooleanTermination 
- 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.
- ebsOptimized Boolean
- 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.
- elasticGpu List<Property Map>Specifications 
- Deprecated. Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances.
- elasticInference List<Property Map>Accelerators 
- Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request. Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
- enclaveOptions Property Map
- Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see What is Nitro Enclaves? in the Nitro Enclaves User Guide. You can't enable AWS Nitro Enclaves and hibernation on the same instance.
- hibernationOptions Property Map
- 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.
- iamInstance Property MapProfile 
- The name or Amazon Resource Name (ARN) of an IAM instance profile.
- imageId String
- The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. Valid formats: - ami-0ac394d6a3example
- resolve:ssm:parameter-name
- resolve:ssm:parameter-name:version-number
- resolve:ssm:parameter-name:label
 - For more information, see Use a Systems Manager parameter to find an AMI in the Amazon Elastic Compute Cloud User Guide. 
- instanceInitiated StringShutdown Behavior 
- Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Default: stop
- instanceMarket Property MapOptions 
- The market (purchasing) option for the instances.
- instanceRequirements Property Map
- The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. You must specify - VCpuCountand- MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default. When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:- AllowedInstanceTypes- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
- ExcludedInstanceTypes- The instance types to exclude from the list, even if they match your specified attributes.
 - If you specify - InstanceRequirements, you can't specify- InstanceType. Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard, or with the RunInstances API or AWS::EC2::Instance AWS CloudFormation resource, you can't specify- InstanceRequirements. For more information, see Specify attributes for instance type selection for EC2 Fleet or Spot Fleet and Spot placement score in the Amazon EC2 User Guide.
- instanceType String
- The instance type. For more information, see Amazon EC2 instance types in the Amazon EC2 User Guide.
If you specify InstanceType, you can't specifyInstanceRequirements.
- kernelId String
- The ID of the kernel. We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User Provided Kernels in the Amazon EC2 User Guide.
- keyName String
- The name of the key pair. You can create a key pair using CreateKeyPair or ImportKeyPair. 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 List<Property Map>
- The license configurations.
- maintenanceOptions Property Map
- The maintenance options of your instance.
- metadataOptions Property Map
- The metadata options for the instance. For more information, see Configure the Instance Metadata Service options in the Amazon EC2 User Guide.
- monitoring Property Map
- The monitoring for the instance.
- networkInterfaces List<Property Map>
- The network interfaces for the instance.
- networkPerformance Property MapOptions 
- The settings for the network performance options for the instance. For more information, see EC2 instance bandwidth weighting configuration.
- placement Property Map
- The placement for the instance.
- privateDns Property MapName Options 
- The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide.
- ramDisk StringId 
- The 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 in the Amazon EC2 User Guide.
- securityGroup List<String>Ids 
- The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. If you specify a network interface, you must specify any security groups as part of the network interface instead.
- securityGroups List<String>
- The names of the security groups. For a nondefault VPC, you must use security group IDs instead. If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter.
- List<Property Map>
- The tags to apply to resources that are created during instance launch. To tag the launch template itself, use TagSpecifications.
- userData String
- The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see Run commands when you launch an EC2 instance with user data input in the Amazon EC2 User Guide. If you are creating the launch template for use with BATCH, the user data must be provided in the MIME multi-part archive format. For more information, see Amazon EC2 user data in launch templates in the User Guide.
LaunchTemplateEbs, LaunchTemplateEbsArgs      
- DeleteOn boolTermination 
- Indicates whether the EBS volume is deleted on instance termination.
- Encrypted bool
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- Iops int
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- KmsKey stringId 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- SnapshotId string
- The ID of the snapshot.
- Throughput int
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- VolumeSize int
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- VolumeType string
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
- DeleteOn boolTermination 
- Indicates whether the EBS volume is deleted on instance termination.
- Encrypted bool
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- Iops int
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- KmsKey stringId 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- SnapshotId string
- The ID of the snapshot.
- Throughput int
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- VolumeSize int
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- VolumeType string
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
- deleteOn BooleanTermination 
- Indicates whether the EBS volume is deleted on instance termination.
- encrypted Boolean
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- iops Integer
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- kmsKey StringId 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- snapshotId String
- The ID of the snapshot.
- throughput Integer
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- volumeSize Integer
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- volumeType String
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
- deleteOn booleanTermination 
- Indicates whether the EBS volume is deleted on instance termination.
- encrypted boolean
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- iops number
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- kmsKey stringId 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- snapshotId string
- The ID of the snapshot.
- throughput number
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- volumeSize number
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- volumeType string
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
- delete_on_ booltermination 
- Indicates whether the EBS volume is deleted on instance termination.
- encrypted bool
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- iops int
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- kms_key_ strid 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- snapshot_id str
- The ID of the snapshot.
- throughput int
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- volume_size int
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- volume_type str
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
- deleteOn BooleanTermination 
- Indicates whether the EBS volume is deleted on instance termination.
- encrypted Boolean
- Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value.
- iops Number
- The number of I/O operations per second (IOPS). For - gp3,- io1, and- io2volumes, this represents the number of IOPS that are provisioned for the volume. For- gp2volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type:- gp3: 3,000 - 16,000 IOPS
- io1: 100 - 64,000 IOPS
- io2: 100 - 256,000 IOPS
 - For - io2volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System. On other instances, you can achieve performance up to 32,000 IOPS. This parameter is supported for- io1,- io2, and- gp3volumes only.
- kmsKey StringId 
- Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.
- snapshotId String
- The ID of the snapshot.
- throughput Number
- The throughput to provision for a gp3volume, with a maximum of 1,000 MiB/s. Valid Range: Minimum value of 125. Maximum value of 1000.
- volumeSize Number
- The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type:- gp2and- gp3: 1 - 16,384 GiB
- io1: 4 - 16,384 GiB
- io2: 4 - 65,536 GiB
- st1and- sc1: 125 - 16,384 GiB
- standard: 1 - 1024 GiB
 
- volumeType String
- The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.
LaunchTemplateElasticGpuSpecification, LaunchTemplateElasticGpuSpecificationArgs          
- Type string
- The type of Elastic Graphics accelerator.
- Type string
- The type of Elastic Graphics accelerator.
- type String
- The type of Elastic Graphics accelerator.
- type string
- The type of Elastic Graphics accelerator.
- type str
- The type of Elastic Graphics accelerator.
- type String
- The type of Elastic Graphics accelerator.
LaunchTemplateElasticInferenceAccelerator, LaunchTemplateElasticInferenceAcceleratorArgs          
LaunchTemplateEnaSrdSpecification, LaunchTemplateEnaSrdSpecificationArgs          
- EnaSrd boolEnabled 
- Indicates whether ENA Express is enabled for the network interface.
- EnaSrd Pulumi.Udp Specification Aws Native. Ec2. Inputs. Launch Template Ena Srd Udp Specification 
- Configures ENA Express for UDP network traffic.
- EnaSrd boolEnabled 
- Indicates whether ENA Express is enabled for the network interface.
- EnaSrd LaunchUdp Specification Template Ena Srd Udp Specification 
- Configures ENA Express for UDP network traffic.
- enaSrd BooleanEnabled 
- Indicates whether ENA Express is enabled for the network interface.
- enaSrd LaunchUdp Specification Template Ena Srd Udp Specification 
- Configures ENA Express for UDP network traffic.
- enaSrd booleanEnabled 
- Indicates whether ENA Express is enabled for the network interface.
- enaSrd LaunchUdp Specification Template Ena Srd Udp Specification 
- Configures ENA Express for UDP network traffic.
- ena_srd_ boolenabled 
- Indicates whether ENA Express is enabled for the network interface.
- ena_srd_ Launchudp_ specification Template Ena Srd Udp Specification 
- Configures ENA Express for UDP network traffic.
- enaSrd BooleanEnabled 
- Indicates whether ENA Express is enabled for the network interface.
- enaSrd Property MapUdp Specification 
- Configures ENA Express for UDP network traffic.
LaunchTemplateEnaSrdUdpSpecification, LaunchTemplateEnaSrdUdpSpecificationArgs            
- EnaSrd boolUdp Enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
- EnaSrd boolUdp Enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
- enaSrd BooleanUdp Enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
- enaSrd booleanUdp Enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
- ena_srd_ booludp_ enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
- enaSrd BooleanUdp Enabled 
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
LaunchTemplateEnclaveOptions, LaunchTemplateEnclaveOptionsArgs        
- Enabled bool
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
- Enabled bool
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
- enabled Boolean
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
- enabled boolean
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
- enabled bool
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
- enabled Boolean
- If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
LaunchTemplateHibernationOptions, LaunchTemplateHibernationOptionsArgs        
- Configured bool
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
- Configured bool
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
- configured Boolean
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
- configured boolean
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
- configured bool
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
- configured Boolean
- If you set this parameter to true, the instance is enabled for hibernation. Default:false
LaunchTemplateIamInstanceProfile, LaunchTemplateIamInstanceProfileArgs          
LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMarketOptionsArgs          
- MarketType string
- The market type.
- SpotOptions Pulumi.Aws Native. Ec2. Inputs. Launch Template Spot Options 
- The options for Spot Instances.
- MarketType string
- The market type.
- SpotOptions LaunchTemplate Spot Options 
- The options for Spot Instances.
- marketType String
- The market type.
- spotOptions LaunchTemplate Spot Options 
- The options for Spot Instances.
- marketType string
- The market type.
- spotOptions LaunchTemplate Spot Options 
- The options for Spot Instances.
- market_type str
- The market type.
- spot_options LaunchTemplate Spot Options 
- The options for Spot Instances.
- marketType String
- The market type.
- spotOptions Property Map
- The options for Spot Instances.
LaunchTemplateInstanceRequirements, LaunchTemplateInstanceRequirementsArgs        
- AcceleratorCount Pulumi.Aws Native. Ec2. Inputs. Launch Template Accelerator Count 
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- AcceleratorManufacturers List<string>
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- AcceleratorNames List<string>
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- AcceleratorTotal Pulumi.Memory Mi B Aws Native. Ec2. Inputs. Launch Template Accelerator Total Memory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- AcceleratorTypes List<string>
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- AllowedInstance List<string>Types 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- BareMetal string
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- BaselineEbs Pulumi.Bandwidth Mbps Aws Native. Ec2. Inputs. Launch Template Baseline Ebs Bandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- BaselinePerformance Pulumi.Factors Aws Native. Ec2. Inputs. Launch Template Baseline Performance Factors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- BurstablePerformance string
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- CpuManufacturers List<string>
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- ExcludedInstance List<string>Types 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- InstanceGenerations List<string>
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- LocalStorage string
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- LocalStorage List<string>Types 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- MaxSpot intPrice As Percentage Of Optimal On Demand Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- MemoryGi Pulumi.BPer VCpu Aws Native. Ec2. Inputs. Launch Template Memory Gi BPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- MemoryMi Pulumi.B Aws Native. Ec2. Inputs. Launch Template Memory Mi B 
- The minimum and maximum amount of memory, in MiB.
- NetworkBandwidth Pulumi.Gbps Aws Native. Ec2. Inputs. Launch Template Network Bandwidth Gbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- NetworkInterface Pulumi.Count Aws Native. Ec2. Inputs. Launch Template Network Interface Count 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- OnDemand intMax Price Percentage Over Lowest Price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- RequireHibernate boolSupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- SpotMax intPrice Percentage Over Lowest Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- TotalLocal Pulumi.Storage Gb Aws Native. Ec2. Inputs. Launch Template Total Local Storage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- VCpuCount Pulumi.Aws Native. Ec2. Inputs. Launch Template VCpu Count 
- The minimum and maximum number of vCPUs.
- AcceleratorCount LaunchTemplate Accelerator Count 
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- AcceleratorManufacturers []string
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- AcceleratorNames []string
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- AcceleratorTotal LaunchMemory Mi B Template Accelerator Total Memory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- AcceleratorTypes []string
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- AllowedInstance []stringTypes 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- BareMetal string
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- BaselineEbs LaunchBandwidth Mbps Template Baseline Ebs Bandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- BaselinePerformance LaunchFactors Template Baseline Performance Factors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- BurstablePerformance string
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- CpuManufacturers []string
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- ExcludedInstance []stringTypes 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- InstanceGenerations []string
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- LocalStorage string
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- LocalStorage []stringTypes 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- MaxSpot intPrice As Percentage Of Optimal On Demand Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- MemoryGi LaunchBPer VCpu Template Memory Gi BPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- MemoryMi LaunchB Template Memory Mi B 
- The minimum and maximum amount of memory, in MiB.
- NetworkBandwidth LaunchGbps Template Network Bandwidth Gbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- NetworkInterface LaunchCount Template Network Interface Count 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- OnDemand intMax Price Percentage Over Lowest Price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- RequireHibernate boolSupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- SpotMax intPrice Percentage Over Lowest Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- TotalLocal LaunchStorage Gb Template Total Local Storage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- VCpuCount LaunchTemplate VCpu Count 
- The minimum and maximum number of vCPUs.
- acceleratorCount LaunchTemplate Accelerator Count 
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers List<String>
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- acceleratorNames List<String>
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- acceleratorTotal LaunchMemory Mi B Template Accelerator Total Memory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- acceleratorTypes List<String>
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- allowedInstance List<String>Types 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- bareMetal String
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- baselineEbs LaunchBandwidth Mbps Template Baseline Ebs Bandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- baselinePerformance LaunchFactors Template Baseline Performance Factors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- burstablePerformance String
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- cpuManufacturers List<String>
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- excludedInstance List<String>Types 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- instanceGenerations List<String>
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- localStorage String
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- localStorage List<String>Types 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot IntegerPrice As Percentage Of Optimal On Demand Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi LaunchBPer VCpu Template Memory Gi BPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- memoryMi LaunchB Template Memory Mi B 
- The minimum and maximum amount of memory, in MiB.
- networkBandwidth LaunchGbps Template Network Bandwidth Gbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface LaunchCount Template Network Interface Count 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- onDemand IntegerMax Price Percentage Over Lowest Price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- requireHibernate BooleanSupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- spotMax IntegerPrice Percentage Over Lowest Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- totalLocal LaunchStorage Gb Template Total Local Storage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- vCpu LaunchCount Template VCpu Count 
- The minimum and maximum number of vCPUs.
- acceleratorCount LaunchTemplate Accelerator Count 
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers string[]
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- acceleratorNames string[]
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- acceleratorTotal LaunchMemory Mi B Template Accelerator Total Memory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- acceleratorTypes string[]
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- allowedInstance string[]Types 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- bareMetal string
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- baselineEbs LaunchBandwidth Mbps Template Baseline Ebs Bandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- baselinePerformance LaunchFactors Template Baseline Performance Factors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- burstablePerformance string
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- cpuManufacturers string[]
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- excludedInstance string[]Types 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- instanceGenerations string[]
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- localStorage string
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- localStorage string[]Types 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot numberPrice As Percentage Of Optimal On Demand Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi LaunchBPer VCpu Template Memory Gi BPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- memoryMi LaunchB Template Memory Mi B 
- The minimum and maximum amount of memory, in MiB.
- networkBandwidth LaunchGbps Template Network Bandwidth Gbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface LaunchCount Template Network Interface Count 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- onDemand numberMax Price Percentage Over Lowest Price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- requireHibernate booleanSupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- spotMax numberPrice Percentage Over Lowest Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- totalLocal LaunchStorage Gb Template Total Local Storage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- vCpu LaunchCount Template VCpu Count 
- The minimum and maximum number of vCPUs.
- accelerator_count LaunchTemplate Accelerator Count 
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- accelerator_manufacturers Sequence[str]
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- accelerator_names Sequence[str]
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- accelerator_total_ Launchmemory_ mi_ b Template Accelerator Total Memory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- accelerator_types Sequence[str]
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- allowed_instance_ Sequence[str]types 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- bare_metal str
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- baseline_ebs_ Launchbandwidth_ mbps Template Baseline Ebs Bandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- baseline_performance_ Launchfactors Template Baseline Performance Factors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- burstable_performance str
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- cpu_manufacturers Sequence[str]
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- excluded_instance_ Sequence[str]types 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- instance_generations Sequence[str]
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- local_storage str
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- local_storage_ Sequence[str]types 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- max_spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memory_gi_ Launchb_ per_ v_ cpu Template Memory Gi BPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- memory_mi_ Launchb Template Memory Mi B 
- The minimum and maximum amount of memory, in MiB.
- network_bandwidth_ Launchgbps Template Network Bandwidth Gbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- network_interface_ Launchcount Template Network Interface Count 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- on_demand_ intmax_ price_ percentage_ over_ lowest_ price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- require_hibernate_ boolsupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- spot_max_ intprice_ percentage_ over_ lowest_ price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- total_local_ Launchstorage_ gb Template Total Local Storage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- v_cpu_ Launchcount Template VCpu Count 
- The minimum and maximum number of vCPUs.
- acceleratorCount Property Map
- The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.
To exclude accelerator-enabled instance types, set Maxto0. Default: No minimum or maximum limits
- acceleratorManufacturers List<String>
- Indicates whether instance types must have accelerators by specific manufacturers. - For instance types with AWS devices, specify amazon-web-services.
- For instance types with AMD devices, specify amd.
- For instance types with Habana devices, specify habana.
- For instance types with NVIDIA devices, specify nvidia.
- For instance types with Xilinx devices, specify xilinx.
 - Default: Any manufacturer 
- For instance types with AWS devices, specify 
- acceleratorNames List<String>
- The accelerators that must be on the instance type. - For instance types with NVIDIA A10G GPUs, specify a10g.
- For instance types with NVIDIA A100 GPUs, specify a100.
- For instance types with NVIDIA H100 GPUs, specify h100.
- For instance types with AWS Inferentia chips, specify inferentia.
- For instance types with NVIDIA GRID K520 GPUs, specify k520.
- For instance types with NVIDIA K80 GPUs, specify k80.
- For instance types with NVIDIA M60 GPUs, specify m60.
- For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
- For instance types with NVIDIA T4 GPUs, specify t4.
- For instance types with NVIDIA T4G GPUs, specify t4g.
- For instance types with Xilinx VU9P FPGAs, specify vu9p.
- For instance types with NVIDIA V100 GPUs, specify v100.
 - Default: Any accelerator 
- For instance types with NVIDIA A10G GPUs, specify 
- acceleratorTotal Property MapMemory Mi B 
- The minimum and maximum amount of total accelerator memory, in MiB. Default: No minimum or maximum limits
- acceleratorTypes List<String>
- The accelerator types that must be on the instance type. - For instance types with FPGA accelerators, specify fpga.
- For instance types with GPU accelerators, specify gpu.
- For instance types with Inference accelerators, specify inference.
 - Default: Any accelerator type 
- For instance types with FPGA accelerators, specify 
- allowedInstance List<String>Types 
- The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specifyAllowedInstanceTypes, you can't specifyExcludedInstanceTypes. Default: All instance types
- bareMetal String
- Indicates whether bare metal instance types must be included, excluded, or required. - To include bare metal instance types, specify included.
- To require only bare metal instance types, specify required.
- To exclude bare metal instance types, specify excluded.
 - Default: - excluded
- To include bare metal instance types, specify 
- baselineEbs Property MapBandwidth Mbps 
- The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide. Default: No minimum or maximum limits
- baselinePerformance Property MapFactors 
- The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide.
- burstablePerformance String
- Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances. - To include burstable performance instance types, specify included.
- To require only burstable performance instance types, specify required.
- To exclude burstable performance instance types, specify excluded.
 - Default: - excluded
- To include burstable performance instance types, specify 
- cpuManufacturers List<String>
- The CPU manufacturers to include. - For instance types with Intel CPUs, specify intel.
- For instance types with AMD CPUs, specify amd.
- For instance types with AWS CPUs, specify amazon-web-services.
- For instance types with Apple CPUs, specify apple.
 - Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. Default: Any manufacturer 
- For instance types with Intel CPUs, specify 
- excludedInstance List<String>Types 
- The instance types to exclude.
You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples:m5.8xlarge,c5*.*,m5a.*,r*,*3*. For example, if you specifyc5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specifym5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. If you specifyExcludedInstanceTypes, you can't specifyAllowedInstanceTypes. Default: No excluded instance types
- instanceGenerations List<String>
- Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.
For current generation instance types, specify current. For previous generation instance types, specifyprevious. Default: Current and previous generation instance types
- localStorage String
- Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide. - To include instance types with instance store volumes, specify included.
- To require only instance types with instance store volumes, specify required.
- To exclude instance types with instance store volumes, specify excluded.
 - Default: - included
- To include instance types with instance store volumes, specify 
- localStorage List<String>Types 
- The type of local storage that is required. - For instance types with hard disk drive (HDD) storage, specify hdd.
- For instance types with solid state drive (SSD) storage, specify ssd.
 - Default: - hddand- ssd
- For instance types with hard disk drive (HDD) storage, specify 
- maxSpot NumberPrice As Percentage Of Optimal On Demand Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999.
- memoryGi Property MapBPer VCpu 
- The minimum and maximum amount of memory per vCPU, in GiB. Default: No minimum or maximum limits
- memoryMi Property MapB 
- The minimum and maximum amount of memory, in MiB.
- networkBandwidth Property MapGbps 
- The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default: No minimum or maximum limits
- networkInterface Property MapCount 
- The minimum and maximum number of network interfaces. Default: No minimum or maximum limits
- onDemand NumberMax Price Percentage Over Lowest Price 
- [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you setTargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default:20
- requireHibernate BooleanSupport 
- Indicates whether instance types must support hibernation for On-Demand Instances.
This parameter is not supported for GetSpotPlacementScores.
Default: false
- spotMax NumberPrice Percentage Over Lowest Price 
- [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
If you set TargetCapacityUnitTypetovcpuormemory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one ofSpotMaxPricePercentageOverLowestPriceorMaxSpotPriceAsPercentageOfOptimalOnDemandPricecan be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as999999. Default:100
- totalLocal Property MapStorage Gb 
- The minimum and maximum amount of total local storage, in GB. Default: No minimum or maximum limits
- vCpu Property MapCount 
- The minimum and maximum number of vCPUs.
LaunchTemplateIpv4PrefixSpecification, LaunchTemplateIpv4PrefixSpecificationArgs        
- Ipv4Prefix string
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
- Ipv4Prefix string
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
- ipv4Prefix String
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
- ipv4Prefix string
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
- ipv4_prefix str
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
- ipv4Prefix String
- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide.
LaunchTemplateIpv6Add, LaunchTemplateIpv6AddArgs      
- Ipv6Address string
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- Ipv6Address string
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6Address String
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6Address string
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6_address str
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6Address String
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
LaunchTemplateIpv6PrefixSpecification, LaunchTemplateIpv6PrefixSpecificationArgs        
- Ipv6Prefix string
- The IPv6 prefix.
- Ipv6Prefix string
- The IPv6 prefix.
- ipv6Prefix String
- The IPv6 prefix.
- ipv6Prefix string
- The IPv6 prefix.
- ipv6_prefix str
- The IPv6 prefix.
- ipv6Prefix String
- The IPv6 prefix.
LaunchTemplateLicenseSpecification, LaunchTemplateLicenseSpecificationArgs        
- LicenseConfiguration stringArn 
- The Amazon Resource Name (ARN) of the license configuration.
- LicenseConfiguration stringArn 
- The Amazon Resource Name (ARN) of the license configuration.
- licenseConfiguration StringArn 
- The Amazon Resource Name (ARN) of the license configuration.
- licenseConfiguration stringArn 
- The Amazon Resource Name (ARN) of the license configuration.
- license_configuration_ strarn 
- The Amazon Resource Name (ARN) of the license configuration.
- licenseConfiguration StringArn 
- The Amazon Resource Name (ARN) of the license configuration.
LaunchTemplateMaintenanceOptions, LaunchTemplateMaintenanceOptionsArgs        
- AutoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default.
- AutoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default.
- autoRecovery String
- Disables the automatic recovery behavior of your instance or sets it to default.
- autoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default.
- auto_recovery str
- Disables the automatic recovery behavior of your instance or sets it to default.
- autoRecovery String
- Disables the automatic recovery behavior of your instance or sets it to default.
LaunchTemplateMemoryGiBPerVCpu, LaunchTemplateMemoryGiBPerVCpuArgs            
LaunchTemplateMemoryMiB, LaunchTemplateMemoryMiBArgs          
LaunchTemplateMetadataOptions, LaunchTemplateMetadataOptionsArgs        
- HttpEndpoint string
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- HttpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- HttpPut intResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- HttpTokens string
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- string
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
- HttpEndpoint string
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- HttpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- HttpPut intResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- HttpTokens string
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- string
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
- httpEndpoint String
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- httpProtocol StringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- httpPut IntegerResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- httpTokens String
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- String
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
- httpEndpoint string
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- httpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- httpPut numberResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- httpTokens string
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- string
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
- http_endpoint str
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- http_protocol_ stripv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- http_put_ intresponse_ hop_ limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- http_tokens str
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- str
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
- httpEndpoint String
- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled. If you specify a value ofdisabled, you will not be able to access your instance metadata.
- httpProtocol StringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service.
Default: disabled
- httpPut NumberResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1Possible values: Integers from 1 to 64
- httpTokens String
- Indicates whether IMDSv2 is required. - optional- IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.
- required- IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.
 - Default: If the value of - ImdsSupportfor the Amazon Machine Image (AMI) for your instance is- v2.0, the default is- required.
- String
- Set to enabledto allow access to instance tags from the instance metadata. Set todisabledto turn off access to instance tags from the instance metadata. For more information, see View tags for your EC2 instances using instance metadata. Default:disabled
LaunchTemplateMonitoring, LaunchTemplateMonitoringArgs      
- Enabled bool
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
- Enabled bool
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
- enabled Boolean
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
- enabled boolean
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
- enabled bool
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
- enabled Boolean
- Specify trueto enable detailed monitoring. Otherwise, basic monitoring is enabled.
LaunchTemplateNetworkBandwidthGbps, LaunchTemplateNetworkBandwidthGbpsArgs          
LaunchTemplateNetworkInterface, LaunchTemplateNetworkInterfaceArgs        
- AssociateCarrier boolIp Address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- AssociatePublic boolIp Address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- ConnectionTracking Pulumi.Specification Aws Native. Ec2. Inputs. Launch Template Connection Tracking Specification 
- A connection tracking specification for the network interface.
- DeleteOn boolTermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- Description string
- A description for the network interface.
- DeviceIndex int
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- EnaSrd Pulumi.Specification Aws Native. Ec2. Inputs. Launch Template Ena Srd Specification 
- The ENA Express configuration for the network interface.
- Groups List<string>
- The IDs of one or more security groups.
- InterfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- Ipv4PrefixCount int
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- Ipv4Prefixes
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Ipv4Prefix Specification> 
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- Ipv6Addresses
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Ipv6Add> 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- Ipv6PrefixCount int
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- Ipv6Prefixes
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Ipv6Prefix Specification> 
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- NetworkCard intIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- NetworkInterface stringId 
- The ID of the network interface.
- PrimaryIpv6 bool
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- PrivateIp stringAddress 
- The primary private IPv4 address of the network interface.
- PrivateIp List<Pulumi.Addresses Aws Native. Ec2. Inputs. Launch Template Private Ip Add> 
- One or more private IPv4 addresses.
- SecondaryPrivate intIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- SubnetId string
- The ID of the subnet for the network interface.
- AssociateCarrier boolIp Address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- AssociatePublic boolIp Address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- ConnectionTracking LaunchSpecification Template Connection Tracking Specification 
- A connection tracking specification for the network interface.
- DeleteOn boolTermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- Description string
- A description for the network interface.
- DeviceIndex int
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- EnaSrd LaunchSpecification Template Ena Srd Specification 
- The ENA Express configuration for the network interface.
- Groups []string
- The IDs of one or more security groups.
- InterfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- Ipv4PrefixCount int
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- Ipv4Prefixes
[]LaunchTemplate Ipv4Prefix Specification 
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- Ipv6Addresses
[]LaunchTemplate Ipv6Add 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- Ipv6PrefixCount int
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- Ipv6Prefixes
[]LaunchTemplate Ipv6Prefix Specification 
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- NetworkCard intIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- NetworkInterface stringId 
- The ID of the network interface.
- PrimaryIpv6 bool
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- PrivateIp stringAddress 
- The primary private IPv4 address of the network interface.
- PrivateIp []LaunchAddresses Template Private Ip Add 
- One or more private IPv4 addresses.
- SecondaryPrivate intIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- SubnetId string
- The ID of the subnet for the network interface.
- associateCarrier BooleanIp Address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- associatePublic BooleanIp Address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- connectionTracking LaunchSpecification Template Connection Tracking Specification 
- A connection tracking specification for the network interface.
- deleteOn BooleanTermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- description String
- A description for the network interface.
- deviceIndex Integer
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- enaSrd LaunchSpecification Template Ena Srd Specification 
- The ENA Express configuration for the network interface.
- groups List<String>
- The IDs of one or more security groups.
- interfaceType String
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- ipv4PrefixCount Integer
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- ipv4Prefixes
List<LaunchTemplate Ipv4Prefix Specification> 
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- ipv6AddressCount Integer
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- ipv6Addresses
List<LaunchTemplate Ipv6Add> 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6PrefixCount Integer
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- ipv6Prefixes
List<LaunchTemplate Ipv6Prefix Specification> 
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- networkCard IntegerIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface StringId 
- The ID of the network interface.
- primaryIpv6 Boolean
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- privateIp StringAddress 
- The primary private IPv4 address of the network interface.
- privateIp List<LaunchAddresses Template Private Ip Add> 
- One or more private IPv4 addresses.
- secondaryPrivate IntegerIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- subnetId String
- The ID of the subnet for the network interface.
- associateCarrier booleanIp Address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- associatePublic booleanIp Address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- connectionTracking LaunchSpecification Template Connection Tracking Specification 
- A connection tracking specification for the network interface.
- deleteOn booleanTermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- description string
- A description for the network interface.
- deviceIndex number
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- enaSrd LaunchSpecification Template Ena Srd Specification 
- The ENA Express configuration for the network interface.
- groups string[]
- The IDs of one or more security groups.
- interfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- ipv4PrefixCount number
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- ipv4Prefixes
LaunchTemplate Ipv4Prefix Specification[] 
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- ipv6AddressCount number
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- ipv6Addresses
LaunchTemplate Ipv6Add[] 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6PrefixCount number
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- ipv6Prefixes
LaunchTemplate Ipv6Prefix Specification[] 
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- networkCard numberIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface stringId 
- The ID of the network interface.
- primaryIpv6 boolean
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- privateIp stringAddress 
- The primary private IPv4 address of the network interface.
- privateIp LaunchAddresses Template Private Ip Add[] 
- One or more private IPv4 addresses.
- secondaryPrivate numberIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- subnetId string
- The ID of the subnet for the network interface.
- associate_carrier_ boolip_ address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- associate_public_ boolip_ address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- connection_tracking_ Launchspecification Template Connection Tracking Specification 
- A connection tracking specification for the network interface.
- delete_on_ booltermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- description str
- A description for the network interface.
- device_index int
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- ena_srd_ Launchspecification Template Ena Srd Specification 
- The ENA Express configuration for the network interface.
- groups Sequence[str]
- The IDs of one or more security groups.
- interface_type str
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- ipv4_prefix_ intcount 
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- ipv4_prefixes Sequence[LaunchTemplate Ipv4Prefix Specification] 
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- ipv6_address_ intcount 
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- ipv6_addresses Sequence[LaunchTemplate Ipv6Add] 
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6_prefix_ intcount 
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- ipv6_prefixes Sequence[LaunchTemplate Ipv6Prefix Specification] 
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- network_card_ intindex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- network_interface_ strid 
- The ID of the network interface.
- primary_ipv6 bool
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- private_ip_ straddress 
- The primary private IPv4 address of the network interface.
- private_ip_ Sequence[Launchaddresses Template Private Ip Add] 
- One or more private IPv4 addresses.
- secondary_private_ intip_ address_ count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- subnet_id str
- The ID of the subnet for the network interface.
- associateCarrier BooleanIp Address 
- Associates a Carrier IP address with eth0 for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Developer Guide.
- associatePublic BooleanIp Address 
- Associates a public IPv4 address with eth0 for a new network interface. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
- connectionTracking Property MapSpecification 
- A connection tracking specification for the network interface.
- deleteOn BooleanTermination 
- Indicates whether the network interface is deleted when the instance is terminated.
- description String
- A description for the network interface.
- deviceIndex Number
- The device index for the network interface attachment. If the network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using theLaunchTemplateproperty ofAWS::EC2::Instance, then you must include a primary network interface using theNetworkInterfacesproperty ofAWS::EC2::Instance.
- enaSrd Property MapSpecification 
- The ENA Express configuration for the network interface.
- groups List<String>
- The IDs of one or more security groups.
- interfaceType String
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efaorefa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide. If you are not creating an EFA, specifyinterfaceor omit this parameter. If you specifyefa-only, do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values:interface|efa|efa-only
- ipv4PrefixCount Number
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixoption.
- ipv4Prefixes List<Property Map>
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCountoption.
- ipv6AddressCount Number
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
- ipv6Addresses List<Property Map>
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
- ipv6PrefixCount Number
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefixoption.
- ipv6Prefixes List<Property Map>
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCountoption.
- networkCard NumberIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface StringId 
- The ID of the network interface.
- primaryIpv6 Boolean
- The primary IPv6 address of the network interface. 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. For more information about primary IPv6 addresses, see RunInstances.
- privateIp StringAddress 
- The primary private IPv4 address of the network interface.
- privateIp List<Property Map>Addresses 
- One or more private IPv4 addresses.
- secondaryPrivate NumberIp Address Count 
- The number of secondary private IPv4 addresses to assign to a network interface.
- subnetId String
- The ID of the subnet for the network interface.
LaunchTemplateNetworkInterfaceCount, LaunchTemplateNetworkInterfaceCountArgs          
LaunchTemplateNetworkPerformanceOptions, LaunchTemplateNetworkPerformanceOptionsArgs          
- BandwidthWeighting string
- Specifies the performance options of your instance or sets it to default.
- BandwidthWeighting string
- Specifies the performance options of your instance or sets it to default.
- bandwidthWeighting String
- Specifies the performance options of your instance or sets it to default.
- bandwidthWeighting string
- Specifies the performance options of your instance or sets it to default.
- bandwidth_weighting str
- Specifies the performance options of your instance or sets it to default.
- bandwidthWeighting String
- Specifies the performance options of your instance or sets it to default.
LaunchTemplatePlacement, LaunchTemplatePlacementArgs      
- Affinity string
- The affinity setting for an instance on a Dedicated Host.
- AvailabilityZone string
- The Availability Zone for the instance.
- GroupId string
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- GroupName string
- The name of the placement group for the instance.
- HostId string
- The ID of the Dedicated Host for the instance.
- HostResource stringGroup Arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- PartitionNumber int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- SpreadDomain string
- Reserved for future use.
- Tenancy string
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- Affinity string
- The affinity setting for an instance on a Dedicated Host.
- AvailabilityZone string
- The Availability Zone for the instance.
- GroupId string
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- GroupName string
- The name of the placement group for the instance.
- HostId string
- The ID of the Dedicated Host for the instance.
- HostResource stringGroup Arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- PartitionNumber int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- SpreadDomain string
- Reserved for future use.
- Tenancy string
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- affinity String
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone String
- The Availability Zone for the instance.
- groupId String
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- groupName String
- The name of the placement group for the instance.
- hostId String
- The ID of the Dedicated Host for the instance.
- hostResource StringGroup Arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- partitionNumber Integer
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain String
- Reserved for future use.
- tenancy String
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- affinity string
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone string
- The Availability Zone for the instance.
- groupId string
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- groupName string
- The name of the placement group for the instance.
- hostId string
- The ID of the Dedicated Host for the instance.
- hostResource stringGroup Arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- partitionNumber number
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain string
- Reserved for future use.
- tenancy string
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- affinity str
- The affinity setting for an instance on a Dedicated Host.
- availability_zone str
- The Availability Zone for the instance.
- group_id str
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- group_name str
- The name of the placement group for the instance.
- host_id str
- The ID of the Dedicated Host for the instance.
- host_resource_ strgroup_ arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- partition_number int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spread_domain str
- Reserved for future use.
- tenancy str
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
- affinity String
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone String
- The Availability Zone for the instance.
- groupId String
- The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.
- groupName String
- The name of the placement group for the instance.
- hostId String
- The ID of the Dedicated Host for the instance.
- hostResource StringGroup Arn 
- The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
- partitionNumber Number
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain String
- Reserved for future use.
- tenancy String
- The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
LaunchTemplatePrivateDnsNameOptions, LaunchTemplatePrivateDnsNameOptionsArgs            
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
- enableResource booleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource booleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType string
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
- enable_resource_ boolname_ dns_ a_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enable_resource_ boolname_ dns_ aaaa_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostname_type str
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the User Guide.
LaunchTemplatePrivateIpAdd, LaunchTemplatePrivateIpAddArgs          
- Primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- PrivateIp stringAddress 
- The private IPv4 address.
- Primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- PrivateIp stringAddress 
- The private IPv4 address.
- primary Boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- privateIp StringAddress 
- The private IPv4 address.
- primary boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- privateIp stringAddress 
- The private IPv4 address.
- primary bool
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- private_ip_ straddress 
- The private IPv4 address.
- primary Boolean
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
- privateIp StringAddress 
- The private IPv4 address.
LaunchTemplateReference, LaunchTemplateReferenceArgs      
- InstanceFamily string
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
- InstanceFamily string
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
- instanceFamily String
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
- instanceFamily string
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
- instance_family str
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
- instanceFamily String
- The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( - .) in the instance type name. For example, in the instance type- c6i.large, the instance family is- c6i, not- c6. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types. The following instance families are not supported for performance protection:- c1
- g3|- g3s
- hpc7g
- m1|- m2
- mac1|- mac2|- mac2-m1ultra|- mac2-m2|- mac2-m2pro
- p3dn|- p4d|- p5
- t1
- u-12tb1|- u-18tb1|- u-24tb1|- u-3tb1|- u-6tb1|- u-9tb1|- u7i-12tb|- u7in-16tb|- u7in-24tb|- u7in-32tb
 - If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. 
LaunchTemplateSpotOptions, LaunchTemplateSpotOptionsArgs        
- BlockDuration intMinutes 
- Deprecated.
- InstanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- MaxPrice string
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- SpotInstance stringType 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- ValidUntil string
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
- BlockDuration intMinutes 
- Deprecated.
- InstanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- MaxPrice string
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- SpotInstance stringType 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- ValidUntil string
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
- blockDuration IntegerMinutes 
- Deprecated.
- instanceInterruption StringBehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- maxPrice String
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- spotInstance StringType 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- validUntil String
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
- blockDuration numberMinutes 
- Deprecated.
- instanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- maxPrice string
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- spotInstance stringType 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- validUntil string
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
- block_duration_ intminutes 
- Deprecated.
- instance_interruption_ strbehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- max_price str
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- spot_instance_ strtype 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- valid_until str
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
- blockDuration NumberMinutes 
- Deprecated.
- instanceInterruption StringBehavior 
- The behavior when a Spot Instance is interrupted. The default is terminate.
- maxPrice String
- The maximum hourly price you're willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. If you do specify this parameter, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValueerror message when the launch template is used to launch an instance. If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
- spotInstance StringType 
- The Spot Instance request type.
If you are using Spot Instances with an Auto Scaling group, use one-timerequests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
- validUntil String
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests. - For a persistent request, the request remains active until the ValidUntildate and time is reached. Otherwise, the request remains active until you cancel it.
- For a one-time request, ValidUntilis not supported. The request remains active until all instances launch or you cancel the request.
 - Default: 7 days from the current date 
- For a persistent request, the request remains active until the 
LaunchTemplateTag, LaunchTemplateTagArgs      
LaunchTemplateTagSpecification, LaunchTemplateTagSpecificationArgs        
- ResourceType string
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- 
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Tag> 
- The tags for the resource.
- ResourceType string
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- 
[]LaunchTemplate Tag 
- The tags for the resource.
- resourceType String
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- 
List<LaunchTemplate Tag> 
- The tags for the resource.
- resourceType string
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- 
LaunchTemplate Tag[] 
- The tags for the resource.
- resource_type str
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- 
Sequence[LaunchTemplate Tag] 
- The tags for the resource.
- resourceType String
- The type of resource. To tag a launch template, ResourceTypemust belaunch-template.
- List<Property Map>
- The tags for the resource.
LaunchTemplateTotalLocalStorageGb, LaunchTemplateTotalLocalStorageGbArgs            
LaunchTemplateVCpuCount, LaunchTemplateVCpuCountArgs        
TagSpecification, TagSpecificationArgs    
- ResourceType string
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- 
List<Pulumi.Aws Native. Ec2. Inputs. Launch Template Tag> 
- The tags to apply to the resource.
- ResourceType string
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- 
[]LaunchTemplate Tag 
- The tags to apply to the resource.
- resourceType String
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- 
List<LaunchTemplate Tag> 
- The tags to apply to the resource.
- resourceType string
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- 
LaunchTemplate Tag[] 
- The tags to apply to the resource.
- resource_type str
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- 
Sequence[LaunchTemplate Tag] 
- The tags to apply to the resource.
- resourceType String
- The type of resource to tag. You can specify tags for the following resource types only: instance|volume|network-interface|spot-instances-request. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. To tag a resource after it has been created, see CreateTags.
- List<Property Map>
- The tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.