Uses of Class
software.amazon.awscdk.services.ec2.LaunchTemplate.Builder
Packages that use LaunchTemplate.Builder
-
Uses of LaunchTemplate.Builder in software.amazon.awscdk.services.ec2
Methods in software.amazon.awscdk.services.ec2 that return LaunchTemplate.BuilderModifier and TypeMethodDescriptionLaunchTemplate.Builder.blockDevices
(List<? extends BlockDevice> blockDevices) Specifies how block devices are exposed to the instance.LaunchTemplate.Builder.cpuCredits
(CpuCredits cpuCredits) CPU credit type for burstable EC2 instance types.static LaunchTemplate.Builder
LaunchTemplate.Builder.detailedMonitoring
(Boolean detailedMonitoring) If set to true, then detailed monitoring will be enabled on instances created with this launch template.LaunchTemplate.Builder.disableApiTermination
(Boolean disableApiTermination) 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;LaunchTemplate.Builder.ebsOptimized
(Boolean ebsOptimized) Indicates whether the instances are optimized for Amazon EBS I/O.LaunchTemplate.Builder.hibernationConfigured
(Boolean hibernationConfigured) If you set this parameter to true, the instance is enabled for hibernation.LaunchTemplate.Builder.instanceInitiatedShutdownBehavior
(InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).LaunchTemplate.Builder.instanceType
(InstanceType instanceType) Type of instance to launch.Name of SSH keypair to grant access to instance.LaunchTemplate.Builder.launchTemplateName
(String launchTemplateName) Name for this launch template.LaunchTemplate.Builder.machineImage
(IMachineImage machineImage) The AMI that will be used by instances.LaunchTemplate.Builder.nitroEnclaveEnabled
(Boolean nitroEnclaveEnabled) If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves;LaunchTemplate.Builder.requireImdsv2
(Boolean requireImdsv2) Whether IMDSv2 should be required on launched instances.An IAM role to associate with the instance profile that is used by instances.LaunchTemplate.Builder.securityGroup
(ISecurityGroup securityGroup) Security group to assign to instances created with the launch template.LaunchTemplate.Builder.spotOptions
(LaunchTemplateSpotOptions spotOptions) 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.