Launch Template Args
data class LaunchTemplateArgs(val blockDeviceMappings: Output<List<LaunchTemplateBlockDeviceMappingArgs>>? = null, val capacityReservationSpecification: Output<LaunchTemplateCapacityReservationSpecificationArgs>? = null, val cpuOptions: Output<LaunchTemplateCpuOptionsArgs>? = null, val creditSpecification: Output<LaunchTemplateCreditSpecificationArgs>? = null, val defaultVersion: Output<Int>? = null, val description: Output<String>? = null, val disableApiStop: Output<Boolean>? = null, val disableApiTermination: Output<Boolean>? = null, val ebsOptimized: Output<String>? = null, val elasticGpuSpecifications: Output<List<LaunchTemplateElasticGpuSpecificationArgs>>? = null, val elasticInferenceAccelerator: Output<LaunchTemplateElasticInferenceAcceleratorArgs>? = null, val enclaveOptions: Output<LaunchTemplateEnclaveOptionsArgs>? = null, val hibernationOptions: Output<LaunchTemplateHibernationOptionsArgs>? = null, val iamInstanceProfile: Output<LaunchTemplateIamInstanceProfileArgs>? = null, val imageId: Output<String>? = null, val instanceInitiatedShutdownBehavior: Output<String>? = null, val instanceMarketOptions: Output<LaunchTemplateInstanceMarketOptionsArgs>? = null, val instanceRequirements: Output<LaunchTemplateInstanceRequirementsArgs>? = null, val instanceType: Output<String>? = null, val kernelId: Output<String>? = null, val keyName: Output<String>? = null, val licenseSpecifications: Output<List<LaunchTemplateLicenseSpecificationArgs>>? = null, val maintenanceOptions: Output<LaunchTemplateMaintenanceOptionsArgs>? = null, val metadataOptions: Output<LaunchTemplateMetadataOptionsArgs>? = null, val monitoring: Output<LaunchTemplateMonitoringArgs>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val networkInterfaces: Output<List<LaunchTemplateNetworkInterfaceArgs>>? = null, val placement: Output<LaunchTemplatePlacementArgs>? = null, val privateDnsNameOptions: Output<LaunchTemplatePrivateDnsNameOptionsArgs>? = null, val ramDiskId: Output<String>? = null, val securityGroupNames: Output<List<String>>? = null, val tagSpecifications: Output<List<LaunchTemplateTagSpecificationArgs>>? = null, val tags: Output<Map<String, String>>? = null, val updateDefaultVersion: Output<Boolean>? = null, val userData: Output<String>? = null, val vpcSecurityGroupIds: Output<List<String>>? = null) : ConvertibleToJava<LaunchTemplateArgs>
Provides an EC2 launch template resource. Can be used to create instances or auto scaling groups.
Import
Using pulumi import, import Launch Templates using the id. For example:
$ pulumi import aws:ec2/launchTemplate:LaunchTemplate web lt-12345678Content copied to clipboard
Constructors
Link copied to clipboard
fun LaunchTemplateArgs(blockDeviceMappings: Output<List<LaunchTemplateBlockDeviceMappingArgs>>? = null, capacityReservationSpecification: Output<LaunchTemplateCapacityReservationSpecificationArgs>? = null, cpuOptions: Output<LaunchTemplateCpuOptionsArgs>? = null, creditSpecification: Output<LaunchTemplateCreditSpecificationArgs>? = null, defaultVersion: Output<Int>? = null, description: Output<String>? = null, disableApiStop: Output<Boolean>? = null, disableApiTermination: Output<Boolean>? = null, ebsOptimized: Output<String>? = null, elasticGpuSpecifications: Output<List<LaunchTemplateElasticGpuSpecificationArgs>>? = null, elasticInferenceAccelerator: Output<LaunchTemplateElasticInferenceAcceleratorArgs>? = null, enclaveOptions: Output<LaunchTemplateEnclaveOptionsArgs>? = null, hibernationOptions: Output<LaunchTemplateHibernationOptionsArgs>? = null, iamInstanceProfile: Output<LaunchTemplateIamInstanceProfileArgs>? = null, imageId: Output<String>? = null, instanceInitiatedShutdownBehavior: Output<String>? = null, instanceMarketOptions: Output<LaunchTemplateInstanceMarketOptionsArgs>? = null, instanceRequirements: Output<LaunchTemplateInstanceRequirementsArgs>? = null, instanceType: Output<String>? = null, kernelId: Output<String>? = null, keyName: Output<String>? = null, licenseSpecifications: Output<List<LaunchTemplateLicenseSpecificationArgs>>? = null, maintenanceOptions: Output<LaunchTemplateMaintenanceOptionsArgs>? = null, metadataOptions: Output<LaunchTemplateMetadataOptionsArgs>? = null, monitoring: Output<LaunchTemplateMonitoringArgs>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, networkInterfaces: Output<List<LaunchTemplateNetworkInterfaceArgs>>? = null, placement: Output<LaunchTemplatePlacementArgs>? = null, privateDnsNameOptions: Output<LaunchTemplatePrivateDnsNameOptionsArgs>? = null, ramDiskId: Output<String>? = null, securityGroupNames: Output<List<String>>? = null, tagSpecifications: Output<List<LaunchTemplateTagSpecificationArgs>>? = null, tags: Output<Map<String, String>>? = null, updateDefaultVersion: Output<Boolean>? = null, userData: Output<String>? = null, vpcSecurityGroupIds: Output<List<String>>? = null)
Functions
Properties
Link copied to clipboard
val capacityReservationSpecification: Output<LaunchTemplateCapacityReservationSpecificationArgs>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard