aws.ec2.LaunchTemplate
Explore with Pulumi AI
Provides an EC2 launch template resource. Can be used to create instances or auto scaling groups.
Create LaunchTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LaunchTemplate(name: string, args?: LaunchTemplateArgs, opts?: CustomResourceOptions);@overload
def LaunchTemplate(resource_name: str,
                   args: Optional[LaunchTemplateArgs] = None,
                   opts: Optional[ResourceOptions] = None)
@overload
def LaunchTemplate(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   block_device_mappings: Optional[Sequence[LaunchTemplateBlockDeviceMappingArgs]] = None,
                   capacity_reservation_specification: Optional[LaunchTemplateCapacityReservationSpecificationArgs] = None,
                   cpu_options: Optional[LaunchTemplateCpuOptionsArgs] = None,
                   credit_specification: Optional[LaunchTemplateCreditSpecificationArgs] = None,
                   default_version: Optional[int] = None,
                   description: Optional[str] = None,
                   disable_api_stop: Optional[bool] = None,
                   disable_api_termination: Optional[bool] = None,
                   ebs_optimized: Optional[str] = None,
                   elastic_gpu_specifications: Optional[Sequence[LaunchTemplateElasticGpuSpecificationArgs]] = None,
                   elastic_inference_accelerator: Optional[LaunchTemplateElasticInferenceAcceleratorArgs] = None,
                   enclave_options: Optional[LaunchTemplateEnclaveOptionsArgs] = None,
                   hibernation_options: Optional[LaunchTemplateHibernationOptionsArgs] = None,
                   iam_instance_profile: Optional[LaunchTemplateIamInstanceProfileArgs] = None,
                   image_id: Optional[str] = None,
                   instance_initiated_shutdown_behavior: Optional[str] = None,
                   instance_market_options: Optional[LaunchTemplateInstanceMarketOptionsArgs] = None,
                   instance_requirements: Optional[LaunchTemplateInstanceRequirementsArgs] = None,
                   instance_type: Optional[str] = None,
                   kernel_id: Optional[str] = None,
                   key_name: Optional[str] = None,
                   license_specifications: Optional[Sequence[LaunchTemplateLicenseSpecificationArgs]] = None,
                   maintenance_options: Optional[LaunchTemplateMaintenanceOptionsArgs] = None,
                   metadata_options: Optional[LaunchTemplateMetadataOptionsArgs] = None,
                   monitoring: Optional[LaunchTemplateMonitoringArgs] = None,
                   name: Optional[str] = None,
                   name_prefix: Optional[str] = None,
                   network_interfaces: Optional[Sequence[LaunchTemplateNetworkInterfaceArgs]] = None,
                   placement: Optional[LaunchTemplatePlacementArgs] = None,
                   private_dns_name_options: Optional[LaunchTemplatePrivateDnsNameOptionsArgs] = None,
                   ram_disk_id: Optional[str] = None,
                   security_group_names: Optional[Sequence[str]] = None,
                   tag_specifications: Optional[Sequence[LaunchTemplateTagSpecificationArgs]] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   update_default_version: Optional[bool] = None,
                   user_data: Optional[str] = None,
                   vpc_security_group_ids: Optional[Sequence[str]] = None)func NewLaunchTemplate(ctx *Context, name string, args *LaunchTemplateArgs, opts ...ResourceOption) (*LaunchTemplate, error)public LaunchTemplate(string name, LaunchTemplateArgs? args = null, CustomResourceOptions? opts = null)
