AWS Classic

v5.16.0 published on Saturday, Sep 24, 2022 by Pulumi

getLaunchTemplate

Provides information about a Launch Template.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var @default = Aws.Ec2.GetLaunchTemplate.Invoke(new()
    {
        Name = "my-launch-template",
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.LookupLaunchTemplate(ctx, &ec2.LookupLaunchTemplateArgs{
			Name: pulumi.StringRef("my-launch-template"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetLaunchTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var default = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
            .name("my-launch-template")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

default = aws.ec2.get_launch_template(name="my-launch-template")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const defaultLaunchTemplate = pulumi.output(aws.ec2.getLaunchTemplate({
    name: "my-launch-template",
}));
variables:
  default:
    Fn::Invoke:
      Function: aws:ec2:getLaunchTemplate
      Arguments:
        name: my-launch-template

Filter

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = Aws.Ec2.GetLaunchTemplate.Invoke(new()
    {
        Filters = new[]
        {
            new Aws.Ec2.Inputs.GetLaunchTemplateFilterInputArgs
            {
                Name = "launch-template-name",
                Values = new[]
                {
                    "some-template",
                },
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.LookupLaunchTemplate(ctx, &ec2.LookupLaunchTemplateArgs{
			Filters: []ec2.GetLaunchTemplateFilter{
				ec2.GetLaunchTemplateFilter{
					Name: "launch-template-name",
					Values: []string{
						"some-template",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetLaunchTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Ec2Functions.getLaunchTemplate(GetLaunchTemplateArgs.builder()
            .filters(GetLaunchTemplateFilterArgs.builder()
                .name("launch-template-name")
                .values("some-template")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

test = aws.ec2.get_launch_template(filters=[aws.ec2.GetLaunchTemplateFilterArgs(
    name="launch-template-name",
    values=["some-template"],
)])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = pulumi.output(aws.ec2.getLaunchTemplate({
    filters: [{
        name: "launch-template-name",
        values: ["some-template"],
    }],
}));
variables:
  test:
    Fn::Invoke:
      Function: aws:ec2:getLaunchTemplate
      Arguments:
        filters:
          - name: launch-template-name
            values:
              - some-template

Using getLaunchTemplate

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLaunchTemplate(args: GetLaunchTemplateArgs, opts?: InvokeOptions): Promise<GetLaunchTemplateResult>
function getLaunchTemplateOutput(args: GetLaunchTemplateOutputArgs, opts?: InvokeOptions): Output<GetLaunchTemplateResult>
def get_launch_template(filters: Optional[Sequence[GetLaunchTemplateFilter]] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetLaunchTemplateResult
def get_launch_template_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLaunchTemplateFilterArgs]]]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetLaunchTemplateResult]
func LookupLaunchTemplate(ctx *Context, args *LookupLaunchTemplateArgs, opts ...InvokeOption) (*LookupLaunchTemplateResult, error)
func LookupLaunchTemplateOutput(ctx *Context, args *LookupLaunchTemplateOutputArgs, opts ...InvokeOption) LookupLaunchTemplateResultOutput

> Note: This function is named LookupLaunchTemplate in the Go SDK.

public static class GetLaunchTemplate 
{
    public static Task<GetLaunchTemplateResult> InvokeAsync(GetLaunchTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetLaunchTemplateResult> Invoke(GetLaunchTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLaunchTemplateResult> getLaunchTemplate(GetLaunchTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:ec2/getLaunchTemplate:getLaunchTemplate
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Filters List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateFilter>

Configuration block(s) for filtering. Detailed below.

Id string

ID of the specific launch template to retrieve.

Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

Tags Dictionary<string, string>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

Filters []GetLaunchTemplateFilter

Configuration block(s) for filtering. Detailed below.

Id string

ID of the specific launch template to retrieve.

Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

Tags map[string]string

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

filters List<GetLaunchTemplateFilter>

Configuration block(s) for filtering. Detailed below.

id String

ID of the specific launch template to retrieve.

name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

tags Map<String,String>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

filters GetLaunchTemplateFilter[]

Configuration block(s) for filtering. Detailed below.

id string

ID of the specific launch template to retrieve.

name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

tags {[key: string]: string}

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

filters Sequence[GetLaunchTemplateFilter]

Configuration block(s) for filtering. Detailed below.

id str

ID of the specific launch template to retrieve.

name str

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

tags Mapping[str, str]

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

filters List<Property Map>

Configuration block(s) for filtering. Detailed below.

id String

ID of the specific launch template to retrieve.

name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

tags Map<String>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

getLaunchTemplate Result

The following output properties are available:

Arn string
BlockDeviceMappings List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateBlockDeviceMapping>
CapacityReservationSpecifications List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateCapacityReservationSpecification>
CpuOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateCpuOption>
CreditSpecifications List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateCreditSpecification>
DefaultVersion int
Description string
DisableApiStop bool
DisableApiTermination bool
EbsOptimized string
ElasticGpuSpecifications List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateElasticGpuSpecification>
ElasticInferenceAccelerators List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateElasticInferenceAccelerator>
EnclaveOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateEnclaveOption>
HibernationOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateHibernationOption>
IamInstanceProfiles List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateIamInstanceProfile>
Id string

ID of the launch template.

ImageId string
InstanceInitiatedShutdownBehavior string
InstanceMarketOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateInstanceMarketOption>
InstanceRequirements List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateInstanceRequirement>
InstanceType string
KernelId string
KeyName string
LatestVersion int
LicenseSpecifications List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateLicenseSpecification>
MaintenanceOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateMaintenanceOption>
MetadataOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateMetadataOption>
Monitorings List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateMonitoring>
Name string
NetworkInterfaces List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateNetworkInterface>
Placements List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplatePlacement>
PrivateDnsNameOptions List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplatePrivateDnsNameOption>
RamDiskId string
SecurityGroupNames List<string>
TagSpecifications List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateTagSpecification>
Tags Dictionary<string, string>
UserData string
VpcSecurityGroupIds List<string>
Filters List<Pulumi.Aws.Ec2.Outputs.GetLaunchTemplateFilter>
Arn string
BlockDeviceMappings []GetLaunchTemplateBlockDeviceMapping
CapacityReservationSpecifications []GetLaunchTemplateCapacityReservationSpecification
CpuOptions []GetLaunchTemplateCpuOption
CreditSpecifications []GetLaunchTemplateCreditSpecification
DefaultVersion int
Description string
DisableApiStop bool
DisableApiTermination bool
EbsOptimized string
ElasticGpuSpecifications []GetLaunchTemplateElasticGpuSpecification
ElasticInferenceAccelerators []GetLaunchTemplateElasticInferenceAccelerator
EnclaveOptions []GetLaunchTemplateEnclaveOption
HibernationOptions []GetLaunchTemplateHibernationOption
IamInstanceProfiles []GetLaunchTemplateIamInstanceProfile
Id string

ID of the launch template.

ImageId string
InstanceInitiatedShutdownBehavior string
InstanceMarketOptions []GetLaunchTemplateInstanceMarketOption
InstanceRequirements []GetLaunchTemplateInstanceRequirement
InstanceType string
KernelId string
KeyName string
LatestVersion int
LicenseSpecifications []GetLaunchTemplateLicenseSpecification
MaintenanceOptions []GetLaunchTemplateMaintenanceOption
MetadataOptions []GetLaunchTemplateMetadataOption
Monitorings []GetLaunchTemplateMonitoring
Name string
NetworkInterfaces []GetLaunchTemplateNetworkInterface
Placements []GetLaunchTemplatePlacement
PrivateDnsNameOptions []GetLaunchTemplatePrivateDnsNameOption
RamDiskId string
SecurityGroupNames []string
TagSpecifications []GetLaunchTemplateTagSpecification
Tags map[string]string
UserData string
VpcSecurityGroupIds []string
Filters []GetLaunchTemplateFilter
arn String
blockDeviceMappings List<GetLaunchTemplateBlockDeviceMapping>
capacityReservationSpecifications List<GetLaunchTemplateCapacityReservationSpecification>
cpuOptions List<GetLaunchTemplateCpuOption>
creditSpecifications List<GetLaunchTemplateCreditSpecification>
defaultVersion Integer
description String
disableApiStop Boolean
disableApiTermination Boolean
ebsOptimized String
elasticGpuSpecifications List<GetLaunchTemplateElasticGpuSpecification>
elasticInferenceAccelerators List<GetLaunchTemplateElasticInferenceAccelerator>
enclaveOptions List<GetLaunchTemplateEnclaveOption>
hibernationOptions List<GetLaunchTemplateHibernationOption>
iamInstanceProfiles List<GetLaunchTemplateIamInstanceProfile>
id String

ID of the launch template.

imageId String
instanceInitiatedShutdownBehavior String
instanceMarketOptions List<GetLaunchTemplateInstanceMarketOption>
instanceRequirements List<GetLaunchTemplateInstanceRequirement>
instanceType String
kernelId String
keyName String
latestVersion Integer
licenseSpecifications List<GetLaunchTemplateLicenseSpecification>
maintenanceOptions List<GetLaunchTemplateMaintenanceOption>
metadataOptions List<GetLaunchTemplateMetadataOption>
monitorings List<GetLaunchTemplateMonitoring>
name String
networkInterfaces List<GetLaunchTemplateNetworkInterface>
placements List<GetLaunchTemplatePlacement>
privateDnsNameOptions List<GetLaunchTemplatePrivateDnsNameOption>
ramDiskId String
securityGroupNames List<String>
tagSpecifications List<GetLaunchTemplateTagSpecification>
tags Map<String,String>
userData String
vpcSecurityGroupIds List<String>
filters List<GetLaunchTemplateFilter>
arn string
blockDeviceMappings GetLaunchTemplateBlockDeviceMapping[]
capacityReservationSpecifications GetLaunchTemplateCapacityReservationSpecification[]
cpuOptions GetLaunchTemplateCpuOption[]
creditSpecifications GetLaunchTemplateCreditSpecification[]
defaultVersion number
description string
disableApiStop boolean
disableApiTermination boolean
ebsOptimized string
elasticGpuSpecifications GetLaunchTemplateElasticGpuSpecification[]
elasticInferenceAccelerators GetLaunchTemplateElasticInferenceAccelerator[]
enclaveOptions GetLaunchTemplateEnclaveOption[]
hibernationOptions GetLaunchTemplateHibernationOption[]
iamInstanceProfiles GetLaunchTemplateIamInstanceProfile[]
id string

ID of the launch template.

imageId string
instanceInitiatedShutdownBehavior string
instanceMarketOptions GetLaunchTemplateInstanceMarketOption[]
instanceRequirements GetLaunchTemplateInstanceRequirement[]
instanceType string
kernelId string
keyName string
latestVersion number
licenseSpecifications GetLaunchTemplateLicenseSpecification[]
maintenanceOptions GetLaunchTemplateMaintenanceOption[]
metadataOptions GetLaunchTemplateMetadataOption[]
monitorings GetLaunchTemplateMonitoring[]
name string
networkInterfaces GetLaunchTemplateNetworkInterface[]
placements GetLaunchTemplatePlacement[]
privateDnsNameOptions GetLaunchTemplatePrivateDnsNameOption[]
ramDiskId string
securityGroupNames string[]
tagSpecifications GetLaunchTemplateTagSpecification[]
tags {[key: string]: string}
userData string
vpcSecurityGroupIds string[]
filters GetLaunchTemplateFilter[]
arn str
block_device_mappings Sequence[GetLaunchTemplateBlockDeviceMapping]
capacity_reservation_specifications Sequence[GetLaunchTemplateCapacityReservationSpecification]
cpu_options Sequence[GetLaunchTemplateCpuOption]
credit_specifications Sequence[GetLaunchTemplateCreditSpecification]
default_version int
description str
disable_api_stop bool
disable_api_termination bool
ebs_optimized str
elastic_gpu_specifications Sequence[GetLaunchTemplateElasticGpuSpecification]
elastic_inference_accelerators Sequence[GetLaunchTemplateElasticInferenceAccelerator]
enclave_options Sequence[GetLaunchTemplateEnclaveOption]
hibernation_options Sequence[GetLaunchTemplateHibernationOption]
iam_instance_profiles Sequence[GetLaunchTemplateIamInstanceProfile]
id str

ID of the launch template.

image_id str
instance_initiated_shutdown_behavior str
instance_market_options Sequence[GetLaunchTemplateInstanceMarketOption]
instance_requirements Sequence[GetLaunchTemplateInstanceRequirement]
instance_type str
kernel_id str
key_name str
latest_version int
license_specifications Sequence[GetLaunchTemplateLicenseSpecification]
maintenance_options Sequence[GetLaunchTemplateMaintenanceOption]
metadata_options Sequence[GetLaunchTemplateMetadataOption]
monitorings Sequence[GetLaunchTemplateMonitoring]
name str
network_interfaces Sequence[GetLaunchTemplateNetworkInterface]
placements Sequence[GetLaunchTemplatePlacement]
private_dns_name_options Sequence[GetLaunchTemplatePrivateDnsNameOption]
ram_disk_id str
security_group_names Sequence[str]
tag_specifications Sequence[GetLaunchTemplateTagSpecification]
tags Mapping[str, str]
user_data str
vpc_security_group_ids Sequence[str]
filters Sequence[GetLaunchTemplateFilter]
arn String
blockDeviceMappings List<Property Map>
capacityReservationSpecifications List<Property Map>
cpuOptions List<Property Map>
creditSpecifications List<Property Map>
defaultVersion Number
description String
disableApiStop Boolean
disableApiTermination Boolean
ebsOptimized String
elasticGpuSpecifications List<Property Map>
elasticInferenceAccelerators List<Property Map>
enclaveOptions List<Property Map>
hibernationOptions List<Property Map>
iamInstanceProfiles List<Property Map>
id String

ID of the launch template.

imageId String
instanceInitiatedShutdownBehavior String
instanceMarketOptions List<Property Map>
instanceRequirements List<Property Map>
instanceType String
kernelId String
keyName String
latestVersion Number
licenseSpecifications List<Property Map>
maintenanceOptions List<Property Map>
metadataOptions List<Property Map>
monitorings List<Property Map>
name String
networkInterfaces List<Property Map>
placements List<Property Map>
privateDnsNameOptions List<Property Map>
ramDiskId String
securityGroupNames List<String>
tagSpecifications List<Property Map>
tags Map<String>
userData String
vpcSecurityGroupIds List<String>
filters List<Property Map>

Supporting Types

GetLaunchTemplateBlockDeviceMapping

GetLaunchTemplateBlockDeviceMappingEb

deleteOnTermination String
encrypted String
iops Integer
kmsKeyId String
snapshotId String
throughput Integer
volumeSize Integer
volumeType String
deleteOnTermination string
encrypted string
iops number
kmsKeyId string
snapshotId string
throughput number
volumeSize number
volumeType string
deleteOnTermination String
encrypted String
iops Number
kmsKeyId String
snapshotId String
throughput Number
volumeSize Number
volumeType String

GetLaunchTemplateCapacityReservationSpecification

GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget

GetLaunchTemplateCpuOption

coreCount Integer
threadsPerCore Integer

GetLaunchTemplateCreditSpecification

CpuCredits string
CpuCredits string
cpuCredits String
cpuCredits string
cpuCredits String

GetLaunchTemplateElasticGpuSpecification

Type string
Type string
type String
type string
type str
type String

GetLaunchTemplateElasticInferenceAccelerator

Type string
Type string
type String
type string
type str
type String

GetLaunchTemplateEnclaveOption

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetLaunchTemplateFilter

Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

Values List<string>

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

Values []string

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

values List<String>

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

values string[]

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

name str

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

values Sequence[str]

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

values List<String>

Set of values that are accepted for the given filter field. Results will be selected if any given value matches.

GetLaunchTemplateHibernationOption

configured Boolean
configured boolean
configured Boolean

GetLaunchTemplateIamInstanceProfile

Arn string
Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

Arn string
Name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

arn String
name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

arn string
name string

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

arn str
name str

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

arn String
name String

Name of the filter field. Valid values can be found in the EC2 DescribeLaunchTemplates API Reference.

GetLaunchTemplateInstanceMarketOption

GetLaunchTemplateInstanceMarketOptionSpotOption

GetLaunchTemplateInstanceRequirement

AcceleratorCounts List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementAcceleratorCount>
AcceleratorManufacturers List<string>
AcceleratorNames List<string>
AcceleratorTotalMemoryMibs List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib>
AcceleratorTypes List<string>
BareMetal string
BaselineEbsBandwidthMbps List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp>
BurstablePerformance string
CpuManufacturers List<string>
ExcludedInstanceTypes List<string>
InstanceGenerations List<string>
LocalStorage string
LocalStorageTypes List<string>
MemoryGibPerVcpus List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus>
MemoryMibs List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementMemoryMib>
NetworkInterfaceCounts List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementNetworkInterfaceCount>
OnDemandMaxPricePercentageOverLowestPrice int
RequireHibernateSupport bool
SpotMaxPricePercentageOverLowestPrice int
TotalLocalStorageGbs List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementTotalLocalStorageGb>
VcpuCounts List<Pulumi.Aws.Ec2.Inputs.GetLaunchTemplateInstanceRequirementVcpuCount>
AcceleratorCounts []GetLaunchTemplateInstanceRequirementAcceleratorCount
AcceleratorManufacturers []string
AcceleratorNames []string
AcceleratorTotalMemoryMibs []GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib
AcceleratorTypes []string
BareMetal string
BaselineEbsBandwidthMbps []GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp
BurstablePerformance string
CpuManufacturers []string
ExcludedInstanceTypes []string
InstanceGenerations []string
LocalStorage string
LocalStorageTypes []string
MemoryGibPerVcpus []GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus
MemoryMibs []GetLaunchTemplateInstanceRequirementMemoryMib
NetworkInterfaceCounts []GetLaunchTemplateInstanceRequirementNetworkInterfaceCount
OnDemandMaxPricePercentageOverLowestPrice int
RequireHibernateSupport bool
SpotMaxPricePercentageOverLowestPrice int
TotalLocalStorageGbs []GetLaunchTemplateInstanceRequirementTotalLocalStorageGb
VcpuCounts []GetLaunchTemplateInstanceRequirementVcpuCount
acceleratorCounts List<GetLaunchTemplateInstanceRequirementAcceleratorCount>
acceleratorManufacturers List<String>
acceleratorNames List<String>
acceleratorTotalMemoryMibs List<GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib>
acceleratorTypes List<String>
bareMetal String
baselineEbsBandwidthMbps List<GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp>
burstablePerformance String
cpuManufacturers List<String>
excludedInstanceTypes List<String>
instanceGenerations List<String>
localStorage String
localStorageTypes List<String>
memoryGibPerVcpus List<GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus>
memoryMibs List<GetLaunchTemplateInstanceRequirementMemoryMib>
networkInterfaceCounts List<GetLaunchTemplateInstanceRequirementNetworkInterfaceCount>
onDemandMaxPricePercentageOverLowestPrice Integer
requireHibernateSupport Boolean
spotMaxPricePercentageOverLowestPrice Integer
totalLocalStorageGbs List<GetLaunchTemplateInstanceRequirementTotalLocalStorageGb>
vcpuCounts List<GetLaunchTemplateInstanceRequirementVcpuCount>
acceleratorCounts GetLaunchTemplateInstanceRequirementAcceleratorCount[]
acceleratorManufacturers string[]
acceleratorNames string[]
acceleratorTotalMemoryMibs GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib[]
acceleratorTypes string[]
bareMetal string
baselineEbsBandwidthMbps GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp[]
burstablePerformance string
cpuManufacturers string[]
excludedInstanceTypes string[]
instanceGenerations string[]
localStorage string
localStorageTypes string[]
memoryGibPerVcpus GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus[]
memoryMibs GetLaunchTemplateInstanceRequirementMemoryMib[]
networkInterfaceCounts GetLaunchTemplateInstanceRequirementNetworkInterfaceCount[]
onDemandMaxPricePercentageOverLowestPrice number
requireHibernateSupport boolean
spotMaxPricePercentageOverLowestPrice number
totalLocalStorageGbs GetLaunchTemplateInstanceRequirementTotalLocalStorageGb[]
vcpuCounts GetLaunchTemplateInstanceRequirementVcpuCount[]
accelerator_counts Sequence[GetLaunchTemplateInstanceRequirementAcceleratorCount]
accelerator_manufacturers Sequence[str]
accelerator_names Sequence[str]
accelerator_total_memory_mibs Sequence[GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib]
accelerator_types Sequence[str]
bare_metal str
baseline_ebs_bandwidth_mbps Sequence[GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp]
burstable_performance str
cpu_manufacturers Sequence[str]
excluded_instance_types Sequence[str]
instance_generations Sequence[str]
local_storage str
local_storage_types Sequence[str]
memory_gib_per_vcpus Sequence[GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus]
memory_mibs Sequence[GetLaunchTemplateInstanceRequirementMemoryMib]
network_interface_counts Sequence[GetLaunchTemplateInstanceRequirementNetworkInterfaceCount]
on_demand_max_price_percentage_over_lowest_price int
require_hibernate_support bool
spot_max_price_percentage_over_lowest_price int
total_local_storage_gbs Sequence[GetLaunchTemplateInstanceRequirementTotalLocalStorageGb]
vcpu_counts Sequence[GetLaunchTemplateInstanceRequirementVcpuCount]

GetLaunchTemplateInstanceRequirementAcceleratorCount

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus

Max double
Min double
Max float64
Min float64
max Double
min Double
max number
min number
max float
min float
max Number
min Number

GetLaunchTemplateInstanceRequirementMemoryMib

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateInstanceRequirementNetworkInterfaceCount

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateInstanceRequirementTotalLocalStorageGb

Max double
Min double
Max float64
Min float64
max Double
min Double
max number
min number
max float
min float
max Number
min Number

GetLaunchTemplateInstanceRequirementVcpuCount

Max int
Min int
Max int
Min int
max Integer
min Integer
max number
min number
max int
min int
max Number
min Number

GetLaunchTemplateLicenseSpecification

GetLaunchTemplateMaintenanceOption

GetLaunchTemplateMetadataOption

GetLaunchTemplateMonitoring

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetLaunchTemplateNetworkInterface

GetLaunchTemplatePlacement

GetLaunchTemplatePrivateDnsNameOption

GetLaunchTemplateTagSpecification

ResourceType string
Tags Dictionary<string, string>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

ResourceType string
Tags map[string]string

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

resourceType String
tags Map<String,String>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

resourceType string
tags {[key: string]: string}

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

resource_type str
tags Mapping[str, str]

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

resourceType String
tags Map<String>

Map of tags, each pair of which must exactly match a pair on the desired Launch Template.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.