Whether instances should have a public IP addresses associated with them.
Specifies how block devices are exposed to the instance.
CPU credit type for burstable EC2 instance types.
LaunchTemplate.Builder.create(software.constructs.Construct scope,
String id)
If set to true, then detailed monitoring will be enabled on instances created with this launch template.
If you set this parameter to true, you cannot terminate the instances launched with this launch template using the Amazon EC2 console, CLI, or API;
Indicates whether the instances are optimized for Amazon EBS I/O.
If you set this parameter to true, the instance is enabled for hibernation.
Enables or disables the HTTP metadata endpoint on your instances.
Enables or disables the IPv6 endpoint for the instance metadata service.
The desired HTTP PUT response hop limit for instance metadata requests.
The state of token usage for your instance metadata requests.
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
Set to enabled to allow access to instance tags from the instance metadata.
The instance profile used to pass role information to EC2 instances.
Type of instance to launch.
The SSH keypair to grant access to the instance.
Name for this launch template.
The AMI that will be used by instances.
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves;
Whether IMDSv2 should be required on launched instances.
An IAM role to associate with the instance profile that is used by instances.
Security group to assign to instances created with the launch template.
If this property is defined, then the Launch Template's InstanceMarketOptions will be set to use Spot instances, and the options for the Spot instances will be as defined.
The AMI that will be used by instances.
A description for the first version of the launch template.
keyPair
instead - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#using-an-existing-ec2-key-pair