public LaunchTemplate(String name, LaunchTemplateArgs args)
public LaunchTemplate(String name, LaunchTemplateArgs args, CustomResourceOptions options)
type: aws:ec2:LaunchTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LaunchTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var launchTemplateResource = new Aws.Ec2.LaunchTemplate("launchTemplateResource", new()
{
    BlockDeviceMappings = new[]
    {
        new Aws.Ec2.Inputs.LaunchTemplateBlockDeviceMappingArgs
        {
            DeviceName = "string",
            Ebs = new Aws.Ec2.Inputs.LaunchTemplateBlockDeviceMappingEbsArgs
            {
                DeleteOnTermination = "string",
                Encrypted = "string",
                Iops = 0,
                KmsKeyId = "string",
                SnapshotId = "string",
                Throughput = 0,
                VolumeSize = 0,
                VolumeType = "string",
            },
            NoDevice = "string",
            VirtualName = "string",
        },
    },
    CapacityReservationSpecification = new Aws.Ec2.Inputs.LaunchTemplateCapacityReservationSpecificationArgs
    {
        CapacityReservationPreference = "string",
        CapacityReservationTarget = new Aws.Ec2.Inputs.LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs
        {
            CapacityReservationId = "string",
            CapacityReservationResourceGroupArn = "string",
        },
    },
    CpuOptions = new Aws.Ec2.Inputs.LaunchTemplateCpuOptionsArgs
    {
        AmdSevSnp = "string",
        CoreCount = 0,
        ThreadsPerCore = 0,
    },
    CreditSpecification = new Aws.Ec2.Inputs.LaunchTemplateCreditSpecificationArgs
    {
        CpuCredits = "string",
    },
    DefaultVersion = 0,
    Description = "string",
    DisableApiStop = false,
    DisableApiTermination = false,
    EbsOptimized = "string",
    EnclaveOptions = new Aws.Ec2.Inputs.LaunchTemplateEnclaveOptionsArgs
    {
        Enabled = false,
    },
    HibernationOptions = new Aws.Ec2.Inputs.LaunchTemplateHibernationOptionsArgs
    {
        Configured = false,
    },
    IamInstanceProfile = new Aws.Ec2.Inputs.LaunchTemplateIamInstanceProfileArgs
    {
        Arn = "string",
        Name = "string",
    },
    ImageId = "string",
    InstanceInitiatedShutdownBehavior = "string",
    InstanceMarketOptions = new Aws.Ec2.Inputs.LaunchTemplateInstanceMarketOptionsArgs
    {
        MarketType = "string",
        SpotOptions = new Aws.Ec2.Inputs.LaunchTemplateInstanceMarketOptionsSpotOptionsArgs
        {
            BlockDurationMinutes = 0,
            InstanceInterruptionBehavior = "string",
            MaxPrice = "string",
            SpotInstanceType = "string",
            ValidUntil = "string",
        },
    },
    InstanceRequirements = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsArgs
    {
        MemoryMib = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsMemoryMibArgs
        {
            Min = 0,
            Max = 0,
        },
        VcpuCount = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsVcpuCountArgs
        {
            Min = 0,
            Max = 0,
        },
        LocalStorage = "string",
        AcceleratorTypes = new[]
        {
            "string",
        },
        LocalStorageTypes = new[]
        {
            "string",
        },
        AllowedInstanceTypes = new[]
        {
            "string",
        },
        BareMetal = "string",
        BaselineEbsBandwidthMbps = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs
        {
            Max = 0,
            Min = 0,
        },
        BurstablePerformance = "string",
        CpuManufacturers = new[]
        {
            "string",
        },
        MaxSpotPriceAsPercentageOfOptimalOnDemandPrice = 0,
        InstanceGenerations = new[]
        {
            "string",
        },
        AcceleratorManufacturers = new[]
        {
            "string",
        },
        AcceleratorTotalMemoryMib = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs
        {
            Max = 0,
            Min = 0,
        },
        ExcludedInstanceTypes = new[]
        {
            "string",
        },
        MemoryGibPerVcpu = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs
        {
            Max = 0,
            Min = 0,
        },
        AcceleratorNames = new[]
        {
            "string",
        },
        NetworkBandwidthGbps = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs
        {
            Max = 0,
            Min = 0,
        },
        NetworkInterfaceCount = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs
        {
            Max = 0,
            Min = 0,
        },
        OnDemandMaxPricePercentageOverLowestPrice = 0,
        RequireHibernateSupport = false,
        SpotMaxPricePercentageOverLowestPrice = 0,
        TotalLocalStorageGb = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs
        {
            Max = 0,
            Min = 0,
        },
        AcceleratorCount = new Aws.Ec2.Inputs.LaunchTemplateInstanceRequirementsAcceleratorCountArgs
        {
            Max = 0,
            Min = 0,
        },
    },
    InstanceType = "string",
    KernelId = "string",
    KeyName = "string",
    LicenseSpecifications = new[]
    {
        new Aws.Ec2.Inputs.LaunchTemplateLicenseSpecificationArgs
        {
            LicenseConfigurationArn = "string",
        },
    },
    MaintenanceOptions = new Aws.Ec2.Inputs.LaunchTemplateMaintenanceOptionsArgs
    {
        AutoRecovery = "string",
    },
    MetadataOptions = new Aws.Ec2.Inputs.LaunchTemplateMetadataOptionsArgs
    {
        HttpEndpoint = "string",
        HttpProtocolIpv6 = "string",
        HttpPutResponseHopLimit = 0,
        HttpTokens = "string",
        InstanceMetadataTags = "string",
    },
    Monitoring = new Aws.Ec2.Inputs.LaunchTemplateMonitoringArgs
    {
        Enabled = false,
    },
    Name = "string",
    NamePrefix = "string",
    NetworkInterfaces = new[]
    {
        new Aws.Ec2.Inputs.LaunchTemplateNetworkInterfaceArgs
        {
            AssociateCarrierIpAddress = "string",
            AssociatePublicIpAddress = "string",
            ConnectionTrackingSpecification = new Aws.Ec2.Inputs.LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs
            {
                TcpEstablishedTimeout = 0,
                UdpStreamTimeout = 0,
                UdpTimeout = 0,
            },
            DeleteOnTermination = "string",
            Description = "string",
            DeviceIndex = 0,
            EnaSrdSpecification = new Aws.Ec2.Inputs.LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs
            {
                EnaSrdEnabled = false,
                EnaSrdUdpSpecification = new Aws.Ec2.Inputs.LaunchTemplateNetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs
                {
                    EnaSrdUdpEnabled = false,
                },
            },
            InterfaceType = "string",
            Ipv4AddressCount = 0,
            Ipv4Addresses = new[]
            {
                "string",
            },
            Ipv4PrefixCount = 0,
            Ipv4Prefixes = new[]
            {
                "string",
            },
            Ipv6AddressCount = 0,
            Ipv6Addresses = new[]
            {
                "string",
            },
            Ipv6PrefixCount = 0,
            Ipv6Prefixes = new[]
            {
                "string",
            },
            NetworkCardIndex = 0,
            NetworkInterfaceId = "string",
            PrimaryIpv6 = "string",
            PrivateIpAddress = "string",
            SecurityGroups = new[]
            {
                "string",
            },
            SubnetId = "string",
        },
    },
    Placement = new Aws.Ec2.Inputs.LaunchTemplatePlacementArgs
    {
        Affinity = "string",
        AvailabilityZone = "string",
        GroupName = "string",
        HostId = "string",
        HostResourceGroupArn = "string",
        PartitionNumber = 0,
        SpreadDomain = "string",
        Tenancy = "string",
    },
    PrivateDnsNameOptions = new Aws.Ec2.Inputs.LaunchTemplatePrivateDnsNameOptionsArgs
    {
        EnableResourceNameDnsARecord = false,
        EnableResourceNameDnsAaaaRecord = false,
        HostnameType = "string",
    },
    RamDiskId = "string",
    SecurityGroupNames = new[]
    {
        "string",
    },
    TagSpecifications = new[]
    {
        new Aws.Ec2.Inputs.LaunchTemplateTagSpecificationArgs
        {
            ResourceType = "string",
            Tags = 
            {
                { "string", "string" },
            },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    UpdateDefaultVersion = false,
    UserData = "string",
    VpcSecurityGroupIds = new[]
    {
        "string",
    },
});
example, err := ec2.NewLaunchTemplate(ctx, "launchTemplateResource", &ec2.LaunchTemplateArgs{
	BlockDeviceMappings: ec2.LaunchTemplateBlockDeviceMappingArray{
		&ec2.LaunchTemplateBlockDeviceMappingArgs{
			DeviceName: pulumi.String("string"),
			Ebs: &ec2.LaunchTemplateBlockDeviceMappingEbsArgs{
				DeleteOnTermination: pulumi.String("string"),
				Encrypted:           pulumi.String("string"),
				Iops:                pulumi.Int(0),
				KmsKeyId:            pulumi.String("string"),
				SnapshotId:          pulumi.String("string"),
				Throughput:          pulumi.Int(0),
				VolumeSize:          pulumi.Int(0),
				VolumeType:          pulumi.String("string"),
			},
			NoDevice:    pulumi.String("string"),
			VirtualName: pulumi.String("string"),
		},
	},
	CapacityReservationSpecification: &ec2.LaunchTemplateCapacityReservationSpecificationArgs{
		CapacityReservationPreference: pulumi.String("string"),
		CapacityReservationTarget: &ec2.LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs{
			CapacityReservationId:               pulumi.String("string"),
			CapacityReservationResourceGroupArn: pulumi.String("string"),
		},
	},
	CpuOptions: &ec2.LaunchTemplateCpuOptionsArgs{
		AmdSevSnp:      pulumi.String("string"),
		CoreCount:      pulumi.Int(0),
		ThreadsPerCore: pulumi.Int(0),
	},
	CreditSpecification: &ec2.LaunchTemplateCreditSpecificationArgs{
		CpuCredits: pulumi.String("string"),
	},
	DefaultVersion:        pulumi.Int(0),
	Description:           pulumi.String("string"),
	DisableApiStop:        pulumi.Bool(false),
	DisableApiTermination: pulumi.Bool(false),
	EbsOptimized:          pulumi.String("string"),
	EnclaveOptions: &ec2.LaunchTemplateEnclaveOptionsArgs{
		Enabled: pulumi.Bool(false),
	},
	HibernationOptions: &ec2.LaunchTemplateHibernationOptionsArgs{
		Configured: pulumi.Bool(false),
	},
	IamInstanceProfile: &ec2.LaunchTemplateIamInstanceProfileArgs{
		Arn:  pulumi.String("string"),
		Name: pulumi.String("string"),
	},
	ImageId:                           pulumi.String("string"),
	InstanceInitiatedShutdownBehavior: pulumi.String("string"),
	InstanceMarketOptions: &ec2.LaunchTemplateInstanceMarketOptionsArgs{
		MarketType: pulumi.String("string"),
		SpotOptions: &ec2.LaunchTemplateInstanceMarketOptionsSpotOptionsArgs{
			BlockDurationMinutes:         pulumi.Int(0),
			InstanceInterruptionBehavior: pulumi.String("string"),
			MaxPrice:                     pulumi.String("string"),
			SpotInstanceType:             pulumi.String("string"),
			ValidUntil:                   pulumi.String("string"),
		},
	},
	InstanceRequirements: &ec2.LaunchTemplateInstanceRequirementsArgs{
		MemoryMib: &ec2.LaunchTemplateInstanceRequirementsMemoryMibArgs{
			Min: pulumi.Int(0),
			Max: pulumi.Int(0),
		},
		VcpuCount: &ec2.LaunchTemplateInstanceRequirementsVcpuCountArgs{
			Min: pulumi.Int(0),
			Max: pulumi.Int(0),
		},
		LocalStorage: pulumi.String("string"),
		AcceleratorTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		LocalStorageTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		AllowedInstanceTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		BareMetal: pulumi.String("string"),
		BaselineEbsBandwidthMbps: &ec2.LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs{
			Max: pulumi.Int(0),
			Min: pulumi.Int(0),
		},
		BurstablePerformance: pulumi.String("string"),
		CpuManufacturers: pulumi.StringArray{
			pulumi.String("string"),
		},
		MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: pulumi.Int(0),
		InstanceGenerations: pulumi.StringArray{
			pulumi.String("string"),
		},
		AcceleratorManufacturers: pulumi.StringArray{
			pulumi.String("string"),
		},
		AcceleratorTotalMemoryMib: &ec2.LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs{
			Max: pulumi.Int(0),
			Min: pulumi.Int(0),
		},
		ExcludedInstanceTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		MemoryGibPerVcpu: &ec2.LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs{
			Max: pulumi.Float64(0),
			Min: pulumi.Float64(0),
		},
		AcceleratorNames: pulumi.StringArray{
			pulumi.String("string"),
		},
		NetworkBandwidthGbps: &ec2.LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs{
			Max: pulumi.Float64(0),
			Min: pulumi.Float64(0),
		},
		NetworkInterfaceCount: &ec2.LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs{
			Max: pulumi.Int(0),
			Min: pulumi.Int(0),
		},
		OnDemandMaxPricePercentageOverLowestPrice: pulumi.Int(0),
		RequireHibernateSupport:                   pulumi.Bool(false),
		SpotMaxPricePercentageOverLowestPrice:     pulumi.Int(0),
		TotalLocalStorageGb: &ec2.LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs{
			Max: pulumi.Float64(0),
			Min: pulumi.Float64(0),
		},
		AcceleratorCount: &ec2.LaunchTemplateInstanceRequirementsAcceleratorCountArgs{
			Max: pulumi.Int(0),
			Min: pulumi.Int(0),
		},
	},
	InstanceType: pulumi.String("string"),
	KernelId:     pulumi.String("string"),
	KeyName:      pulumi.String("string"),
	LicenseSpecifications: ec2.LaunchTemplateLicenseSpecificationArray{
		&ec2.LaunchTemplateLicenseSpecificationArgs{
			LicenseConfigurationArn: pulumi.String("string"),
		},
	},
	MaintenanceOptions: &ec2.LaunchTemplateMaintenanceOptionsArgs{
		AutoRecovery: pulumi.String("string"),
	},
	MetadataOptions: &ec2.LaunchTemplateMetadataOptionsArgs{
		HttpEndpoint:            pulumi.String("string"),
		HttpProtocolIpv6:        pulumi.String("string"),
		HttpPutResponseHopLimit: pulumi.Int(0),
		HttpTokens:              pulumi.String("string"),
		InstanceMetadataTags:    pulumi.String("string"),
	},
	Monitoring: &ec2.LaunchTemplateMonitoringArgs{
		Enabled: pulumi.Bool(false),
	},
	Name:       pulumi.String("string"),
	NamePrefix: pulumi.String("string"),
	NetworkInterfaces: ec2.LaunchTemplateNetworkInterfaceArray{
		&ec2.LaunchTemplateNetworkInterfaceArgs{
			AssociateCarrierIpAddress: pulumi.String("string"),
			AssociatePublicIpAddress:  pulumi.String("string"),
			ConnectionTrackingSpecification: &ec2.LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs{
				TcpEstablishedTimeout: pulumi.Int(0),
				UdpStreamTimeout:      pulumi.Int(0),
				UdpTimeout:            pulumi.Int(0),
			},
			DeleteOnTermination: pulumi.String("string"),
			Description:         pulumi.String("string"),
			DeviceIndex:         pulumi.Int(0),
			EnaSrdSpecification: &ec2.LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs{
				EnaSrdEnabled: pulumi.Bool(false),
				EnaSrdUdpSpecification: &ec2.LaunchTemplateNetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs{
					EnaSrdUdpEnabled: pulumi.Bool(false),
				},
			},
			InterfaceType:    pulumi.String("string"),
			Ipv4AddressCount: pulumi.Int(0),
			Ipv4Addresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			Ipv4PrefixCount: pulumi.Int(0),
			Ipv4Prefixes: pulumi.StringArray{
				pulumi.String("string"),
			},
			Ipv6AddressCount: pulumi.Int(0),
			Ipv6Addresses: pulumi.StringArray{
				pulumi.String("string"),
			},
			Ipv6PrefixCount: pulumi.Int(0),
			Ipv6Prefixes: pulumi.StringArray{
				pulumi.String("string"),
			},
			NetworkCardIndex:   pulumi.Int(0),
			NetworkInterfaceId: pulumi.String("string"),
			PrimaryIpv6:        pulumi.String("string"),
			PrivateIpAddress:   pulumi.String("string"),
			SecurityGroups: pulumi.StringArray{
				pulumi.String("string"),
			},
			SubnetId: pulumi.String("string"),
		},
	},
	Placement: &ec2.LaunchTemplatePlacementArgs{
		Affinity:             pulumi.String("string"),
		AvailabilityZone:     pulumi.String("string"),
		GroupName:            pulumi.String("string"),
		HostId:               pulumi.String("string"),
		HostResourceGroupArn: pulumi.String("string"),
		PartitionNumber:      pulumi.Int(0),
		SpreadDomain:         pulumi.String("string"),
		Tenancy:              pulumi.String("string"),
	},
	PrivateDnsNameOptions: &ec2.LaunchTemplatePrivateDnsNameOptionsArgs{
		EnableResourceNameDnsARecord:    pulumi.Bool(false),
		EnableResourceNameDnsAaaaRecord: pulumi.Bool(false),
		HostnameType:                    pulumi.String("string"),
	},
	RamDiskId: pulumi.String("string"),
	SecurityGroupNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	TagSpecifications: ec2.LaunchTemplateTagSpecificationArray{
		&ec2.LaunchTemplateTagSpecificationArgs{
			ResourceType: pulumi.String("string"),
			Tags: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	UpdateDefaultVersion: pulumi.Bool(false),
	UserData:             pulumi.String("string"),
	VpcSecurityGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var launchTemplateResource = new LaunchTemplate("launchTemplateResource", LaunchTemplateArgs.builder()
    .blockDeviceMappings(LaunchTemplateBlockDeviceMappingArgs.builder()
        .deviceName("string")
        .ebs(LaunchTemplateBlockDeviceMappingEbsArgs.builder()
            .deleteOnTermination("string")
            .encrypted("string")
            .iops(0)
            .kmsKeyId("string")
            .snapshotId("string")
            .throughput(0)
            .volumeSize(0)
            .volumeType("string")
            .build())
        .noDevice("string")
        .virtualName("string")
        .build())
    .capacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationArgs.builder()
        .capacityReservationPreference("string")
        .capacityReservationTarget(LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs.builder()
            .capacityReservationId("string")
            .capacityReservationResourceGroupArn("string")
            .build())
        .build())
    .cpuOptions(LaunchTemplateCpuOptionsArgs.builder()
        .amdSevSnp("string")
        .coreCount(0)
        .threadsPerCore(0)
        .build())
    .creditSpecification(LaunchTemplateCreditSpecificationArgs.builder()
        .cpuCredits("string")
        .build())
    .defaultVersion(0)
    .description("string")
    .disableApiStop(false)
    .disableApiTermination(false)
    .ebsOptimized("string")
    .enclaveOptions(LaunchTemplateEnclaveOptionsArgs.builder()
        .enabled(false)
        .build())
    .hibernationOptions(LaunchTemplateHibernationOptionsArgs.builder()
        .configured(false)
        .build())
    .iamInstanceProfile(LaunchTemplateIamInstanceProfileArgs.builder()
        .arn("string")
        .name("string")
        .build())
    .imageId("string")
    .instanceInitiatedShutdownBehavior("string")
    .instanceMarketOptions(LaunchTemplateInstanceMarketOptionsArgs.builder()
        .marketType("string")
        .spotOptions(LaunchTemplateInstanceMarketOptionsSpotOptionsArgs.builder()
            .blockDurationMinutes(0)
            .instanceInterruptionBehavior("string")
            .maxPrice("string")
            .spotInstanceType("string")
            .validUntil("string")
            .build())
        .build())
    .instanceRequirements(LaunchTemplateInstanceRequirementsArgs.builder()
        .memoryMib(LaunchTemplateInstanceRequirementsMemoryMibArgs.builder()
            .min(0)
            .max(0)
            .build())
        .vcpuCount(LaunchTemplateInstanceRequirementsVcpuCountArgs.builder()
            .min(0)
            .max(0)
            .build())
        .localStorage("string")
        .acceleratorTypes("string")
        .localStorageTypes("string")
        .allowedInstanceTypes("string")
        .bareMetal("string")
        .baselineEbsBandwidthMbps(LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs.builder()
            .max(0)
            .min(0)
            .build())
        .burstablePerformance("string")
        .cpuManufacturers("string")
        .maxSpotPriceAsPercentageOfOptimalOnDemandPrice(0)
        .instanceGenerations("string")
        .acceleratorManufacturers("string")
        .acceleratorTotalMemoryMib(LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs.builder()
            .max(0)
            .min(0)
            .build())
        .excludedInstanceTypes("string")
        .memoryGibPerVcpu(LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs.builder()
            .max(0)
            .min(0)
            .build())
        .acceleratorNames("string")
        .networkBandwidthGbps(LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs.builder()
            .max(0)
            .min(0)
            .build())
        .networkInterfaceCount(LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs.builder()
            .max(0)
            .min(0)
            .build())
        .onDemandMaxPricePercentageOverLowestPrice(0)
        .requireHibernateSupport(false)
        .spotMaxPricePercentageOverLowestPrice(0)
        .totalLocalStorageGb(LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs.builder()
            .max(0)
            .min(0)
            .build())
        .acceleratorCount(LaunchTemplateInstanceRequirementsAcceleratorCountArgs.builder()
            .max(0)
            .min(0)
            .build())
        .build())
    .instanceType("string")
    .kernelId("string")
    .keyName("string")
    .licenseSpecifications(LaunchTemplateLicenseSpecificationArgs.builder()
        .licenseConfigurationArn("string")
        .build())
    .maintenanceOptions(LaunchTemplateMaintenanceOptionsArgs.builder()
        .autoRecovery("string")
        .build())
    .metadataOptions(LaunchTemplateMetadataOptionsArgs.builder()
        .httpEndpoint("string")
        .httpProtocolIpv6("string")
        .httpPutResponseHopLimit(0)
        .httpTokens("string")
        .instanceMetadataTags("string")
        .build())
    .monitoring(LaunchTemplateMonitoringArgs.builder()
        .enabled(false)
        .build())
    .name("string")
    .namePrefix("string")
    .networkInterfaces(LaunchTemplateNetworkInterfaceArgs.builder()
        .associateCarrierIpAddress("string")
        .associatePublicIpAddress("string")
        .connectionTrackingSpecification(LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs.builder()
            .tcpEstablishedTimeout(0)
            .udpStreamTimeout(0)
            .udpTimeout(0)
            .build())
        .deleteOnTermination("string")
        .description("string")
        .deviceIndex(0)
        .enaSrdSpecification(LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs.builder()
            .enaSrdEnabled(false)
            .enaSrdUdpSpecification(LaunchTemplateNetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs.builder()
                .enaSrdUdpEnabled(false)
                .build())
            .build())
        .interfaceType("string")
        .ipv4AddressCount(0)
        .ipv4Addresses("string")
        .ipv4PrefixCount(0)
        .ipv4Prefixes("string")
        .ipv6AddressCount(0)
        .ipv6Addresses("string")
        .ipv6PrefixCount(0)
        .ipv6Prefixes("string")
        .networkCardIndex(0)
        .networkInterfaceId("string")
        .primaryIpv6("string")
        .privateIpAddress("string")
        .securityGroups("string")
        .subnetId("string")
        .build())
    .placement(LaunchTemplatePlacementArgs.builder()
        .affinity("string")
        .availabilityZone("string")
        .groupName("string")
        .hostId("string")
        .hostResourceGroupArn("string")
        .partitionNumber(0)
        .spreadDomain("string")
        .tenancy("string")
        .build())
    .privateDnsNameOptions(LaunchTemplatePrivateDnsNameOptionsArgs.builder()
        .enableResourceNameDnsARecord(false)
        .enableResourceNameDnsAaaaRecord(false)
        .hostnameType("string")
        .build())
    .ramDiskId("string")
    .securityGroupNames("string")
    .tagSpecifications(LaunchTemplateTagSpecificationArgs.builder()
        .resourceType("string")
        .tags(Map.of("string", "string"))
        .build())
    .tags(Map.of("string", "string"))
    .updateDefaultVersion(false)
    .userData("string")
    .vpcSecurityGroupIds("string")
    .build());
launch_template_resource = aws.ec2.LaunchTemplate("launchTemplateResource",
    block_device_mappings=[{
        "device_name": "string",
        "ebs": {
            "delete_on_termination": "string",
            "encrypted": "string",
            "iops": 0,
            "kms_key_id": "string",
            "snapshot_id": "string",
            "throughput": 0,
            "volume_size": 0,
            "volume_type": "string",
        },
        "no_device": "string",
        "virtual_name": "string",
    }],
    capacity_reservation_specification={
        "capacity_reservation_preference": "string",
        "capacity_reservation_target": {
            "capacity_reservation_id": "string",
            "capacity_reservation_resource_group_arn": "string",
        },
    },
    cpu_options={
        "amd_sev_snp": "string",
        "core_count": 0,
        "threads_per_core": 0,
    },
    credit_specification={
        "cpu_credits": "string",
    },
    default_version=0,
    description="string",
    disable_api_stop=False,
    disable_api_termination=False,
    ebs_optimized="string",
    enclave_options={
        "enabled": False,
    },
    hibernation_options={
        "configured": False,
    },
    iam_instance_profile={
        "arn": "string",
        "name": "string",
    },
    image_id="string",
    instance_initiated_shutdown_behavior="string",
    instance_market_options={
        "market_type": "string",
        "spot_options": {
            "block_duration_minutes": 0,
            "instance_interruption_behavior": "string",
            "max_price": "string",
            "spot_instance_type": "string",
            "valid_until": "string",
        },
    },
    instance_requirements={
        "memory_mib": {
            "min": 0,
            "max": 0,
        },
        "vcpu_count": {
            "min": 0,
            "max": 0,
        },
        "local_storage": "string",
        "accelerator_types": ["string"],
        "local_storage_types": ["string"],
        "allowed_instance_types": ["string"],
        "bare_metal": "string",
        "baseline_ebs_bandwidth_mbps": {
            "max": 0,
            "min": 0,
        },
        "burstable_performance": "string",
        "cpu_manufacturers": ["string"],
        "max_spot_price_as_percentage_of_optimal_on_demand_price": 0,
        "instance_generations": ["string"],
        "accelerator_manufacturers": ["string"],
        "accelerator_total_memory_mib": {
            "max": 0,
            "min": 0,
        },
        "excluded_instance_types": ["string"],
        "memory_gib_per_vcpu": {
            "max": 0,
            "min": 0,
        },
        "accelerator_names": ["string"],
        "network_bandwidth_gbps": {
            "max": 0,
            "min": 0,
        },
        "network_interface_count": {
            "max": 0,
            "min": 0,
        },
        "on_demand_max_price_percentage_over_lowest_price": 0,
        "require_hibernate_support": False,
        "spot_max_price_percentage_over_lowest_price": 0,
        "total_local_storage_gb": {
            "max": 0,
            "min": 0,
        },
        "accelerator_count": {
            "max": 0,
            "min": 0,
        },
    },
    instance_type="string",
    kernel_id="string",
    key_name="string",
    license_specifications=[{
        "license_configuration_arn": "string",
    }],
    maintenance_options={
        "auto_recovery": "string",
    },
    metadata_options={
        "http_endpoint": "string",
        "http_protocol_ipv6": "string",
        "http_put_response_hop_limit": 0,
        "http_tokens": "string",
        "instance_metadata_tags": "string",
    },
    monitoring={
        "enabled": False,
    },
    name="string",
    name_prefix="string",
    network_interfaces=[{
        "associate_carrier_ip_address": "string",
        "associate_public_ip_address": "string",
        "connection_tracking_specification": {
            "tcp_established_timeout": 0,
            "udp_stream_timeout": 0,
            "udp_timeout": 0,
        },
        "delete_on_termination": "string",
        "description": "string",
        "device_index": 0,
        "ena_srd_specification": {
            "ena_srd_enabled": False,
            "ena_srd_udp_specification": {
                "ena_srd_udp_enabled": False,
            },
        },
        "interface_type": "string",
        "ipv4_address_count": 0,
        "ipv4_addresses": ["string"],
        "ipv4_prefix_count": 0,
        "ipv4_prefixes": ["string"],
        "ipv6_address_count": 0,
        "ipv6_addresses": ["string"],
        "ipv6_prefix_count": 0,
        "ipv6_prefixes": ["string"],
        "network_card_index": 0,
        "network_interface_id": "string",
        "primary_ipv6": "string",
        "private_ip_address": "string",
        "security_groups": ["string"],
        "subnet_id": "string",
    }],
    placement={
        "affinity": "string",
        "availability_zone": "string",
        "group_name": "string",
        "host_id": "string",
        "host_resource_group_arn": "string",
        "partition_number": 0,
        "spread_domain": "string",
        "tenancy": "string",
    },
    private_dns_name_options={
        "enable_resource_name_dns_a_record": False,
        "enable_resource_name_dns_aaaa_record": False,
        "hostname_type": "string",
    },
    ram_disk_id="string",
    security_group_names=["string"],
    tag_specifications=[{
        "resource_type": "string",
        "tags": {
            "string": "string",
        },
    }],
    tags={
        "string": "string",
    },
    update_default_version=False,
    user_data="string",
    vpc_security_group_ids=["string"])
const launchTemplateResource = new aws.ec2.LaunchTemplate("launchTemplateResource", {
    blockDeviceMappings: [{
        deviceName: "string",
        ebs: {
            deleteOnTermination: "string",
            encrypted: "string",
            iops: 0,
            kmsKeyId: "string",
            snapshotId: "string",
            throughput: 0,
            volumeSize: 0,
            volumeType: "string",
        },
        noDevice: "string",
        virtualName: "string",
    }],
    capacityReservationSpecification: {
        capacityReservationPreference: "string",
        capacityReservationTarget: {
            capacityReservationId: "string",
            capacityReservationResourceGroupArn: "string",
        },
    },
    cpuOptions: {
        amdSevSnp: "string",
        coreCount: 0,
        threadsPerCore: 0,
    },
    creditSpecification: {
        cpuCredits: "string",
    },
    defaultVersion: 0,
    description: "string",
    disableApiStop: false,
    disableApiTermination: false,
    ebsOptimized: "string",
    enclaveOptions: {
        enabled: false,
    },
    hibernationOptions: {
        configured: false,
    },
    iamInstanceProfile: {
        arn: "string",
        name: "string",
    },
    imageId: "string",
    instanceInitiatedShutdownBehavior: "string",
    instanceMarketOptions: {
        marketType: "string",
        spotOptions: {
            blockDurationMinutes: 0,
            instanceInterruptionBehavior: "string",
            maxPrice: "string",
            spotInstanceType: "string",
            validUntil: "string",
        },
    },
    instanceRequirements: {
        memoryMib: {
            min: 0,
            max: 0,
        },
        vcpuCount: {
            min: 0,
            max: 0,
        },
        localStorage: "string",
        acceleratorTypes: ["string"],
        localStorageTypes: ["string"],
        allowedInstanceTypes: ["string"],
        bareMetal: "string",
        baselineEbsBandwidthMbps: {
            max: 0,
            min: 0,
        },
        burstablePerformance: "string",
        cpuManufacturers: ["string"],
        maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 0,
        instanceGenerations: ["string"],
        acceleratorManufacturers: ["string"],
        acceleratorTotalMemoryMib: {
            max: 0,
            min: 0,
        },
        excludedInstanceTypes: ["string"],
        memoryGibPerVcpu: {
            max: 0,
            min: 0,
        },
        acceleratorNames: ["string"],
        networkBandwidthGbps: {
            max: 0,
            min: 0,
        },
        networkInterfaceCount: {
            max: 0,
            min: 0,
        },
        onDemandMaxPricePercentageOverLowestPrice: 0,
        requireHibernateSupport: false,
        spotMaxPricePercentageOverLowestPrice: 0,
        totalLocalStorageGb: {
            max: 0,
            min: 0,
        },
        acceleratorCount: {
            max: 0,
            min: 0,
        },
    },
    instanceType: "string",
    kernelId: "string",
    keyName: "string",
    licenseSpecifications: [{
        licenseConfigurationArn: "string",
    }],
    maintenanceOptions: {
        autoRecovery: "string",
    },
    metadataOptions: {
        httpEndpoint: "string",
        httpProtocolIpv6: "string",
        httpPutResponseHopLimit: 0,
        httpTokens: "string",
        instanceMetadataTags: "string",
    },
    monitoring: {
        enabled: false,
    },
    name: "string",
    namePrefix: "string",
    networkInterfaces: [{
        associateCarrierIpAddress: "string",
        associatePublicIpAddress: "string",
        connectionTrackingSpecification: {
            tcpEstablishedTimeout: 0,
            udpStreamTimeout: 0,
            udpTimeout: 0,
        },
        deleteOnTermination: "string",
        description: "string",
        deviceIndex: 0,
        enaSrdSpecification: {
            enaSrdEnabled: false,
            enaSrdUdpSpecification: {
                enaSrdUdpEnabled: false,
            },
        },
        interfaceType: "string",
        ipv4AddressCount: 0,
        ipv4Addresses: ["string"],
        ipv4PrefixCount: 0,
        ipv4Prefixes: ["string"],
        ipv6AddressCount: 0,
        ipv6Addresses: ["string"],
        ipv6PrefixCount: 0,
        ipv6Prefixes: ["string"],
        networkCardIndex: 0,
        networkInterfaceId: "string",
        primaryIpv6: "string",
        privateIpAddress: "string",
        securityGroups: ["string"],
        subnetId: "string",
    }],
    placement: {
        affinity: "string",
        availabilityZone: "string",
        groupName: "string",
        hostId: "string",
        hostResourceGroupArn: "string",
        partitionNumber: 0,
        spreadDomain: "string",
        tenancy: "string",
    },
    privateDnsNameOptions: {
        enableResourceNameDnsARecord: false,
        enableResourceNameDnsAaaaRecord: false,
        hostnameType: "string",
    },
    ramDiskId: "string",
    securityGroupNames: ["string"],
    tagSpecifications: [{
        resourceType: "string",
        tags: {
            string: "string",
        },
    }],
    tags: {
        string: "string",
    },
    updateDefaultVersion: false,
    userData: "string",
    vpcSecurityGroupIds: ["string"],
});
type: aws:ec2:LaunchTemplate
properties:
    blockDeviceMappings:
        - deviceName: string
          ebs:
            deleteOnTermination: string
            encrypted: string
            iops: 0
            kmsKeyId: string
            snapshotId: string
            throughput: 0
            volumeSize: 0
            volumeType: string
          noDevice: string
          virtualName: string
    capacityReservationSpecification:
        capacityReservationPreference: string
        capacityReservationTarget:
            capacityReservationId: string
            capacityReservationResourceGroupArn: string
    cpuOptions:
        amdSevSnp: string
        coreCount: 0
        threadsPerCore: 0
    creditSpecification:
        cpuCredits: string
    defaultVersion: 0
    description: string
    disableApiStop: false
    disableApiTermination: false
    ebsOptimized: string
    enclaveOptions:
        enabled: false
    hibernationOptions:
        configured: false
    iamInstanceProfile:
        arn: string
        name: string
    imageId: string
    instanceInitiatedShutdownBehavior: string
    instanceMarketOptions:
        marketType: string
        spotOptions:
            blockDurationMinutes: 0
            instanceInterruptionBehavior: string
            maxPrice: string
            spotInstanceType: string
            validUntil: string
    instanceRequirements:
        acceleratorCount:
            max: 0
            min: 0
        acceleratorManufacturers:
            - string
        acceleratorNames:
            - string
        acceleratorTotalMemoryMib:
            max: 0
            min: 0
        acceleratorTypes:
            - string
        allowedInstanceTypes:
            - string
        bareMetal: string
        baselineEbsBandwidthMbps:
            max: 0
            min: 0
        burstablePerformance: string
        cpuManufacturers:
            - string
        excludedInstanceTypes:
            - string
        instanceGenerations:
            - string
        localStorage: string
        localStorageTypes:
            - string
        maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 0
        memoryGibPerVcpu:
            max: 0
            min: 0
        memoryMib:
            max: 0
            min: 0
        networkBandwidthGbps:
            max: 0
            min: 0
        networkInterfaceCount:
            max: 0
            min: 0
        onDemandMaxPricePercentageOverLowestPrice: 0
        requireHibernateSupport: false
        spotMaxPricePercentageOverLowestPrice: 0
        totalLocalStorageGb:
            max: 0
            min: 0
        vcpuCount:
            max: 0
            min: 0
    instanceType: string
    kernelId: string
    keyName: string
    licenseSpecifications:
        - licenseConfigurationArn: string
    maintenanceOptions:
        autoRecovery: string
    metadataOptions:
        httpEndpoint: string
        httpProtocolIpv6: string
        httpPutResponseHopLimit: 0
        httpTokens: string
        instanceMetadataTags: string
    monitoring:
        enabled: false
    name: string
    namePrefix: string
    networkInterfaces:
        - associateCarrierIpAddress: string
          associatePublicIpAddress: string
          connectionTrackingSpecification:
            tcpEstablishedTimeout: 0
            udpStreamTimeout: 0
            udpTimeout: 0
          deleteOnTermination: string
          description: string
          deviceIndex: 0
          enaSrdSpecification:
            enaSrdEnabled: false
            enaSrdUdpSpecification:
                enaSrdUdpEnabled: false
          interfaceType: string
          ipv4AddressCount: 0
          ipv4Addresses:
            - string
          ipv4PrefixCount: 0
          ipv4Prefixes:
            - string
          ipv6AddressCount: 0
          ipv6Addresses:
            - string
          ipv6PrefixCount: 0
          ipv6Prefixes:
            - string
          networkCardIndex: 0
          networkInterfaceId: string
          primaryIpv6: string
          privateIpAddress: string
          securityGroups:
            - string
          subnetId: string
    placement:
        affinity: string
        availabilityZone: string
        groupName: string
        hostId: string
        hostResourceGroupArn: string
        partitionNumber: 0
        spreadDomain: string
        tenancy: string
    privateDnsNameOptions:
        enableResourceNameDnsARecord: false
        enableResourceNameDnsAaaaRecord: false
        hostnameType: string
    ramDiskId: string
    securityGroupNames:
        - string
    tagSpecifications:
        - resourceType: string
          tags:
            string: string
    tags:
        string: string
    updateDefaultVersion: false
    userData: string
    vpcSecurityGroupIds:
        - string
LaunchTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LaunchTemplate resource accepts the following input properties:
- BlockDevice List<LaunchMappings Template Block Device Mapping> 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- CapacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- CpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- CreditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- DefaultVersion int
- Default Version of the launch template.
- Description string
- Description of the launch template.
- DisableApi boolStop 
- If true, enables EC2 Instance Stop Protection.
- DisableApi boolTermination 
- If true, enables EC2 Instance Termination Protection
- EbsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- ElasticGpu List<LaunchSpecifications Template Elastic Gpu Specification> 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- ElasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- EnclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- HibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- IamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- ImageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- InstanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- InstanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- InstanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- InstanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- KernelId string
- The kernel ID.
- KeyName string
- The key name to use for the instance.
- LicenseSpecifications List<LaunchTemplate License Specification> 
- A list of license specifications to associate with. See License Specification below for more details.
- MaintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- MetadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- Monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- Name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NetworkInterfaces List<LaunchTemplate Network Interface> 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- Placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- PrivateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- RamDisk stringId 
- The ID of the RAM disk.
- SecurityGroup List<string>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
List<LaunchTemplate Tag Specification> 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Dictionary<string, string>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- UpdateDefault boolVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- UserData string
- The base64-encoded user data to provide when launching the instance.
- VpcSecurity List<string>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- BlockDevice []LaunchMappings Template Block Device Mapping Args 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- CapacityReservation LaunchSpecification Template Capacity Reservation Specification Args 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- CpuOptions LaunchTemplate Cpu Options Args 
- The CPU options for the instance. See CPU Options below for more details.
- CreditSpecification LaunchTemplate Credit Specification Args 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- DefaultVersion int
- Default Version of the launch template.
- Description string
- Description of the launch template.
- DisableApi boolStop 
- If true, enables EC2 Instance Stop Protection.
- DisableApi boolTermination 
- If true, enables EC2 Instance Termination Protection
- EbsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- ElasticGpu []LaunchSpecifications Template Elastic Gpu Specification Args 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- ElasticInference LaunchAccelerator Template Elastic Inference Accelerator Args 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- EnclaveOptions LaunchTemplate Enclave Options Args 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- HibernationOptions LaunchTemplate Hibernation Options Args 
- The hibernation options for the instance. See Hibernation Options below for more details.
- IamInstance LaunchProfile Template Iam Instance Profile Args 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- ImageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- InstanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- InstanceMarket LaunchOptions Template Instance Market Options Args 
- The market (purchasing) option for the instance. See Market Options below for details.
- InstanceRequirements LaunchTemplate Instance Requirements Args 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- InstanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- KernelId string
- The kernel ID.
- KeyName string
- The key name to use for the instance.
- LicenseSpecifications []LaunchTemplate License Specification Args 
- A list of license specifications to associate with. See License Specification below for more details.
- MaintenanceOptions LaunchTemplate Maintenance Options Args 
- The maintenance options for the instance. See Maintenance Options below for more details.
- MetadataOptions LaunchTemplate Metadata Options Args 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- Monitoring
LaunchTemplate Monitoring Args 
- The monitoring option for the instance. See Monitoring below for more details.
- Name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NetworkInterfaces []LaunchTemplate Network Interface Args 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- Placement
LaunchTemplate Placement Args 
- The placement of the instance. See Placement below for more details.
- PrivateDns LaunchName Options Template Private Dns Name Options Args 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- RamDisk stringId 
- The ID of the RAM disk.
- SecurityGroup []stringNames 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
[]LaunchTemplate Tag Specification Args 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- map[string]string
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- UpdateDefault boolVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- UserData string
- The base64-encoded user data to provide when launching the instance.
- VpcSecurity []stringGroup Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- blockDevice List<LaunchMappings Template Block Device Mapping> 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion Integer
- Default Version of the launch template.
- description String
- Description of the launch template.
- disableApi BooleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi BooleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized String
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu List<LaunchSpecifications Template Elastic Gpu Specification> 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId String
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated StringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType String
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId String
- The kernel ID.
- keyName String
- The key name to use for the instance.
- licenseSpecifications List<LaunchTemplate License Specification> 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- name String
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces List<LaunchTemplate Network Interface> 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- privateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk StringId 
- The ID of the RAM disk.
- securityGroup List<String>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
List<LaunchTemplate Tag Specification> 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Map<String,String>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- updateDefault BooleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData String
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity List<String>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- blockDevice LaunchMappings Template Block Device Mapping[] 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion number
- Default Version of the launch template.
- description string
- Description of the launch template.
- disableApi booleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi booleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu LaunchSpecifications Template Elastic Gpu Specification[] 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId string
- The kernel ID.
- keyName string
- The key name to use for the instance.
- licenseSpecifications LaunchTemplate License Specification[] 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces LaunchTemplate Network Interface[] 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- privateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk stringId 
- The ID of the RAM disk.
- securityGroup string[]Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
LaunchTemplate Tag Specification[] 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- {[key: string]: string}
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- updateDefault booleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData string
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity string[]Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- block_device_ Sequence[Launchmappings Template Block Device Mapping Args] 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacity_reservation_ Launchspecification Template Capacity Reservation Specification Args 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpu_options LaunchTemplate Cpu Options Args 
- The CPU options for the instance. See CPU Options below for more details.
- credit_specification LaunchTemplate Credit Specification Args 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- default_version int
- Default Version of the launch template.
- description str
- Description of the launch template.
- disable_api_ boolstop 
- If true, enables EC2 Instance Stop Protection.
- disable_api_ booltermination 
- If true, enables EC2 Instance Termination Protection
- ebs_optimized str
- If true, the launched EC2 instance will be EBS-optimized.
- elastic_gpu_ Sequence[Launchspecifications Template Elastic Gpu Specification Args] 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elastic_inference_ Launchaccelerator Template Elastic Inference Accelerator Args 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclave_options LaunchTemplate Enclave Options Args 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernation_options LaunchTemplate Hibernation Options Args 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iam_instance_ Launchprofile Template Iam Instance Profile Args 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- image_id str
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instance_initiated_ strshutdown_ behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instance_market_ Launchoptions Template Instance Market Options Args 
- The market (purchasing) option for the instance. See Market Options below for details.
- instance_requirements LaunchTemplate Instance Requirements Args 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instance_type str
- The type of the instance. If present then instance_requirementscannot be present.
- kernel_id str
- The kernel ID.
- key_name str
- The key name to use for the instance.
- license_specifications Sequence[LaunchTemplate License Specification Args] 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenance_options LaunchTemplate Maintenance Options Args 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadata_options LaunchTemplate Metadata Options Args 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring Args 
- The monitoring option for the instance. See Monitoring below for more details.
- name str
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- network_interfaces Sequence[LaunchTemplate Network Interface Args] 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement Args 
- The placement of the instance. See Placement below for more details.
- private_dns_ Launchname_ options Template Private Dns Name Options Args 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ram_disk_ strid 
- The ID of the RAM disk.
- security_group_ Sequence[str]names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- tag_specifications Sequence[LaunchTemplate Tag Specification Args] 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Mapping[str, str]
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- update_default_ boolversion 
- Whether to update Default Version each update. Conflicts with default_version.
- user_data str
- The base64-encoded user data to provide when launching the instance.
- vpc_security_ Sequence[str]group_ ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- blockDevice List<Property Map>Mappings 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation Property MapSpecification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions Property Map
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification Property Map
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion Number
- Default Version of the launch template.
- description String
- Description of the launch template.
- disableApi BooleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi BooleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized String
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu List<Property Map>Specifications 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference Property MapAccelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions Property Map
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions Property Map
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance Property MapProfile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId String
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated StringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket Property MapOptions 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements Property Map
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType String
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId String
- The kernel ID.
- keyName String
- The key name to use for the instance.
- licenseSpecifications List<Property Map>
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions Property Map
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions Property Map
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring Property Map
- The monitoring option for the instance. See Monitoring below for more details.
- name String
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces List<Property Map>
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement Property Map
- The placement of the instance. See Placement below for more details.
- privateDns Property MapName Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk StringId 
- The ID of the RAM disk.
- securityGroup List<String>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- List<Property Map>
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Map<String>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- updateDefault BooleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData String
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity List<String>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
Outputs
All input properties are implicitly available as output properties. Additionally, the LaunchTemplate resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the launch template.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestVersion int
- The latest version of the launch template.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- Amazon Resource Name (ARN) of the launch template.
- Id string
- The provider-assigned unique ID for this managed resource.
- LatestVersion int
- The latest version of the launch template.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the launch template.
- id String
- The provider-assigned unique ID for this managed resource.
- latestVersion Integer
- The latest version of the launch template.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of the launch template.
- id string
- The provider-assigned unique ID for this managed resource.
- latestVersion number
- The latest version of the launch template.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- Amazon Resource Name (ARN) of the launch template.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_version int
- The latest version of the launch template.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the launch template.
- id String
- The provider-assigned unique ID for this managed resource.
- latestVersion Number
- The latest version of the launch template.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing LaunchTemplate Resource
Get an existing LaunchTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LaunchTemplateState, opts?: CustomResourceOptions): LaunchTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        block_device_mappings: Optional[Sequence[LaunchTemplateBlockDeviceMappingArgs]] = None,
        capacity_reservation_specification: Optional[LaunchTemplateCapacityReservationSpecificationArgs] = None,
        cpu_options: Optional[LaunchTemplateCpuOptionsArgs] = None,
        credit_specification: Optional[LaunchTemplateCreditSpecificationArgs] = None,
        default_version: Optional[int] = None,
        description: Optional[str] = None,
        disable_api_stop: Optional[bool] = None,
        disable_api_termination: Optional[bool] = None,
        ebs_optimized: Optional[str] = None,
        elastic_gpu_specifications: Optional[Sequence[LaunchTemplateElasticGpuSpecificationArgs]] = None,
        elastic_inference_accelerator: Optional[LaunchTemplateElasticInferenceAcceleratorArgs] = None,
        enclave_options: Optional[LaunchTemplateEnclaveOptionsArgs] = None,
        hibernation_options: Optional[LaunchTemplateHibernationOptionsArgs] = None,
        iam_instance_profile: Optional[LaunchTemplateIamInstanceProfileArgs] = None,
        image_id: Optional[str] = None,
        instance_initiated_shutdown_behavior: Optional[str] = None,
        instance_market_options: Optional[LaunchTemplateInstanceMarketOptionsArgs] = None,
        instance_requirements: Optional[LaunchTemplateInstanceRequirementsArgs] = None,
        instance_type: Optional[str] = None,
        kernel_id: Optional[str] = None,
        key_name: Optional[str] = None,
        latest_version: Optional[int] = None,
        license_specifications: Optional[Sequence[LaunchTemplateLicenseSpecificationArgs]] = None,
        maintenance_options: Optional[LaunchTemplateMaintenanceOptionsArgs] = None,
        metadata_options: Optional[LaunchTemplateMetadataOptionsArgs] = None,
        monitoring: Optional[LaunchTemplateMonitoringArgs] = None,
        name: Optional[str] = None,
        name_prefix: Optional[str] = None,
        network_interfaces: Optional[Sequence[LaunchTemplateNetworkInterfaceArgs]] = None,
        placement: Optional[LaunchTemplatePlacementArgs] = None,
        private_dns_name_options: Optional[LaunchTemplatePrivateDnsNameOptionsArgs] = None,
        ram_disk_id: Optional[str] = None,
        security_group_names: Optional[Sequence[str]] = None,
        tag_specifications: Optional[Sequence[LaunchTemplateTagSpecificationArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        update_default_version: Optional[bool] = None,
        user_data: Optional[str] = None,
        vpc_security_group_ids: Optional[Sequence[str]] = None) -> LaunchTemplatefunc GetLaunchTemplate(ctx *Context, name string, id IDInput, state *LaunchTemplateState, opts ...ResourceOption) (*LaunchTemplate, error)public static LaunchTemplate Get(string name, Input<string> id, LaunchTemplateState? state, CustomResourceOptions? opts = null)public static LaunchTemplate get(String name, Output<String> id, LaunchTemplateState state, CustomResourceOptions options)resources:  _:    type: aws:ec2:LaunchTemplate    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- Amazon Resource Name (ARN) of the launch template.
- BlockDevice List<LaunchMappings Template Block Device Mapping> 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- CapacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- CpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- CreditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- DefaultVersion int
- Default Version of the launch template.
- Description string
- Description of the launch template.
- DisableApi boolStop 
- If true, enables EC2 Instance Stop Protection.
- DisableApi boolTermination 
- If true, enables EC2 Instance Termination Protection
- EbsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- ElasticGpu List<LaunchSpecifications Template Elastic Gpu Specification> 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- ElasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- EnclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- HibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- IamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- ImageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- InstanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- InstanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- InstanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- InstanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- KernelId string
- The kernel ID.
- KeyName string
- The key name to use for the instance.
- LatestVersion int
- The latest version of the launch template.
- LicenseSpecifications List<LaunchTemplate License Specification> 
- A list of license specifications to associate with. See License Specification below for more details.
- MaintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- MetadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- Monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- Name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NetworkInterfaces List<LaunchTemplate Network Interface> 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- Placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- PrivateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- RamDisk stringId 
- The ID of the RAM disk.
- SecurityGroup List<string>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
List<LaunchTemplate Tag Specification> 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Dictionary<string, string>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- UpdateDefault boolVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- UserData string
- The base64-encoded user data to provide when launching the instance.
- VpcSecurity List<string>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- Arn string
- Amazon Resource Name (ARN) of the launch template.
- BlockDevice []LaunchMappings Template Block Device Mapping Args 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- CapacityReservation LaunchSpecification Template Capacity Reservation Specification Args 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- CpuOptions LaunchTemplate Cpu Options Args 
- The CPU options for the instance. See CPU Options below for more details.
- CreditSpecification LaunchTemplate Credit Specification Args 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- DefaultVersion int
- Default Version of the launch template.
- Description string
- Description of the launch template.
- DisableApi boolStop 
- If true, enables EC2 Instance Stop Protection.
- DisableApi boolTermination 
- If true, enables EC2 Instance Termination Protection
- EbsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- ElasticGpu []LaunchSpecifications Template Elastic Gpu Specification Args 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- ElasticInference LaunchAccelerator Template Elastic Inference Accelerator Args 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- EnclaveOptions LaunchTemplate Enclave Options Args 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- HibernationOptions LaunchTemplate Hibernation Options Args 
- The hibernation options for the instance. See Hibernation Options below for more details.
- IamInstance LaunchProfile Template Iam Instance Profile Args 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- ImageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- InstanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- InstanceMarket LaunchOptions Template Instance Market Options Args 
- The market (purchasing) option for the instance. See Market Options below for details.
- InstanceRequirements LaunchTemplate Instance Requirements Args 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- InstanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- KernelId string
- The kernel ID.
- KeyName string
- The key name to use for the instance.
- LatestVersion int
- The latest version of the launch template.
- LicenseSpecifications []LaunchTemplate License Specification Args 
- A list of license specifications to associate with. See License Specification below for more details.
- MaintenanceOptions LaunchTemplate Maintenance Options Args 
- The maintenance options for the instance. See Maintenance Options below for more details.
- MetadataOptions LaunchTemplate Metadata Options Args 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- Monitoring
LaunchTemplate Monitoring Args 
- The monitoring option for the instance. See Monitoring below for more details.
- Name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- NamePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- NetworkInterfaces []LaunchTemplate Network Interface Args 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- Placement
LaunchTemplate Placement Args 
- The placement of the instance. See Placement below for more details.
- PrivateDns LaunchName Options Template Private Dns Name Options Args 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- RamDisk stringId 
- The ID of the RAM disk.
- SecurityGroup []stringNames 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
[]LaunchTemplate Tag Specification Args 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- map[string]string
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- UpdateDefault boolVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- UserData string
- The base64-encoded user data to provide when launching the instance.
- VpcSecurity []stringGroup Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- arn String
- Amazon Resource Name (ARN) of the launch template.
- blockDevice List<LaunchMappings Template Block Device Mapping> 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion Integer
- Default Version of the launch template.
- description String
- Description of the launch template.
- disableApi BooleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi BooleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized String
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu List<LaunchSpecifications Template Elastic Gpu Specification> 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId String
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated StringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType String
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId String
- The kernel ID.
- keyName String
- The key name to use for the instance.
- latestVersion Integer
- The latest version of the launch template.
- licenseSpecifications List<LaunchTemplate License Specification> 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- name String
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces List<LaunchTemplate Network Interface> 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- privateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk StringId 
- The ID of the RAM disk.
- securityGroup List<String>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
List<LaunchTemplate Tag Specification> 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Map<String,String>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- updateDefault BooleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData String
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity List<String>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- arn string
- Amazon Resource Name (ARN) of the launch template.
- blockDevice LaunchMappings Template Block Device Mapping[] 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation LaunchSpecification Template Capacity Reservation Specification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions LaunchTemplate Cpu Options 
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification LaunchTemplate Credit Specification 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion number
- Default Version of the launch template.
- description string
- Description of the launch template.
- disableApi booleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi booleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized string
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu LaunchSpecifications Template Elastic Gpu Specification[] 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference LaunchAccelerator Template Elastic Inference Accelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions LaunchTemplate Enclave Options 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions LaunchTemplate Hibernation Options 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance LaunchProfile Template Iam Instance Profile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId string
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated stringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket LaunchOptions Template Instance Market Options 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements LaunchTemplate Instance Requirements 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType string
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId string
- The kernel ID.
- keyName string
- The key name to use for the instance.
- latestVersion number
- The latest version of the launch template.
- licenseSpecifications LaunchTemplate License Specification[] 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions LaunchTemplate Maintenance Options 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions LaunchTemplate Metadata Options 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring 
- The monitoring option for the instance. See Monitoring below for more details.
- name string
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix string
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces LaunchTemplate Network Interface[] 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement 
- The placement of the instance. See Placement below for more details.
- privateDns LaunchName Options Template Private Dns Name Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk stringId 
- The ID of the RAM disk.
- securityGroup string[]Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- 
LaunchTemplate Tag Specification[] 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- {[key: string]: string}
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- updateDefault booleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData string
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity string[]Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- arn str
- Amazon Resource Name (ARN) of the launch template.
- block_device_ Sequence[Launchmappings Template Block Device Mapping Args] 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacity_reservation_ Launchspecification Template Capacity Reservation Specification Args 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpu_options LaunchTemplate Cpu Options Args 
- The CPU options for the instance. See CPU Options below for more details.
- credit_specification LaunchTemplate Credit Specification Args 
- Customize the credit specification of the instance. See Credit Specification below for more details.
- default_version int
- Default Version of the launch template.
- description str
- Description of the launch template.
- disable_api_ boolstop 
- If true, enables EC2 Instance Stop Protection.
- disable_api_ booltermination 
- If true, enables EC2 Instance Termination Protection
- ebs_optimized str
- If true, the launched EC2 instance will be EBS-optimized.
- elastic_gpu_ Sequence[Launchspecifications Template Elastic Gpu Specification Args] 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elastic_inference_ Launchaccelerator Template Elastic Inference Accelerator Args 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclave_options LaunchTemplate Enclave Options Args 
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernation_options LaunchTemplate Hibernation Options Args 
- The hibernation options for the instance. See Hibernation Options below for more details.
- iam_instance_ Launchprofile Template Iam Instance Profile Args 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- image_id str
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instance_initiated_ strshutdown_ behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instance_market_ Launchoptions Template Instance Market Options Args 
- The market (purchasing) option for the instance. See Market Options below for details.
- instance_requirements LaunchTemplate Instance Requirements Args 
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instance_type str
- The type of the instance. If present then instance_requirementscannot be present.
- kernel_id str
- The kernel ID.
- key_name str
- The key name to use for the instance.
- latest_version int
- The latest version of the launch template.
- license_specifications Sequence[LaunchTemplate License Specification Args] 
- A list of license specifications to associate with. See License Specification below for more details.
- maintenance_options LaunchTemplate Maintenance Options Args 
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadata_options LaunchTemplate Metadata Options Args 
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring
LaunchTemplate Monitoring Args 
- The monitoring option for the instance. See Monitoring below for more details.
- name str
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- name_prefix str
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- network_interfaces Sequence[LaunchTemplate Network Interface Args] 
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement
LaunchTemplate Placement Args 
- The placement of the instance. See Placement below for more details.
- private_dns_ Launchname_ options Template Private Dns Name Options Args 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ram_disk_ strid 
- The ID of the RAM disk.
- security_group_ Sequence[str]names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- tag_specifications Sequence[LaunchTemplate Tag Specification Args] 
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Mapping[str, str]
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- update_default_ boolversion 
- Whether to update Default Version each update. Conflicts with default_version.
- user_data str
- The base64-encoded user data to provide when launching the instance.
- vpc_security_ Sequence[str]group_ ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
- arn String
- Amazon Resource Name (ARN) of the launch template.
- blockDevice List<Property Map>Mappings 
- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
- capacityReservation Property MapSpecification 
- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
- cpuOptions Property Map
- The CPU options for the instance. See CPU Options below for more details.
- creditSpecification Property Map
- Customize the credit specification of the instance. See Credit Specification below for more details.
- defaultVersion Number
- Default Version of the launch template.
- description String
- Description of the launch template.
- disableApi BooleanStop 
- If true, enables EC2 Instance Stop Protection.
- disableApi BooleanTermination 
- If true, enables EC2 Instance Termination Protection
- ebsOptimized String
- If true, the launched EC2 instance will be EBS-optimized.
- elasticGpu List<Property Map>Specifications 
- DEPRECATED The elastic GPU to attach to the instance. See Elastic GPU below for more details.
- elasticInference Property MapAccelerator 
- DEPRECATED Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
- enclaveOptions Property Map
- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
- hibernationOptions Property Map
- The hibernation options for the instance. See Hibernation Options below for more details.
- iamInstance Property MapProfile 
- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
- imageId String
- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
- instanceInitiated StringShutdown Behavior 
- Shutdown behavior for the instance. Can be stoporterminate. (Default:stop).
- instanceMarket Property MapOptions 
- The market (purchasing) option for the instance. See Market Options below for details.
- instanceRequirements Property Map
- The attribute requirements for the type of instance. If present then instance_typecannot be present.
- instanceType String
- The type of the instance. If present then instance_requirementscannot be present.
- kernelId String
- The kernel ID.
- keyName String
- The key name to use for the instance.
- latestVersion Number
- The latest version of the launch template.
- licenseSpecifications List<Property Map>
- A list of license specifications to associate with. See License Specification below for more details.
- maintenanceOptions Property Map
- The maintenance options for the instance. See Maintenance Options below for more details.
- metadataOptions Property Map
- Customize the metadata options for the instance. See Metadata Options below for more details.
- monitoring Property Map
- The monitoring option for the instance. See Monitoring below for more details.
- name String
- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
- namePrefix String
- Creates a unique name beginning with the specified prefix. Conflicts with name.
- networkInterfaces List<Property Map>
- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
- placement Property Map
- The placement of the instance. See Placement below for more details.
- privateDns Property MapName Options 
- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
- ramDisk StringId 
- The ID of the RAM disk.
- securityGroup List<String>Names 
- A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_idsinstead.
- List<Property Map>
- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
- Map<String>
- A map of tags to assign to the launch template. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- updateDefault BooleanVersion 
- Whether to update Default Version each update. Conflicts with default_version.
- userData String
- The base64-encoded user data to provide when launching the instance.
- vpcSecurity List<String>Group Ids 
- A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
Supporting Types
LaunchTemplateBlockDeviceMapping, LaunchTemplateBlockDeviceMappingArgs          
- DeviceName string
- The name of the device to mount.
- Ebs
LaunchTemplate Block Device Mapping Ebs 
- Configure EBS volume properties.
- NoDevice string
- Suppresses the specified device included in the AMI's block device mapping.
- VirtualName string
- The Instance Store Device
Name
(e.g., "ephemeral0").
- DeviceName string
- The name of the device to mount.
- Ebs
LaunchTemplate Block Device Mapping Ebs 
- Configure EBS volume properties.
- NoDevice string
- Suppresses the specified device included in the AMI's block device mapping.
- VirtualName string
- The Instance Store Device
Name
(e.g., "ephemeral0").
- deviceName String
- The name of the device to mount.
- ebs
LaunchTemplate Block Device Mapping Ebs 
- Configure EBS volume properties.
- noDevice String
- Suppresses the specified device included in the AMI's block device mapping.
- virtualName String
- The Instance Store Device
Name
(e.g., "ephemeral0").
- deviceName string
- The name of the device to mount.
- ebs
LaunchTemplate Block Device Mapping Ebs 
- Configure EBS volume properties.
- noDevice string
- Suppresses the specified device included in the AMI's block device mapping.
- virtualName string
- The Instance Store Device
Name
(e.g., "ephemeral0").
- device_name str
- The name of the device to mount.
- ebs
LaunchTemplate Block Device Mapping Ebs 
- Configure EBS volume properties.
- no_device str
- Suppresses the specified device included in the AMI's block device mapping.
- virtual_name str
- The Instance Store Device
Name
(e.g., "ephemeral0").
- deviceName String
- The name of the device to mount.
- ebs Property Map
- Configure EBS volume properties.
- noDevice String
- Suppresses the specified device included in the AMI's block device mapping.
- virtualName String
- The Instance Store Device
Name
(e.g., "ephemeral0").
LaunchTemplateBlockDeviceMappingEbs, LaunchTemplateBlockDeviceMappingEbsArgs            
- DeleteOn stringTermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- Encrypted string
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- Iops int
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- KmsKey stringId 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- SnapshotId string
- The Snapshot ID to mount.
- Throughput int
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- VolumeSize int
- The size of the volume in gigabytes.
- VolumeType string
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
- DeleteOn stringTermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- Encrypted string
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- Iops int
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- KmsKey stringId 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- SnapshotId string
- The Snapshot ID to mount.
- Throughput int
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- VolumeSize int
- The size of the volume in gigabytes.
- VolumeType string
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
- deleteOn StringTermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- encrypted String
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- iops Integer
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- kmsKey StringId 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- snapshotId String
- The Snapshot ID to mount.
- throughput Integer
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- volumeSize Integer
- The size of the volume in gigabytes.
- volumeType String
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
- deleteOn stringTermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- encrypted string
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- iops number
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- kmsKey stringId 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- snapshotId string
- The Snapshot ID to mount.
- throughput number
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- volumeSize number
- The size of the volume in gigabytes.
- volumeType string
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
- delete_on_ strtermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- encrypted str
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- iops int
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- kms_key_ strid 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- snapshot_id str
- The Snapshot ID to mount.
- throughput int
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- volume_size int
- The size of the volume in gigabytes.
- volume_type str
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
- deleteOn StringTermination 
- Whether the volume should be destroyed on instance termination. See Preserving Amazon EBS Volumes on Instance Termination for more information.
- encrypted String
- Enables EBS encryption on the volume.
Cannot be used with snapshot_id.
- iops Number
- The amount of provisioned IOPS.
This must be set with a volume_typeof"io1/io2/gp3".
- kmsKey StringId 
- The ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use when creating the encrypted volume.
encryptedmust be set totruewhen this is set.
- snapshotId String
- The Snapshot ID to mount.
- throughput Number
- The throughput to provision for a gp3volume in MiB/s (specified as an integer, e.g., 500), with a maximum of 1,000 MiB/s.
- volumeSize Number
- The size of the volume in gigabytes.
- volumeType String
- The volume type.
Can be one of standard,gp2,gp3,io1,io2,sc1orst1.
LaunchTemplateCapacityReservationSpecification, LaunchTemplateCapacityReservationSpecificationArgs          
- CapacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- CapacityReservation LaunchTarget Template Capacity Reservation Specification Capacity Reservation Target 
- Used to target a specific Capacity Reservation:
- CapacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- CapacityReservation LaunchTarget Template Capacity Reservation Specification Capacity Reservation Target 
- Used to target a specific Capacity Reservation:
- capacityReservation StringPreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- capacityReservation LaunchTarget Template Capacity Reservation Specification Capacity Reservation Target 
- Used to target a specific Capacity Reservation:
- capacityReservation stringPreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- capacityReservation LaunchTarget Template Capacity Reservation Specification Capacity Reservation Target 
- Used to target a specific Capacity Reservation:
- capacity_reservation_ strpreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- capacity_reservation_ Launchtarget Template Capacity Reservation Specification Capacity Reservation Target 
- Used to target a specific Capacity Reservation:
- capacityReservation StringPreference 
- Indicates the instance's Capacity Reservation preferences. Can be openornone. (Defaultnone).
- capacityReservation Property MapTarget 
- Used to target a specific Capacity Reservation:
LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget, LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetArgs                
- CapacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- CapacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- CapacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- CapacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation StringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation StringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation stringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation stringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacity_reservation_ strid 
- The ID of the Capacity Reservation in which to run the instance.
- capacity_reservation_ strresource_ group_ arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
- capacityReservation StringId 
- The ID of the Capacity Reservation in which to run the instance.
- capacityReservation StringResource Group Arn 
- The ARN of the Capacity Reservation resource group in which to run the instance.
LaunchTemplateCpuOptions, LaunchTemplateCpuOptionsArgs        
- AmdSev stringSnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- CoreCount int
- The number of CPU cores for the instance.
- ThreadsPer intCore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
- AmdSev stringSnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- CoreCount int
- The number of CPU cores for the instance.
- ThreadsPer intCore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
- amdSev StringSnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- coreCount Integer
- The number of CPU cores for the instance.
- threadsPer IntegerCore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
- amdSev stringSnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- coreCount number
- The number of CPU cores for the instance.
- threadsPer numberCore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
- amd_sev_ strsnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- core_count int
- The number of CPU cores for the instance.
- threads_per_ intcore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
- amdSev StringSnp 
- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabledanddisabled.
- coreCount Number
- The number of CPU cores for the instance.
- threadsPer NumberCore 
- The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. - Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the CPU Options Documentation 
LaunchTemplateCreditSpecification, LaunchTemplateCreditSpecificationArgs        
- CpuCredits string
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
- CpuCredits string
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
- cpuCredits String
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
- cpuCredits string
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
- cpu_credits str
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
- cpuCredits String
- The credit option for CPU usage.
Can be standardorunlimited. T3 instances are launched asunlimitedby default. T2 instances are launched asstandardby default.
LaunchTemplateElasticGpuSpecification, LaunchTemplateElasticGpuSpecificationArgs          
- Type string
- The Elastic GPU Type
- Type string
- The Elastic GPU Type
- type String
- The Elastic GPU Type
- type string
- The Elastic GPU Type
- type str
- The Elastic GPU Type
- type String
- The Elastic GPU Type
LaunchTemplateElasticInferenceAccelerator, LaunchTemplateElasticInferenceAcceleratorArgs          
- Type string
- Accelerator type.
- Type string
- Accelerator type.
- type String
- Accelerator type.
- type string
- Accelerator type.
- type str
- Accelerator type.
- type String
- Accelerator type.
LaunchTemplateEnclaveOptions, LaunchTemplateEnclaveOptionsArgs        
- Enabled bool
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
- Enabled bool
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
- enabled Boolean
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
- enabled boolean
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
- enabled bool
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
- enabled Boolean
- If set to - true, Nitro Enclaves will be enabled on the instance.- For more information, see the documentation on Nitro Enclaves. 
LaunchTemplateHibernationOptions, LaunchTemplateHibernationOptionsArgs        
- Configured bool
- If set to true, the launched EC2 instance will hibernation enabled.
- Configured bool
- If set to true, the launched EC2 instance will hibernation enabled.
- configured Boolean
- If set to true, the launched EC2 instance will hibernation enabled.
- configured boolean
- If set to true, the launched EC2 instance will hibernation enabled.
- configured bool
- If set to true, the launched EC2 instance will hibernation enabled.
- configured Boolean
- If set to true, the launched EC2 instance will hibernation enabled.
LaunchTemplateIamInstanceProfile, LaunchTemplateIamInstanceProfileArgs          
LaunchTemplateInstanceMarketOptions, LaunchTemplateInstanceMarketOptionsArgs          
- MarketType string
- The market type. Can be spot.
- SpotOptions LaunchTemplate Instance Market Options Spot Options 
- The options for Spot Instance
- MarketType string
- The market type. Can be spot.
- SpotOptions LaunchTemplate Instance Market Options Spot Options 
- The options for Spot Instance
- marketType String
- The market type. Can be spot.
- spotOptions LaunchTemplate Instance Market Options Spot Options 
- The options for Spot Instance
- marketType string
- The market type. Can be spot.
- spotOptions LaunchTemplate Instance Market Options Spot Options 
- The options for Spot Instance
- market_type str
- The market type. Can be spot.
- spot_options LaunchTemplate Instance Market Options Spot Options 
- The options for Spot Instance
- marketType String
- The market type. Can be spot.
- spotOptions Property Map
- The options for Spot Instance
LaunchTemplateInstanceMarketOptionsSpotOptions, LaunchTemplateInstanceMarketOptionsSpotOptionsArgs              
- BlockDuration intMinutes 
- The required duration in minutes. This value must be a multiple of 60.
- InstanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- MaxPrice string
- The maximum hourly price you're willing to pay for the Spot Instances.
- SpotInstance stringType 
- The Spot Instance request type. Can be one-time, orpersistent.
- ValidUntil string
- The end date of the request.
- BlockDuration intMinutes 
- The required duration in minutes. This value must be a multiple of 60.
- InstanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- MaxPrice string
- The maximum hourly price you're willing to pay for the Spot Instances.
- SpotInstance stringType 
- The Spot Instance request type. Can be one-time, orpersistent.
- ValidUntil string
- The end date of the request.
- blockDuration IntegerMinutes 
- The required duration in minutes. This value must be a multiple of 60.
- instanceInterruption StringBehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- maxPrice String
- The maximum hourly price you're willing to pay for the Spot Instances.
- spotInstance StringType 
- The Spot Instance request type. Can be one-time, orpersistent.
- validUntil String
- The end date of the request.
- blockDuration numberMinutes 
- The required duration in minutes. This value must be a multiple of 60.
- instanceInterruption stringBehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- maxPrice string
- The maximum hourly price you're willing to pay for the Spot Instances.
- spotInstance stringType 
- The Spot Instance request type. Can be one-time, orpersistent.
- validUntil string
- The end date of the request.
- block_duration_ intminutes 
- The required duration in minutes. This value must be a multiple of 60.
- instance_interruption_ strbehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- max_price str
- The maximum hourly price you're willing to pay for the Spot Instances.
- spot_instance_ strtype 
- The Spot Instance request type. Can be one-time, orpersistent.
- valid_until str
- The end date of the request.
- blockDuration NumberMinutes 
- The required duration in minutes. This value must be a multiple of 60.
- instanceInterruption StringBehavior 
- The behavior when a Spot Instance is interrupted. Can be hibernate,stop, orterminate. (Default:terminate).
- maxPrice String
- The maximum hourly price you're willing to pay for the Spot Instances.
- spotInstance StringType 
- The Spot Instance request type. Can be one-time, orpersistent.
- validUntil String
- The end date of the request.
LaunchTemplateInstanceRequirements, LaunchTemplateInstanceRequirementsArgs        
- MemoryMib LaunchTemplate Instance Requirements Memory Mib 
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- VcpuCount LaunchTemplate Instance Requirements Vcpu Count 
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- AcceleratorCount LaunchTemplate Instance Requirements Accelerator Count 
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- AcceleratorManufacturers List<string>
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- AcceleratorNames List<string>
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- AcceleratorTotal LaunchMemory Mib Template Instance Requirements Accelerator Total Memory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- AcceleratorTypes List<string>
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- AllowedInstance List<string>Types 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- BareMetal string
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- BaselineEbs LaunchBandwidth Mbps Template Instance Requirements Baseline Ebs Bandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- BurstablePerformance string
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- CpuManufacturers List<string>
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- ExcludedInstance List<string>Types 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- InstanceGenerations List<string>
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- LocalStorage string
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- LocalStorage List<string>Types 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- MaxSpot intPrice As Percentage Of Optimal On Demand Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- MemoryGib LaunchPer Vcpu Template Instance Requirements Memory Gib Per Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- NetworkBandwidth LaunchGbps Template Instance Requirements Network Bandwidth Gbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- NetworkInterface LaunchCount Template Instance Requirements Network Interface Count 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- OnDemand intMax Price Percentage Over Lowest Price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- RequireHibernate boolSupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- SpotMax intPrice Percentage Over Lowest Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- TotalLocal LaunchStorage Gb Template Instance Requirements Total Local Storage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
- MemoryMib LaunchTemplate Instance Requirements Memory Mib 
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- VcpuCount LaunchTemplate Instance Requirements Vcpu Count 
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- AcceleratorCount LaunchTemplate Instance Requirements Accelerator Count 
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- AcceleratorManufacturers []string
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- AcceleratorNames []string
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- AcceleratorTotal LaunchMemory Mib Template Instance Requirements Accelerator Total Memory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- AcceleratorTypes []string
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- AllowedInstance []stringTypes 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- BareMetal string
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- BaselineEbs LaunchBandwidth Mbps Template Instance Requirements Baseline Ebs Bandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- BurstablePerformance string
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- CpuManufacturers []string
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- ExcludedInstance []stringTypes 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- InstanceGenerations []string
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- LocalStorage string
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- LocalStorage []stringTypes 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- MaxSpot intPrice As Percentage Of Optimal On Demand Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- MemoryGib LaunchPer Vcpu Template Instance Requirements Memory Gib Per Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- NetworkBandwidth LaunchGbps Template Instance Requirements Network Bandwidth Gbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- NetworkInterface LaunchCount Template Instance Requirements Network Interface Count 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- OnDemand intMax Price Percentage Over Lowest Price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- RequireHibernate boolSupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- SpotMax intPrice Percentage Over Lowest Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- TotalLocal LaunchStorage Gb Template Instance Requirements Total Local Storage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
- memoryMib LaunchTemplate Instance Requirements Memory Mib 
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- vcpuCount LaunchTemplate Instance Requirements Vcpu Count 
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- acceleratorCount LaunchTemplate Instance Requirements Accelerator Count 
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- acceleratorManufacturers List<String>
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- acceleratorNames List<String>
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- acceleratorTotal LaunchMemory Mib Template Instance Requirements Accelerator Total Memory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- acceleratorTypes List<String>
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- allowedInstance List<String>Types 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- bareMetal String
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- baselineEbs LaunchBandwidth Mbps Template Instance Requirements Baseline Ebs Bandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- burstablePerformance String
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- cpuManufacturers List<String>
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- excludedInstance List<String>Types 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- instanceGenerations List<String>
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- localStorage String
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- localStorage List<String>Types 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- maxSpot IntegerPrice As Percentage Of Optimal On Demand Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- memoryGib LaunchPer Vcpu Template Instance Requirements Memory Gib Per Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- networkBandwidth LaunchGbps Template Instance Requirements Network Bandwidth Gbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- networkInterface LaunchCount Template Instance Requirements Network Interface Count 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- onDemand IntegerMax Price Percentage Over Lowest Price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- requireHibernate BooleanSupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- spotMax IntegerPrice Percentage Over Lowest Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- totalLocal LaunchStorage Gb Template Instance Requirements Total Local Storage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
- memoryMib LaunchTemplate Instance Requirements Memory Mib 
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- vcpuCount LaunchTemplate Instance Requirements Vcpu Count 
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- acceleratorCount LaunchTemplate Instance Requirements Accelerator Count 
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- acceleratorManufacturers string[]
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- acceleratorNames string[]
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- acceleratorTotal LaunchMemory Mib Template Instance Requirements Accelerator Total Memory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- acceleratorTypes string[]
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- allowedInstance string[]Types 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- bareMetal string
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- baselineEbs LaunchBandwidth Mbps Template Instance Requirements Baseline Ebs Bandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- burstablePerformance string
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- cpuManufacturers string[]
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- excludedInstance string[]Types 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- instanceGenerations string[]
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- localStorage string
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- localStorage string[]Types 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- maxSpot numberPrice As Percentage Of Optimal On Demand Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- memoryGib LaunchPer Vcpu Template Instance Requirements Memory Gib Per Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- networkBandwidth LaunchGbps Template Instance Requirements Network Bandwidth Gbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- networkInterface LaunchCount Template Instance Requirements Network Interface Count 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- onDemand numberMax Price Percentage Over Lowest Price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- requireHibernate booleanSupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- spotMax numberPrice Percentage Over Lowest Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- totalLocal LaunchStorage Gb Template Instance Requirements Total Local Storage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
- memory_mib LaunchTemplate Instance Requirements Memory Mib 
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- vcpu_count LaunchTemplate Instance Requirements Vcpu Count 
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- accelerator_count LaunchTemplate Instance Requirements Accelerator Count 
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- accelerator_manufacturers Sequence[str]
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- accelerator_names Sequence[str]
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- accelerator_total_ Launchmemory_ mib Template Instance Requirements Accelerator Total Memory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- accelerator_types Sequence[str]
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- allowed_instance_ Sequence[str]types 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- bare_metal str
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- baseline_ebs_ Launchbandwidth_ mbps Template Instance Requirements Baseline Ebs Bandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- burstable_performance str
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- cpu_manufacturers Sequence[str]
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- excluded_instance_ Sequence[str]types 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- instance_generations Sequence[str]
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- local_storage str
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- local_storage_ Sequence[str]types 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- max_spot_ intprice_ as_ percentage_ of_ optimal_ on_ demand_ price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- memory_gib_ Launchper_ vcpu Template Instance Requirements Memory Gib Per Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- network_bandwidth_ Launchgbps Template Instance Requirements Network Bandwidth Gbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- network_interface_ Launchcount Template Instance Requirements Network Interface Count 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- on_demand_ intmax_ price_ percentage_ over_ lowest_ price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- require_hibernate_ boolsupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- spot_max_ intprice_ percentage_ over_ lowest_ price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- total_local_ Launchstorage_ gb Template Instance Requirements Total Local Storage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
- memoryMib Property Map
- Block describing the minimum and maximum amount of memory (MiB). Default is no maximum.
- vcpuCount Property Map
- Block describing the minimum and maximum number of vCPUs. Default is no maximum.
- acceleratorCount Property Map
- Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum.
- acceleratorManufacturers List<String>
- List of accelerator manufacturer names. Default is any manufacturer.Valid names: * amazon-web-services * amd * nvidia * xilinx
- acceleratorNames List<String>
- List of accelerator names. Default is any acclerator.Valid names: * a100 - NVIDIA A100 GPUs * v100 - NVIDIA V100 GPUs * k80 - NVIDIA K80 GPUs * t4 - NVIDIA T4 GPUs * m60 - NVIDIA M60 GPUs * radeon-pro-v520 - AMD Radeon Pro V520 GPUs * vu9p - Xilinx VU9P FPGAs
- acceleratorTotal Property MapMemory Mib 
- Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.
- acceleratorTypes List<String>
- List of accelerator types. Default is any accelerator type.Valid types: * fpga * gpu * inference
- allowedInstance List<String>Types 
- List of instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are allowing the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are allowing all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is all instance types.- NOTE: If you specify - allowed_instance_types, you can't specify- excluded_instance_types.
- bareMetal String
- Indicate whether bare metal instace types should be included,excluded, orrequired. Default isexcluded.
- baselineEbs Property MapBandwidth Mbps 
- Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.
- burstablePerformance String
- Indicate whether burstable performance instance types should be included,excluded, orrequired. Default isexcluded.
- cpuManufacturers List<String>
- List of CPU manufacturer names. Default is any manufacturer. - NOTE: Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. - Valid names: * amazon-web-services * amd * intel
- excludedInstance List<String>Types 
- List of instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance type, size, or generation. The following are examples: - m5.8xlarge,- c5*.*,- m5a.*,- r*,- *3*. For example, if you specify- c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify- m5a.*, you are excluding all the M5a instance types, but not the M5n instance types. Maximum of 400 entries in the list; each entry is limited to 30 characters. Default is no excluded instance types.- NOTE: If you specify - excluded_instance_types, you can't specify- allowed_instance_types.
- instanceGenerations List<String>
- List of instance generation names. Default is any generation.Valid names: * current - Recommended for best performance. * previous - For existing applications optimized for older instance types.
- localStorage String
- Indicate whether instance types with local storage volumes are included,excluded, orrequired. Default isincluded.
- localStorage List<String>Types 
- List of local storage type names. Default any storage type.Value names: * hdd - hard disk drive * ssd - solid state drive
- maxSpot NumberPrice As Percentage Of Optimal On Demand Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Conflicts with spot_max_price_percentage_over_lowest_price
- memoryGib Property MapPer Vcpu 
- Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.
- networkBandwidth Property MapGbps 
- Block describing the minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is no minimum or maximum.
- networkInterface Property MapCount 
- Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.
- onDemand NumberMax Price Percentage Over Lowest Price 
- The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 20. - If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- requireHibernate BooleanSupport 
- Indicate whether instance types must support On-Demand Instance Hibernation, either trueorfalse. Default isfalse.
- spotMax NumberPrice Percentage Over Lowest Price 
- The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. Default is 100. Conflicts with - max_spot_price_as_percentage_of_optimal_on_demand_price- If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price. 
- totalLocal Property MapStorage Gb 
- Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.
LaunchTemplateInstanceRequirementsAcceleratorCount, LaunchTemplateInstanceRequirementsAcceleratorCountArgs            
LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMib, LaunchTemplateInstanceRequirementsAcceleratorTotalMemoryMibArgs                
LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbps, LaunchTemplateInstanceRequirementsBaselineEbsBandwidthMbpsArgs                
LaunchTemplateInstanceRequirementsMemoryGibPerVcpu, LaunchTemplateInstanceRequirementsMemoryGibPerVcpuArgs                
LaunchTemplateInstanceRequirementsMemoryMib, LaunchTemplateInstanceRequirementsMemoryMibArgs            
LaunchTemplateInstanceRequirementsNetworkBandwidthGbps, LaunchTemplateInstanceRequirementsNetworkBandwidthGbpsArgs              
LaunchTemplateInstanceRequirementsNetworkInterfaceCount, LaunchTemplateInstanceRequirementsNetworkInterfaceCountArgs              
LaunchTemplateInstanceRequirementsTotalLocalStorageGb, LaunchTemplateInstanceRequirementsTotalLocalStorageGbArgs                
LaunchTemplateInstanceRequirementsVcpuCount, LaunchTemplateInstanceRequirementsVcpuCountArgs            
LaunchTemplateLicenseSpecification, LaunchTemplateLicenseSpecificationArgs        
- LicenseConfiguration stringArn 
- ARN of the license configuration.
- LicenseConfiguration stringArn 
- ARN of the license configuration.
- licenseConfiguration StringArn 
- ARN of the license configuration.
- licenseConfiguration stringArn 
- ARN of the license configuration.
- license_configuration_ strarn 
- ARN of the license configuration.
- licenseConfiguration StringArn 
- ARN of the license configuration.
LaunchTemplateMaintenanceOptions, LaunchTemplateMaintenanceOptionsArgs        
- AutoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
- AutoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
- autoRecovery String
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
- autoRecovery string
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
- auto_recovery str
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
- autoRecovery String
- Disables the automatic recovery behavior of your instance or sets it to default. Can be "default"or"disabled". See Recover your instance for more details.
LaunchTemplateMetadataOptions, LaunchTemplateMetadataOptionsArgs        
- HttpEndpoint string
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- HttpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- HttpPut intResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- HttpTokens string
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- string
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
- HttpEndpoint string
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- HttpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- HttpPut intResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- HttpTokens string
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- string
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
- httpEndpoint String
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- httpProtocol StringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- httpPut IntegerResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- httpTokens String
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- String
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
- httpEndpoint string
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- httpProtocol stringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- httpPut numberResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- httpTokens string
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- string
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
- http_endpoint str
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- http_protocol_ stripv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- http_put_ intresponse_ hop_ limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- http_tokens str
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- str
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
- httpEndpoint String
- Whether the metadata service is available. Can be "enabled"or"disabled". (Default:"enabled").
- httpProtocol StringIpv6 
- Enables or disables the IPv6 endpoint for the instance metadata service. Can be "enabled"or"disabled".
- httpPut NumberResponse Hop Limit 
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. Can be an integer from 1to64. (Default:1).
- httpTokens String
- Whether or not the metadata service requires session tokens, also referred to as Instance Metadata Service Version 2 (IMDSv2). Can be "optional"or"required". (Default:"optional").
- String
- Enables or disables access to instance tags from the instance metadata service. Can be - "enabled"or- "disabled".- For more information, see the documentation on the Instance Metadata Service. 
LaunchTemplateMonitoring, LaunchTemplateMonitoringArgs      
- Enabled bool
- If true, the launched EC2 instance will have detailed monitoring enabled.
- Enabled bool
- If true, the launched EC2 instance will have detailed monitoring enabled.
- enabled Boolean
- If true, the launched EC2 instance will have detailed monitoring enabled.
- enabled boolean
- If true, the launched EC2 instance will have detailed monitoring enabled.
- enabled bool
- If true, the launched EC2 instance will have detailed monitoring enabled.
- enabled Boolean
- If true, the launched EC2 instance will have detailed monitoring enabled.
LaunchTemplateNetworkInterface, LaunchTemplateNetworkInterfaceArgs        
- AssociateCarrier stringIp Address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- AssociatePublic stringIp Address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- ConnectionTracking LaunchSpecification Template Network Interface Connection Tracking Specification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- DeleteOn stringTermination 
- Whether the network interface should be destroyed on instance termination.
- Description string
- Description of the network interface.
- DeviceIndex int
- The integer index of the network interface attachment.
- EnaSrd LaunchSpecification Template Network Interface Ena Srd Specification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- InterfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- Ipv4AddressCount int
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- Ipv4Addresses List<string>
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- Ipv4PrefixCount int
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- Ipv4Prefixes List<string>
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- Ipv6Addresses List<string>
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- Ipv6PrefixCount int
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- Ipv6Prefixes List<string>
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- NetworkCard intIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- NetworkInterface stringId 
- The ID of the network interface to attach.
- PrimaryIpv6 string
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- PrivateIp stringAddress 
- The primary private IPv4 address.
- SecurityGroups List<string>
- A list of security group IDs to associate.
- SubnetId string
- The VPC Subnet ID to associate.
- AssociateCarrier stringIp Address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- AssociatePublic stringIp Address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- ConnectionTracking LaunchSpecification Template Network Interface Connection Tracking Specification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- DeleteOn stringTermination 
- Whether the network interface should be destroyed on instance termination.
- Description string
- Description of the network interface.
- DeviceIndex int
- The integer index of the network interface attachment.
- EnaSrd LaunchSpecification Template Network Interface Ena Srd Specification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- InterfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- Ipv4AddressCount int
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- Ipv4Addresses []string
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- Ipv4PrefixCount int
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- Ipv4Prefixes []string
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- Ipv6AddressCount int
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- Ipv6Addresses []string
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- Ipv6PrefixCount int
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- Ipv6Prefixes []string
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- NetworkCard intIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- NetworkInterface stringId 
- The ID of the network interface to attach.
- PrimaryIpv6 string
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- PrivateIp stringAddress 
- The primary private IPv4 address.
- SecurityGroups []string
- A list of security group IDs to associate.
- SubnetId string
- The VPC Subnet ID to associate.
- associateCarrier StringIp Address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- associatePublic StringIp Address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- connectionTracking LaunchSpecification Template Network Interface Connection Tracking Specification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- deleteOn StringTermination 
- Whether the network interface should be destroyed on instance termination.
- description String
- Description of the network interface.
- deviceIndex Integer
- The integer index of the network interface attachment.
- enaSrd LaunchSpecification Template Network Interface Ena Srd Specification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- interfaceType String
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- ipv4AddressCount Integer
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- ipv4Addresses List<String>
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- ipv4PrefixCount Integer
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- ipv4Prefixes List<String>
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- ipv6AddressCount Integer
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- ipv6Addresses List<String>
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- ipv6PrefixCount Integer
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- ipv6Prefixes List<String>
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- networkCard IntegerIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface StringId 
- The ID of the network interface to attach.
- primaryIpv6 String
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- privateIp StringAddress 
- The primary private IPv4 address.
- securityGroups List<String>
- A list of security group IDs to associate.
- subnetId String
- The VPC Subnet ID to associate.
- associateCarrier stringIp Address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- associatePublic stringIp Address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- connectionTracking LaunchSpecification Template Network Interface Connection Tracking Specification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- deleteOn stringTermination 
- Whether the network interface should be destroyed on instance termination.
- description string
- Description of the network interface.
- deviceIndex number
- The integer index of the network interface attachment.
- enaSrd LaunchSpecification Template Network Interface Ena Srd Specification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- interfaceType string
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- ipv4AddressCount number
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- ipv4Addresses string[]
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- ipv4PrefixCount number
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- ipv4Prefixes string[]
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- ipv6AddressCount number
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- ipv6Addresses string[]
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- ipv6PrefixCount number
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- ipv6Prefixes string[]
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- networkCard numberIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface stringId 
- The ID of the network interface to attach.
- primaryIpv6 string
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- privateIp stringAddress 
- The primary private IPv4 address.
- securityGroups string[]
- A list of security group IDs to associate.
- subnetId string
- The VPC Subnet ID to associate.
- associate_carrier_ strip_ address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- associate_public_ strip_ address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- connection_tracking_ Launchspecification Template Network Interface Connection Tracking Specification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- delete_on_ strtermination 
- Whether the network interface should be destroyed on instance termination.
- description str
- Description of the network interface.
- device_index int
- The integer index of the network interface attachment.
- ena_srd_ Launchspecification Template Network Interface Ena Srd Specification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- interface_type str
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- ipv4_address_ intcount 
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- ipv4_addresses Sequence[str]
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- ipv4_prefix_ intcount 
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- ipv4_prefixes Sequence[str]
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- ipv6_address_ intcount 
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- ipv6_addresses Sequence[str]
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- ipv6_prefix_ intcount 
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- ipv6_prefixes Sequence[str]
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- network_card_ intindex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- network_interface_ strid 
- The ID of the network interface to attach.
- primary_ipv6 str
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- private_ip_ straddress 
- The primary private IPv4 address.
- security_groups Sequence[str]
- A list of security group IDs to associate.
- subnet_id str
- The VPC Subnet ID to associate.
- associateCarrier StringIp Address 
- Associate a Carrier IP address with eth0for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.
- associatePublic StringIp Address 
- Associate a public ip address with the network interface. Boolean value, can be left unset.
- connectionTracking Property MapSpecification 
- The Connection Tracking Configuration for the network interface. See Amazon EC2 security group connection tracking
- deleteOn StringTermination 
- Whether the network interface should be destroyed on instance termination.
- description String
- Description of the network interface.
- deviceIndex Number
- The integer index of the network interface attachment.
- enaSrd Property MapSpecification 
- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the ena Express feature. See details below.
- interfaceType String
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa.
- ipv4AddressCount Number
- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with ipv4_addresses
- ipv4Addresses List<String>
- One or more private IPv4 addresses to associate. Conflicts with ipv4_address_count
- ipv4PrefixCount Number
- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with ipv4_prefixes
- ipv4Prefixes List<String>
- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with ipv4_prefix_count
- ipv6AddressCount Number
- The number of IPv6 addresses to assign to a network interface. Conflicts with ipv6_addresses
- ipv6Addresses List<String>
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with ipv6_address_count
- ipv6PrefixCount Number
- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with ipv6_prefixes
- ipv6Prefixes List<String>
- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with ipv6_prefix_count
- networkCard NumberIndex 
- The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
- networkInterface StringId 
- The ID of the network interface to attach.
- primaryIpv6 String
- Whether the first IPv6 GUA will be made the primary IPv6 address.
- privateIp StringAddress 
- The primary private IPv4 address.
- securityGroups List<String>
- A list of security group IDs to associate.
- subnetId String
- The VPC Subnet ID to associate.
LaunchTemplateNetworkInterfaceConnectionTrackingSpecification, LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs              
- TcpEstablished intTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- UdpStream intTimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- UdpTimeout int
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- TcpEstablished intTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- UdpStream intTimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- UdpTimeout int
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- tcpEstablished IntegerTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream IntegerTimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- udpTimeout Integer
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- tcpEstablished numberTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream numberTimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- udpTimeout number
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- tcp_established_ inttimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udp_stream_ inttimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- udp_timeout int
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
- tcpEstablished NumberTimeout 
- Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
- udpStream NumberTimeout 
- Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
- udpTimeout Number
- Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
LaunchTemplateNetworkInterfaceEnaSrdSpecification, LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs              
- EnaSrd boolEnabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- EnaSrd LaunchUdp Specification Template Network Interface Ena Srd Specification Ena Srd Udp Specification 
- Configuration for ENA Express UDP optimization. See details below.
- EnaSrd boolEnabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- EnaSrd LaunchUdp Specification Template Network Interface Ena Srd Specification Ena Srd Udp Specification 
- Configuration for ENA Express UDP optimization. See details below.
- enaSrd BooleanEnabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- enaSrd LaunchUdp Specification Template Network Interface Ena Srd Specification Ena Srd Udp Specification 
- Configuration for ENA Express UDP optimization. See details below.
- enaSrd booleanEnabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- enaSrd LaunchUdp Specification Template Network Interface Ena Srd Specification Ena Srd Udp Specification 
- Configuration for ENA Express UDP optimization. See details below.
- ena_srd_ boolenabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- ena_srd_ Launchudp_ specification Template Network Interface Ena Srd Specification Ena Srd Udp Specification 
- Configuration for ENA Express UDP optimization. See details below.
- enaSrd BooleanEnabled 
- Whether to enable ENA Express. ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to improve the performance of TCP traffic.
- enaSrd Property MapUdp Specification 
- Configuration for ENA Express UDP optimization. See details below.
LaunchTemplateNetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecification, LaunchTemplateNetworkInterfaceEnaSrdSpecificationEnaSrdUdpSpecificationArgs                      
- EnaSrd boolUdp Enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
- EnaSrd boolUdp Enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
- enaSrd BooleanUdp Enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
- enaSrd booleanUdp Enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
- ena_srd_ booludp_ enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
- enaSrd BooleanUdp Enabled 
- Whether to enable UDP traffic optimization through ENA Express. Requires - ena_srd_enabledto be- true.- NOTE: ENA Express requires specific instance types and minimum bandwidth of 25 Gbps. 
LaunchTemplatePlacement, LaunchTemplatePlacementArgs      
- Affinity string
- The affinity setting for an instance on a Dedicated Host.
- AvailabilityZone string
- The Availability Zone for the instance.
- GroupName string
- The name of the placement group for the instance.
- HostId string
- The ID of the Dedicated Host for the instance.
- HostResource stringGroup Arn 
- The ARN of the Host Resource Group in which to launch instances.
- PartitionNumber int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- SpreadDomain string
- Reserved for future use.
- Tenancy string
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
- Affinity string
- The affinity setting for an instance on a Dedicated Host.
- AvailabilityZone string
- The Availability Zone for the instance.
- GroupName string
- The name of the placement group for the instance.
- HostId string
- The ID of the Dedicated Host for the instance.
- HostResource stringGroup Arn 
- The ARN of the Host Resource Group in which to launch instances.
- PartitionNumber int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- SpreadDomain string
- Reserved for future use.
- Tenancy string
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
- affinity String
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone String
- The Availability Zone for the instance.
- groupName String
- The name of the placement group for the instance.
- hostId String
- The ID of the Dedicated Host for the instance.
- hostResource StringGroup Arn 
- The ARN of the Host Resource Group in which to launch instances.
- partitionNumber Integer
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain String
- Reserved for future use.
- tenancy String
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
- affinity string
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone string
- The Availability Zone for the instance.
- groupName string
- The name of the placement group for the instance.
- hostId string
- The ID of the Dedicated Host for the instance.
- hostResource stringGroup Arn 
- The ARN of the Host Resource Group in which to launch instances.
- partitionNumber number
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain string
- Reserved for future use.
- tenancy string
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
- affinity str
- The affinity setting for an instance on a Dedicated Host.
- availability_zone str
- The Availability Zone for the instance.
- group_name str
- The name of the placement group for the instance.
- host_id str
- The ID of the Dedicated Host for the instance.
- host_resource_ strgroup_ arn 
- The ARN of the Host Resource Group in which to launch instances.
- partition_number int
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spread_domain str
- Reserved for future use.
- tenancy str
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
- affinity String
- The affinity setting for an instance on a Dedicated Host.
- availabilityZone String
- The Availability Zone for the instance.
- groupName String
- The name of the placement group for the instance.
- hostId String
- The ID of the Dedicated Host for the instance.
- hostResource StringGroup Arn 
- The ARN of the Host Resource Group in which to launch instances.
- partitionNumber Number
- The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
- spreadDomain String
- Reserved for future use.
- tenancy String
- The tenancy of the instance (if the instance is running in a VPC). Can be default,dedicated, orhost.
LaunchTemplatePrivateDnsNameOptions, LaunchTemplatePrivateDnsNameOptionsArgs            
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
- enableResource booleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource booleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType string
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
- enable_resource_ boolname_ dns_ a_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enable_resource_ boolname_ dns_ aaaa_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostname_type str
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- The type of hostname for Amazon EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 native subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-nameandresource-name.
LaunchTemplateTagSpecification, LaunchTemplateTagSpecificationArgs        
- ResourceType string
- The type of resource to tag.
- Dictionary<string, string>
- A map of tags to assign to the resource.
- ResourceType string
- The type of resource to tag.
- map[string]string
- A map of tags to assign to the resource.
- resourceType String
- The type of resource to tag.
- Map<String,String>
- A map of tags to assign to the resource.
- resourceType string
- The type of resource to tag.
- {[key: string]: string}
- A map of tags to assign to the resource.
- resource_type str
- The type of resource to tag.
- Mapping[str, str]
- A map of tags to assign to the resource.
- resourceType String
- The type of resource to tag.
- Map<String>
- A map of tags to assign to the resource.
Import
Using pulumi import, import Launch Templates using the id. For example:
$ pulumi import aws:ec2/launchTemplate:LaunchTemplate web lt-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.