Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.ec2.getLaunchTemplate
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Provides information about a Launch Template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const default = aws.ec2.getLaunchTemplate({
name: "my-launch-template",
});
import pulumi
import pulumi_aws as aws
default = aws.ec2.get_launch_template(name="my-launch-template")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var @default = Aws.Ec2.GetLaunchTemplate.Invoke(new()
{
Name = "my-launch-template",
});
});
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());
}
}
variables:
default:
fn::invoke:
Function: aws:ec2:getLaunchTemplate
Arguments:
name: my-launch-template
Filter
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.ec2.getLaunchTemplate({
filters: [{
name: "launch-template-name",
values: ["some-template"],
}],
});
import pulumi
import pulumi_aws as aws
test = aws.ec2.get_launch_template(filters=[{
"name": "launch-template-name",
"values": ["some-template"],
}])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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{
{
Name: "launch-template-name",
Values: []string{
"some-template",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
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 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());
}
}
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<Get
Launch Template Filter> - Configuration block(s) for filtering. Detailed below.
- Id string
- ID of the specific launch template to retrieve.
- Name string
- Name of the launch template.
- Dictionary<string, string>
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- Filters
[]Get
Launch Template Filter - Configuration block(s) for filtering. Detailed below.
- Id string
- ID of the specific launch template to retrieve.
- Name string
- Name of the launch template.
- map[string]string
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- filters
List<Get
Launch Template Filter> - Configuration block(s) for filtering. Detailed below.
- id String
- ID of the specific launch template to retrieve.
- name String
- Name of the launch template.
- Map<String,String>
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- filters
Get
Launch Template Filter[] - Configuration block(s) for filtering. Detailed below.
- id string
- ID of the specific launch template to retrieve.
- name string
- Name of the launch template.
- {[key: string]: string}
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- filters
Sequence[Get
Launch Template Filter] - Configuration block(s) for filtering. Detailed below.
- id str
- ID of the specific launch template to retrieve.
- name str
- Name of the launch template.
- 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 launch template.
- 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
- Block
Device List<GetMappings Launch Template Block Device Mapping> - Capacity
Reservation List<GetSpecifications Launch Template Capacity Reservation Specification> - Cpu
Options List<GetLaunch Template Cpu Option> - Credit
Specifications List<GetLaunch Template Credit Specification> - Default
Version int - Description string
- Disable
Api boolStop - Disable
Api boolTermination - Ebs
Optimized string - Elastic
Gpu List<GetSpecifications Launch Template Elastic Gpu Specification> - Elastic
Inference List<GetAccelerators Launch Template Elastic Inference Accelerator> - Enclave
Options List<GetLaunch Template Enclave Option> - Hibernation
Options List<GetLaunch Template Hibernation Option> - Iam
Instance List<GetProfiles Launch Template Iam Instance Profile> - Id string
- ID of the launch template.
- Image
Id string - Instance
Initiated stringShutdown Behavior - Instance
Market List<GetOptions Launch Template Instance Market Option> - Instance
Requirements List<GetLaunch Template Instance Requirement> - Instance
Type string - Kernel
Id string - Key
Name string - Latest
Version int - License
Specifications List<GetLaunch Template License Specification> - Maintenance
Options List<GetLaunch Template Maintenance Option> - Metadata
Options List<GetLaunch Template Metadata Option> - Monitorings
List<Get
Launch Template Monitoring> - Name string
- Network
Interfaces List<GetLaunch Template Network Interface> - Placements
List<Get
Launch Template Placement> - Private
Dns List<GetName Options Launch Template Private Dns Name Option> - Ram
Disk stringId - Security
Group List<string>Names - List<Get
Launch Template Tag Specification> - Dictionary<string, string>
- User
Data string - Vpc
Security List<string>Group Ids - Filters
List<Get
Launch Template Filter>
- Arn string
- Block
Device []GetMappings Launch Template Block Device Mapping - Capacity
Reservation []GetSpecifications Launch Template Capacity Reservation Specification - Cpu
Options []GetLaunch Template Cpu Option - Credit
Specifications []GetLaunch Template Credit Specification - Default
Version int - Description string
- Disable
Api boolStop - Disable
Api boolTermination - Ebs
Optimized string - Elastic
Gpu []GetSpecifications Launch Template Elastic Gpu Specification - Elastic
Inference []GetAccelerators Launch Template Elastic Inference Accelerator - Enclave
Options []GetLaunch Template Enclave Option - Hibernation
Options []GetLaunch Template Hibernation Option - Iam
Instance []GetProfiles Launch Template Iam Instance Profile - Id string
- ID of the launch template.
- Image
Id string - Instance
Initiated stringShutdown Behavior - Instance
Market []GetOptions Launch Template Instance Market Option - Instance
Requirements []GetLaunch Template Instance Requirement - Instance
Type string - Kernel
Id string - Key
Name string - Latest
Version int - License
Specifications []GetLaunch Template License Specification - Maintenance
Options []GetLaunch Template Maintenance Option - Metadata
Options []GetLaunch Template Metadata Option - Monitorings
[]Get
Launch Template Monitoring - Name string
- Network
Interfaces []GetLaunch Template Network Interface - Placements
[]Get
Launch Template Placement - Private
Dns []GetName Options Launch Template Private Dns Name Option - Ram
Disk stringId - Security
Group []stringNames - []Get
Launch Template Tag Specification - map[string]string
- User
Data string - Vpc
Security []stringGroup Ids - Filters
[]Get
Launch Template Filter
- arn String
- block
Device List<GetMappings Launch Template Block Device Mapping> - capacity
Reservation List<GetSpecifications Launch Template Capacity Reservation Specification> - cpu
Options List<GetLaunch Template Cpu Option> - credit
Specifications List<GetLaunch Template Credit Specification> - default
Version Integer - description String
- disable
Api BooleanStop - disable
Api BooleanTermination - ebs
Optimized String - elastic
Gpu List<GetSpecifications Launch Template Elastic Gpu Specification> - elastic
Inference List<GetAccelerators Launch Template Elastic Inference Accelerator> - enclave
Options List<GetLaunch Template Enclave Option> - hibernation
Options List<GetLaunch Template Hibernation Option> - iam
Instance List<GetProfiles Launch Template Iam Instance Profile> - id String
- ID of the launch template.
- image
Id String - instance
Initiated StringShutdown Behavior - instance
Market List<GetOptions Launch Template Instance Market Option> - instance
Requirements List<GetLaunch Template Instance Requirement> - instance
Type String - kernel
Id String - key
Name String - latest
Version Integer - license
Specifications List<GetLaunch Template License Specification> - maintenance
Options List<GetLaunch Template Maintenance Option> - metadata
Options List<GetLaunch Template Metadata Option> - monitorings
List<Get
Launch Template Monitoring> - name String
- network
Interfaces List<GetLaunch Template Network Interface> - placements
List<Get
Launch Template Placement> - private
Dns List<GetName Options Launch Template Private Dns Name Option> - ram
Disk StringId - security
Group List<String>Names - List<Get
Launch Template Tag Specification> - Map<String,String>
- user
Data String - vpc
Security List<String>Group Ids - filters
List<Get
Launch Template Filter>
- arn string
- block
Device GetMappings Launch Template Block Device Mapping[] - capacity
Reservation GetSpecifications Launch Template Capacity Reservation Specification[] - cpu
Options GetLaunch Template Cpu Option[] - credit
Specifications GetLaunch Template Credit Specification[] - default
Version number - description string
- disable
Api booleanStop - disable
Api booleanTermination - ebs
Optimized string - elastic
Gpu GetSpecifications Launch Template Elastic Gpu Specification[] - elastic
Inference GetAccelerators Launch Template Elastic Inference Accelerator[] - enclave
Options GetLaunch Template Enclave Option[] - hibernation
Options GetLaunch Template Hibernation Option[] - iam
Instance GetProfiles Launch Template Iam Instance Profile[] - id string
- ID of the launch template.
- image
Id string - instance
Initiated stringShutdown Behavior - instance
Market GetOptions Launch Template Instance Market Option[] - instance
Requirements GetLaunch Template Instance Requirement[] - instance
Type string - kernel
Id string - key
Name string - latest
Version number - license
Specifications GetLaunch Template License Specification[] - maintenance
Options GetLaunch Template Maintenance Option[] - metadata
Options GetLaunch Template Metadata Option[] - monitorings
Get
Launch Template Monitoring[] - name string
- network
Interfaces GetLaunch Template Network Interface[] - placements
Get
Launch Template Placement[] - private
Dns GetName Options Launch Template Private Dns Name Option[] - ram
Disk stringId - security
Group string[]Names - Get
Launch Template Tag Specification[] - {[key: string]: string}
- user
Data string - vpc
Security string[]Group Ids - filters
Get
Launch Template Filter[]
- arn str
- block_
device_ Sequence[Getmappings Launch Template Block Device Mapping] - capacity_
reservation_ Sequence[Getspecifications Launch Template Capacity Reservation Specification] - cpu_
options Sequence[GetLaunch Template Cpu Option] - credit_
specifications Sequence[GetLaunch Template Credit Specification] - default_
version int - description str
- disable_
api_ boolstop - disable_
api_ booltermination - ebs_
optimized str - elastic_
gpu_ Sequence[Getspecifications Launch Template Elastic Gpu Specification] - elastic_
inference_ Sequence[Getaccelerators Launch Template Elastic Inference Accelerator] - enclave_
options Sequence[GetLaunch Template Enclave Option] - hibernation_
options Sequence[GetLaunch Template Hibernation Option] - iam_
instance_ Sequence[Getprofiles Launch Template Iam Instance Profile] - id str
- ID of the launch template.
- image_
id str - instance_
initiated_ strshutdown_ behavior - instance_
market_ Sequence[Getoptions Launch Template Instance Market Option] - instance_
requirements Sequence[GetLaunch Template Instance Requirement] - instance_
type str - kernel_
id str - key_
name str - latest_
version int - license_
specifications Sequence[GetLaunch Template License Specification] - maintenance_
options Sequence[GetLaunch Template Maintenance Option] - metadata_
options Sequence[GetLaunch Template Metadata Option] - monitorings
Sequence[Get
Launch Template Monitoring] - name str
- network_
interfaces Sequence[GetLaunch Template Network Interface] - placements
Sequence[Get
Launch Template Placement] - private_
dns_ Sequence[Getname_ options Launch Template Private Dns Name Option] - ram_
disk_ strid - security_
group_ Sequence[str]names - tag_
specifications Sequence[GetLaunch Template Tag Specification] - Mapping[str, str]
- user_
data str - vpc_
security_ Sequence[str]group_ ids - filters
Sequence[Get
Launch Template Filter]
- arn String
- block
Device List<Property Map>Mappings - capacity
Reservation List<Property Map>Specifications - cpu
Options List<Property Map> - credit
Specifications List<Property Map> - default
Version Number - description String
- disable
Api BooleanStop - disable
Api BooleanTermination - ebs
Optimized String - elastic
Gpu List<Property Map>Specifications - elastic
Inference List<Property Map>Accelerators - enclave
Options List<Property Map> - hibernation
Options List<Property Map> - iam
Instance List<Property Map>Profiles - id String
- ID of the launch template.
- image
Id String - instance
Initiated StringShutdown Behavior - instance
Market List<Property Map>Options - instance
Requirements List<Property Map> - instance
Type String - kernel
Id String - key
Name String - latest
Version Number - license
Specifications List<Property Map> - maintenance
Options List<Property Map> - metadata
Options List<Property Map> - monitorings List<Property Map>
- name String
- network
Interfaces List<Property Map> - placements List<Property Map>
- private
Dns List<Property Map>Name Options - ram
Disk StringId - security
Group List<String>Names - List<Property Map>
- Map<String>
- user
Data String - vpc
Security List<String>Group Ids - filters List<Property Map>
Supporting Types
GetLaunchTemplateBlockDeviceMapping
- Device
Name string - Ebs
List<Get
Launch Template Block Device Mapping Eb> - No
Device string - Virtual
Name string
- Device
Name string - Ebs
[]Get
Launch Template Block Device Mapping Eb - No
Device string - Virtual
Name string
- device
Name String - ebs
List<Get
Launch Template Block Device Mapping Eb> - no
Device String - virtual
Name String
- device
Name string - ebs
Get
Launch Template Block Device Mapping Eb[] - no
Device string - virtual
Name string
- device
Name String - ebs List<Property Map>
- no
Device String - virtual
Name String
GetLaunchTemplateBlockDeviceMappingEb
- Delete
On stringTermination - Encrypted string
- Iops int
- Kms
Key stringId - Snapshot
Id string - Throughput int
- Volume
Size int - Volume
Type string
- Delete
On stringTermination - Encrypted string
- Iops int
- Kms
Key stringId - Snapshot
Id string - Throughput int
- Volume
Size int - Volume
Type string
- delete
On StringTermination - encrypted String
- iops Integer
- kms
Key StringId - snapshot
Id String - throughput Integer
- volume
Size Integer - volume
Type String
- delete
On stringTermination - encrypted string
- iops number
- kms
Key stringId - snapshot
Id string - throughput number
- volume
Size number - volume
Type string
- delete_
on_ strtermination - encrypted str
- iops int
- kms_
key_ strid - snapshot_
id str - throughput int
- volume_
size int - volume_
type str
- delete
On StringTermination - encrypted String
- iops Number
- kms
Key StringId - snapshot
Id String - throughput Number
- volume
Size Number - volume
Type String
GetLaunchTemplateCapacityReservationSpecification
GetLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget
- Capacity
Reservation stringId - Capacity
Reservation stringResource Group Arn
- Capacity
Reservation stringId - Capacity
Reservation stringResource Group Arn
- capacity
Reservation StringId - capacity
Reservation StringResource Group Arn
- capacity
Reservation stringId - capacity
Reservation stringResource Group Arn
- capacity
Reservation StringId - capacity
Reservation StringResource Group Arn
GetLaunchTemplateCpuOption
- Amd
Sev stringSnp - Core
Count int - Threads
Per intCore
- Amd
Sev stringSnp - Core
Count int - Threads
Per intCore
- amd
Sev StringSnp - core
Count Integer - threads
Per IntegerCore
- amd
Sev stringSnp - core
Count number - threads
Per numberCore
- amd_
sev_ strsnp - core_
count int - threads_
per_ intcore
- amd
Sev StringSnp - core
Count Number - threads
Per NumberCore
GetLaunchTemplateCreditSpecification
- Cpu
Credits string
- Cpu
Credits string
- cpu
Credits String
- cpu
Credits string
- cpu_
credits str
- cpu
Credits 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 bool
- Configured bool
- configured Boolean
- configured boolean
- configured bool
- configured Boolean
GetLaunchTemplateIamInstanceProfile
GetLaunchTemplateInstanceMarketOption
GetLaunchTemplateInstanceMarketOptionSpotOption
- Block
Duration intMinutes - Instance
Interruption stringBehavior - Max
Price string - Spot
Instance stringType - Valid
Until string
- Block
Duration intMinutes - Instance
Interruption stringBehavior - Max
Price string - Spot
Instance stringType - Valid
Until string
- block
Duration IntegerMinutes - instance
Interruption StringBehavior - max
Price String - spot
Instance StringType - valid
Until String
- block
Duration numberMinutes - instance
Interruption stringBehavior - max
Price string - spot
Instance stringType - valid
Until string
- block
Duration NumberMinutes - instance
Interruption StringBehavior - max
Price String - spot
Instance StringType - valid
Until String
GetLaunchTemplateInstanceRequirement
- Accelerator
Counts List<GetLaunch Template Instance Requirement Accelerator Count> - Accelerator
Manufacturers List<string> - Accelerator
Names List<string> - Accelerator
Total List<GetMemory Mibs Launch Template Instance Requirement Accelerator Total Memory Mib> - Accelerator
Types List<string> - Allowed
Instance List<string>Types - Bare
Metal string - Baseline
Ebs List<GetBandwidth Mbps Launch Template Instance Requirement Baseline Ebs Bandwidth Mbp> - Burstable
Performance string - Cpu
Manufacturers List<string> - Excluded
Instance List<string>Types - Instance
Generations List<string> - Local
Storage string - Local
Storage List<string>Types - Max
Spot intPrice As Percentage Of Optimal On Demand Price - Memory
Gib List<GetPer Vcpus Launch Template Instance Requirement Memory Gib Per Vcpus> - Memory
Mibs List<GetLaunch Template Instance Requirement Memory Mib> - Network
Bandwidth List<GetGbps Launch Template Instance Requirement Network Bandwidth Gbp> - Network
Interface List<GetCounts Launch Template Instance Requirement Network Interface Count> - On
Demand intMax Price Percentage Over Lowest Price - Require
Hibernate boolSupport - Spot
Max intPrice Percentage Over Lowest Price - Total
Local List<GetStorage Gbs Launch Template Instance Requirement Total Local Storage Gb> - Vcpu
Counts List<GetLaunch Template Instance Requirement Vcpu Count>
- Accelerator
Counts []GetLaunch Template Instance Requirement Accelerator Count - Accelerator
Manufacturers []string - Accelerator
Names []string - Accelerator
Total []GetMemory Mibs Launch Template Instance Requirement Accelerator Total Memory Mib - Accelerator
Types []string - Allowed
Instance []stringTypes - Bare
Metal string - Baseline
Ebs []GetBandwidth Mbps Launch Template Instance Requirement Baseline Ebs Bandwidth Mbp - Burstable
Performance string - Cpu
Manufacturers []string - Excluded
Instance []stringTypes - Instance
Generations []string - Local
Storage string - Local
Storage []stringTypes - Max
Spot intPrice As Percentage Of Optimal On Demand Price - Memory
Gib []GetPer Vcpus Launch Template Instance Requirement Memory Gib Per Vcpus - Memory
Mibs []GetLaunch Template Instance Requirement Memory Mib - Network
Bandwidth []GetGbps Launch Template Instance Requirement Network Bandwidth Gbp - Network
Interface []GetCounts Launch Template Instance Requirement Network Interface Count - On
Demand intMax Price Percentage Over Lowest Price - Require
Hibernate boolSupport - Spot
Max intPrice Percentage Over Lowest Price - Total
Local []GetStorage Gbs Launch Template Instance Requirement Total Local Storage Gb - Vcpu
Counts []GetLaunch Template Instance Requirement Vcpu Count
- accelerator
Counts List<GetLaunch Template Instance Requirement Accelerator Count> - accelerator
Manufacturers List<String> - accelerator
Names List<String> - accelerator
Total List<GetMemory Mibs Launch Template Instance Requirement Accelerator Total Memory Mib> - accelerator
Types List<String> - allowed
Instance List<String>Types - bare
Metal String - baseline
Ebs List<GetBandwidth Mbps Launch Template Instance Requirement Baseline Ebs Bandwidth Mbp> - burstable
Performance String - cpu
Manufacturers List<String> - excluded
Instance List<String>Types - instance
Generations List<String> - local
Storage String - local
Storage List<String>Types - max
Spot IntegerPrice As Percentage Of Optimal On Demand Price - memory
Gib List<GetPer Vcpus Launch Template Instance Requirement Memory Gib Per Vcpus> - memory
Mibs List<GetLaunch Template Instance Requirement Memory Mib> - network
Bandwidth List<GetGbps Launch Template Instance Requirement Network Bandwidth Gbp> - network
Interface List<GetCounts Launch Template Instance Requirement Network Interface Count> - on
Demand IntegerMax Price Percentage Over Lowest Price - require
Hibernate BooleanSupport - spot
Max IntegerPrice Percentage Over Lowest Price - total
Local List<GetStorage Gbs Launch Template Instance Requirement Total Local Storage Gb> - vcpu
Counts List<GetLaunch Template Instance Requirement Vcpu Count>
- accelerator
Counts GetLaunch Template Instance Requirement Accelerator Count[] - accelerator
Manufacturers string[] - accelerator
Names string[] - accelerator
Total GetMemory Mibs Launch Template Instance Requirement Accelerator Total Memory Mib[] - accelerator
Types string[] - allowed
Instance string[]Types - bare
Metal string - baseline
Ebs GetBandwidth Mbps Launch Template Instance Requirement Baseline Ebs Bandwidth Mbp[] - burstable
Performance string - cpu
Manufacturers string[] - excluded
Instance string[]Types - instance
Generations string[] - local
Storage string - local
Storage string[]Types - max
Spot numberPrice As Percentage Of Optimal On Demand Price - memory
Gib GetPer Vcpus Launch Template Instance Requirement Memory Gib Per Vcpus[] - memory
Mibs GetLaunch Template Instance Requirement Memory Mib[] - network
Bandwidth GetGbps Launch Template Instance Requirement Network Bandwidth Gbp[] - network
Interface GetCounts Launch Template Instance Requirement Network Interface Count[] - on
Demand numberMax Price Percentage Over Lowest Price - require
Hibernate booleanSupport - spot
Max numberPrice Percentage Over Lowest Price - total
Local GetStorage Gbs Launch Template Instance Requirement Total Local Storage Gb[] - vcpu
Counts GetLaunch Template Instance Requirement Vcpu Count[]
- accelerator_
counts Sequence[GetLaunch Template Instance Requirement Accelerator Count] - accelerator_
manufacturers Sequence[str] - accelerator_
names Sequence[str] - accelerator_
total_ Sequence[Getmemory_ mibs Launch Template Instance Requirement Accelerator Total Memory Mib] - accelerator_
types Sequence[str] - allowed_
instance_ Sequence[str]types - bare_
metal str - baseline_
ebs_ Sequence[Getbandwidth_ mbps Launch Template Instance Requirement Baseline Ebs Bandwidth Mbp] - burstable_
performance str - cpu_
manufacturers Sequence[str] - excluded_
instance_ Sequence[str]types - instance_
generations Sequence[str] - local_
storage str - local_
storage_ Sequence[str]types - max_
spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price - memory_
gib_ Sequence[Getper_ vcpus Launch Template Instance Requirement Memory Gib Per Vcpus] - memory_
mibs Sequence[GetLaunch Template Instance Requirement Memory Mib] - network_
bandwidth_ Sequence[Getgbps Launch Template Instance Requirement Network Bandwidth Gbp] - network_
interface_ Sequence[Getcounts Launch Template Instance Requirement Network Interface Count] - on_
demand_ intmax_ price_ percentage_ over_ lowest_ price - require_
hibernate_ boolsupport - spot_
max_ intprice_ percentage_ over_ lowest_ price - total_
local_ Sequence[Getstorage_ gbs Launch Template Instance Requirement Total Local Storage Gb] - vcpu_
counts Sequence[GetLaunch Template Instance Requirement Vcpu Count]
- accelerator
Counts List<Property Map> - accelerator
Manufacturers List<String> - accelerator
Names List<String> - accelerator
Total List<Property Map>Memory Mibs - accelerator
Types List<String> - allowed
Instance List<String>Types - bare
Metal String - baseline
Ebs List<Property Map>Bandwidth Mbps - burstable
Performance String - cpu
Manufacturers List<String> - excluded
Instance List<String>Types - instance
Generations List<String> - local
Storage String - local
Storage List<String>Types - max
Spot NumberPrice As Percentage Of Optimal On Demand Price - memory
Gib List<Property Map>Per Vcpus - memory
Mibs List<Property Map> - network
Bandwidth List<Property Map>Gbps - network
Interface List<Property Map>Counts - on
Demand NumberMax Price Percentage Over Lowest Price - require
Hibernate BooleanSupport - spot
Max NumberPrice Percentage Over Lowest Price - total
Local List<Property Map>Storage Gbs - vcpu
Counts List<Property Map>
GetLaunchTemplateInstanceRequirementAcceleratorCount
GetLaunchTemplateInstanceRequirementAcceleratorTotalMemoryMib
GetLaunchTemplateInstanceRequirementBaselineEbsBandwidthMbp
GetLaunchTemplateInstanceRequirementMemoryGibPerVcpus
GetLaunchTemplateInstanceRequirementMemoryMib
GetLaunchTemplateInstanceRequirementNetworkBandwidthGbp
GetLaunchTemplateInstanceRequirementNetworkInterfaceCount
GetLaunchTemplateInstanceRequirementTotalLocalStorageGb
GetLaunchTemplateInstanceRequirementVcpuCount
GetLaunchTemplateLicenseSpecification
- License
Configuration stringArn
- License
Configuration stringArn
- license
Configuration StringArn
- license
Configuration stringArn
- license
Configuration StringArn
GetLaunchTemplateMaintenanceOption
- Auto
Recovery string
- Auto
Recovery string
- auto
Recovery String
- auto
Recovery string
- auto_
recovery str
- auto
Recovery String
GetLaunchTemplateMetadataOption
- Http
Endpoint string - Http
Protocol stringIpv6 - Http
Put intResponse Hop Limit - Http
Tokens string - string
- Http
Endpoint string - Http
Protocol stringIpv6 - Http
Put intResponse Hop Limit - Http
Tokens string - string
- http
Endpoint String - http
Protocol StringIpv6 - http
Put IntegerResponse Hop Limit - http
Tokens String - String
- http
Endpoint string - http
Protocol stringIpv6 - http
Put numberResponse Hop Limit - http
Tokens string - string
- http_
endpoint str - http_
protocol_ stripv6 - http_
put_ intresponse_ hop_ limit - http_
tokens str - str
- http
Endpoint String - http
Protocol StringIpv6 - http
Put NumberResponse Hop Limit - http
Tokens String - String
GetLaunchTemplateMonitoring
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetLaunchTemplateNetworkInterface
- Associate
Carrier stringIp Address - Description string
- Device
Index int - Interface
Type string - Ipv4Address
Count int - Ipv4Addresses List<string>
- Ipv4Prefix
Count int - Ipv4Prefixes List<string>
- Ipv6Address
Count int - Ipv6Addresses List<string>
- Ipv6Prefix
Count int - Ipv6Prefixes List<string>
- Network
Card intIndex - Network
Interface stringId - Private
Ip stringAddress - Security
Groups List<string> - Subnet
Id string - Associate
Public boolIp Address - Delete
On boolTermination
- Associate
Carrier stringIp Address - Description string
- Device
Index int - Interface
Type string - Ipv4Address
Count int - Ipv4Addresses []string
- Ipv4Prefix
Count int - Ipv4Prefixes []string
- Ipv6Address
Count int - Ipv6Addresses []string
- Ipv6Prefix
Count int - Ipv6Prefixes []string
- Network
Card intIndex - Network
Interface stringId - Private
Ip stringAddress - Security
Groups []string - Subnet
Id string - Associate
Public boolIp Address - Delete
On boolTermination
- associate
Carrier StringIp Address - description String
- device
Index Integer - interface
Type String - ipv4Address
Count Integer - ipv4Addresses List<String>
- ipv4Prefix
Count Integer - ipv4Prefixes List<String>
- ipv6Address
Count Integer - ipv6Addresses List<String>
- ipv6Prefix
Count Integer - ipv6Prefixes List<String>
- network
Card IntegerIndex - network
Interface StringId - private
Ip StringAddress - security
Groups List<String> - subnet
Id String - associate
Public BooleanIp Address - delete
On BooleanTermination
- associate
Carrier stringIp Address - description string
- device
Index number - interface
Type string - ipv4Address
Count number - ipv4Addresses string[]
- ipv4Prefix
Count number - ipv4Prefixes string[]
- ipv6Address
Count number - ipv6Addresses string[]
- ipv6Prefix
Count number - ipv6Prefixes string[]
- network
Card numberIndex - network
Interface stringId - private
Ip stringAddress - security
Groups string[] - subnet
Id string - associate
Public booleanIp Address - delete
On booleanTermination
- associate_
carrier_ strip_ address - description str
- device_
index int - interface_
type str - ipv4_
address_ intcount - ipv4_
addresses Sequence[str] - ipv4_
prefix_ intcount - ipv4_
prefixes Sequence[str] - ipv6_
address_ intcount - ipv6_
addresses Sequence[str] - ipv6_
prefix_ intcount - ipv6_
prefixes Sequence[str] - network_
card_ intindex - network_
interface_ strid - private_
ip_ straddress - security_
groups Sequence[str] - subnet_
id str - associate_
public_ boolip_ address - delete_
on_ booltermination
- associate
Carrier StringIp Address - description String
- device
Index Number - interface
Type String - ipv4Address
Count Number - ipv4Addresses List<String>
- ipv4Prefix
Count Number - ipv4Prefixes List<String>
- ipv6Address
Count Number - ipv6Addresses List<String>
- ipv6Prefix
Count Number - ipv6Prefixes List<String>
- network
Card NumberIndex - network
Interface StringId - private
Ip StringAddress - security
Groups List<String> - subnet
Id String - associate
Public BooleanIp Address - delete
On BooleanTermination
GetLaunchTemplatePlacement
- Affinity string
- Availability
Zone string - Group
Name string - Host
Id string - Host
Resource stringGroup Arn - Partition
Number int - Spread
Domain string - Tenancy string
- Affinity string
- Availability
Zone string - Group
Name string - Host
Id string - Host
Resource stringGroup Arn - Partition
Number int - Spread
Domain string - Tenancy string
- affinity String
- availability
Zone String - group
Name String - host
Id String - host
Resource StringGroup Arn - partition
Number Integer - spread
Domain String - tenancy String
- affinity string
- availability
Zone string - group
Name string - host
Id string - host
Resource stringGroup Arn - partition
Number number - spread
Domain string - tenancy string
- affinity str
- availability_
zone str - group_
name str - host_
id str - host_
resource_ strgroup_ arn - partition_
number int - spread_
domain str - tenancy str
- affinity String
- availability
Zone String - group
Name String - host
Id String - host
Resource StringGroup Arn - partition
Number Number - spread
Domain String - tenancy String
GetLaunchTemplatePrivateDnsNameOption
- enable
Resource BooleanName Dns ARecord - enable
Resource BooleanName Dns Aaaa Record - hostname
Type String
- enable
Resource booleanName Dns ARecord - enable
Resource booleanName Dns Aaaa Record - hostname
Type string
- enable
Resource BooleanName Dns ARecord - enable
Resource BooleanName Dns Aaaa Record - hostname
Type String
GetLaunchTemplateTagSpecification
- Resource
Type string - Dictionary<string, string>
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- Resource
Type string - map[string]string
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- resource
Type String - Map<String,String>
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- resource
Type string - {[key: string]: string}
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- resource_
type str - Mapping[str, str]
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
- resource
Type String - Map<String>
- Map of tags, each pair of which must exactly match a pair on the desired Launch Template.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi