aws logo
AWS Classic v5.34.0, Mar 30 23

aws.ec2.Fleet

Provides a resource to manage EC2 Fleets.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Ec2.Fleet("example", new()
    {
        LaunchTemplateConfig = new Aws.Ec2.Inputs.FleetLaunchTemplateConfigArgs
        {
            LaunchTemplateSpecification = new Aws.Ec2.Inputs.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs
            {
                LaunchTemplateId = aws_launch_template.Example.Id,
                Version = aws_launch_template.Example.Latest_version,
            },
        },
        TargetCapacitySpecification = new Aws.Ec2.Inputs.FleetTargetCapacitySpecificationArgs
        {
            DefaultTargetCapacityType = "spot",
            TotalTargetCapacity = 5,
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.NewFleet(ctx, "example", &ec2.FleetArgs{
			LaunchTemplateConfig: &ec2.FleetLaunchTemplateConfigArgs{
				LaunchTemplateSpecification: &ec2.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs{
					LaunchTemplateId: pulumi.Any(aws_launch_template.Example.Id),
					Version:          pulumi.Any(aws_launch_template.Example.Latest_version),
				},
			},
			TargetCapacitySpecification: &ec2.FleetTargetCapacitySpecificationArgs{
				DefaultTargetCapacityType: pulumi.String("spot"),
				TotalTargetCapacity:       pulumi.Int(5),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Fleet;
import com.pulumi.aws.ec2.FleetArgs;
import com.pulumi.aws.ec2.inputs.FleetLaunchTemplateConfigArgs;
import com.pulumi.aws.ec2.inputs.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs;
import com.pulumi.aws.ec2.inputs.FleetTargetCapacitySpecificationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

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

    public static void stack(Context ctx) {
        var example = new Fleet("example", FleetArgs.builder()        
            .launchTemplateConfig(FleetLaunchTemplateConfigArgs.builder()
                .launchTemplateSpecification(FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs.builder()
                    .launchTemplateId(aws_launch_template.example().id())
                    .version(aws_launch_template.example().latest_version())
                    .build())
                .build())
            .targetCapacitySpecification(FleetTargetCapacitySpecificationArgs.builder()
                .defaultTargetCapacityType("spot")
                .totalTargetCapacity(5)
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.ec2.Fleet("example",
    launch_template_config=aws.ec2.FleetLaunchTemplateConfigArgs(
        launch_template_specification=aws.ec2.FleetLaunchTemplateConfigLaunchTemplateSpecificationArgs(
            launch_template_id=aws_launch_template["example"]["id"],
            version=aws_launch_template["example"]["latest_version"],
        ),
    ),
    target_capacity_specification=aws.ec2.FleetTargetCapacitySpecificationArgs(
        default_target_capacity_type="spot",
        total_target_capacity=5,
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.ec2.Fleet("example", {
    launchTemplateConfig: {
        launchTemplateSpecification: {
            launchTemplateId: aws_launch_template.example.id,
            version: aws_launch_template.example.latest_version,
        },
    },
    targetCapacitySpecification: {
        defaultTargetCapacityType: "spot",
        totalTargetCapacity: 5,
    },
});
resources:
  example:
    type: aws:ec2:Fleet
    properties:
      launchTemplateConfig:
        launchTemplateSpecification:
          launchTemplateId: ${aws_launch_template.example.id}
          version: ${aws_launch_template.example.latest_version}
      targetCapacitySpecification:
        defaultTargetCapacityType: spot
        totalTargetCapacity: 5

Create Fleet Resource

new Fleet(name: string, args: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          context: Optional[str] = None,
          excess_capacity_termination_policy: Optional[str] = None,
          fleet_instance_sets: Optional[Sequence[FleetFleetInstanceSetArgs]] = None,
          fleet_state: Optional[str] = None,
          fulfilled_capacity: Optional[float] = None,
          fulfilled_on_demand_capacity: Optional[float] = None,
          launch_template_config: Optional[FleetLaunchTemplateConfigArgs] = None,
          on_demand_options: Optional[FleetOnDemandOptionsArgs] = None,
          replace_unhealthy_instances: Optional[bool] = None,
          spot_options: Optional[FleetSpotOptionsArgs] = None,
          tags: Optional[Mapping[str, str]] = None,
          target_capacity_specification: Optional[FleetTargetCapacitySpecificationArgs] = None,
          terminate_instances: Optional[bool] = None,
          terminate_instances_with_expiration: Optional[bool] = None,
          type: Optional[str] = None,
          valid_from: Optional[str] = None,
          valid_until: Optional[str] = None)
@overload
def Fleet(resource_name: str,
          args: FleetArgs,
          opts: Optional[ResourceOptions] = None)
func NewFleet(ctx *Context, name string, args FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs args, CustomResourceOptions? opts = null)
public Fleet(String name, FleetArgs args)
public Fleet(String name, FleetArgs args, CustomResourceOptions options)
type: aws:ec2:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FleetArgs
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 FleetArgs
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 FleetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FleetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Fleet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Fleet resource accepts the following input properties:

LaunchTemplateConfig Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

TargetCapacitySpecification Pulumi.Aws.Ec2.Inputs.FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

Context string

Reserved.

ExcessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

FleetInstanceSets List<Pulumi.Aws.Ec2.Inputs.FleetFleetInstanceSetArgs>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

FulfilledCapacity double

The number of units fulfilled by this request compared to the set target capacity.

FulfilledOnDemandCapacity double

The number of units fulfilled by this request compared to the set target On-Demand capacity.

OnDemandOptions Pulumi.Aws.Ec2.Inputs.FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

ReplaceUnhealthyInstances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

SpotOptions Pulumi.Aws.Ec2.Inputs.FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

State string

The state of the EC2 Fleet.

Tags Dictionary<string, string>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TerminateInstances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

TerminateInstancesWithExpiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

Type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

ValidFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

ValidUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

LaunchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

TargetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

Context string

Reserved.

ExcessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

FleetInstanceSets []FleetFleetInstanceSetArgs

Information about the instances that were launched by the fleet. Available only when type is set to instant.

FleetState string

The state of the EC2 Fleet.

FulfilledCapacity float64

The number of units fulfilled by this request compared to the set target capacity.

FulfilledOnDemandCapacity float64

The number of units fulfilled by this request compared to the set target On-Demand capacity.

OnDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

ReplaceUnhealthyInstances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

SpotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

Tags map[string]string

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TerminateInstances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

TerminateInstancesWithExpiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

Type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

ValidFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

ValidUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

launchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

targetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

context String

Reserved.

excessCapacityTerminationPolicy String

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets List<FleetFleetInstanceSetArgs>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState String

The state of the EC2 Fleet.

fulfilledCapacity Double

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity Double

The number of units fulfilled by this request compared to the set target On-Demand capacity.

onDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances Boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags Map<String,String>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

terminateInstances Boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration Boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type String

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom String

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil String

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

launchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

targetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

context string

Reserved.

excessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets FleetFleetInstanceSetArgs[]

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState string

The state of the EC2 Fleet.

fulfilledCapacity number

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity number

The number of units fulfilled by this request compared to the set target On-Demand capacity.

onDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags {[key: string]: string}

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

terminateInstances boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

launch_template_config FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

target_capacity_specification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

context str

Reserved.

excess_capacity_termination_policy str

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleet_instance_sets Sequence[FleetFleetInstanceSetArgs]

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleet_state str

The state of the EC2 Fleet.

fulfilled_capacity float

The number of units fulfilled by this request compared to the set target capacity.

fulfilled_on_demand_capacity float

The number of units fulfilled by this request compared to the set target On-Demand capacity.

on_demand_options FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replace_unhealthy_instances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spot_options FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags Mapping[str, str]

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

terminate_instances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminate_instances_with_expiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type str

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

valid_from str

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

valid_until str

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

launchTemplateConfig Property Map

Nested argument containing EC2 Launch Template configurations. Defined below.

targetCapacitySpecification Property Map

Nested argument containing target capacity configurations. Defined below.

context String

Reserved.

excessCapacityTerminationPolicy String

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets List<Property Map>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState String

The state of the EC2 Fleet.

fulfilledCapacity Number

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity Number

The number of units fulfilled by this request compared to the set target On-Demand capacity.

onDemandOptions Property Map

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances Boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions Property Map

Nested argument containing Spot configurations. Defined below.

tags Map<String>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

terminateInstances Boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration Boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type String

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom String

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil String

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Outputs

All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:

Arn string

The ARN of the fleet

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Arn string

The ARN of the fleet

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The ARN of the fleet

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn string

The ARN of the fleet

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn str

The ARN of the fleet

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

arn String

The ARN of the fleet

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Look up Existing Fleet Resource

Get an existing Fleet 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?: FleetState, opts?: CustomResourceOptions): Fleet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        context: Optional[str] = None,
        excess_capacity_termination_policy: Optional[str] = None,
        fleet_instance_sets: Optional[Sequence[FleetFleetInstanceSetArgs]] = None,
        fleet_state: Optional[str] = None,
        fulfilled_capacity: Optional[float] = None,
        fulfilled_on_demand_capacity: Optional[float] = None,
        launch_template_config: Optional[FleetLaunchTemplateConfigArgs] = None,
        on_demand_options: Optional[FleetOnDemandOptionsArgs] = None,
        replace_unhealthy_instances: Optional[bool] = None,
        spot_options: Optional[FleetSpotOptionsArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        target_capacity_specification: Optional[FleetTargetCapacitySpecificationArgs] = None,
        terminate_instances: Optional[bool] = None,
        terminate_instances_with_expiration: Optional[bool] = None,
        type: Optional[str] = None,
        valid_from: Optional[str] = None,
        valid_until: Optional[str] = None) -> Fleet
func GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)
public static Fleet Get(string name, Input<string> id, FleetState? state, CustomResourceOptions? opts = null)
public static Fleet get(String name, Output<String> id, FleetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
Arn string

The ARN of the fleet

Context string

Reserved.

ExcessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

FleetInstanceSets List<Pulumi.Aws.Ec2.Inputs.FleetFleetInstanceSetArgs>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

FulfilledCapacity double

The number of units fulfilled by this request compared to the set target capacity.

FulfilledOnDemandCapacity double

The number of units fulfilled by this request compared to the set target On-Demand capacity.

LaunchTemplateConfig Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

OnDemandOptions Pulumi.Aws.Ec2.Inputs.FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

ReplaceUnhealthyInstances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

SpotOptions Pulumi.Aws.Ec2.Inputs.FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

State string

The state of the EC2 Fleet.

Tags Dictionary<string, string>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

TargetCapacitySpecification Pulumi.Aws.Ec2.Inputs.FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

TerminateInstances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

TerminateInstancesWithExpiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

Type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

ValidFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

ValidUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Arn string

The ARN of the fleet

Context string

Reserved.

ExcessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

FleetInstanceSets []FleetFleetInstanceSetArgs

Information about the instances that were launched by the fleet. Available only when type is set to instant.

FleetState string

The state of the EC2 Fleet.

FulfilledCapacity float64

The number of units fulfilled by this request compared to the set target capacity.

FulfilledOnDemandCapacity float64

The number of units fulfilled by this request compared to the set target On-Demand capacity.

LaunchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

OnDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

ReplaceUnhealthyInstances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

SpotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

Tags map[string]string

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

TargetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

TerminateInstances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

TerminateInstancesWithExpiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

Type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

ValidFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

ValidUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

arn String

The ARN of the fleet

context String

Reserved.

excessCapacityTerminationPolicy String

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets List<FleetFleetInstanceSetArgs>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState String

The state of the EC2 Fleet.

fulfilledCapacity Double

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity Double

The number of units fulfilled by this request compared to the set target On-Demand capacity.

launchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

onDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances Boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags Map<String,String>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

targetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

terminateInstances Boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration Boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type String

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom String

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil String

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

arn string

The ARN of the fleet

context string

Reserved.

excessCapacityTerminationPolicy string

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets FleetFleetInstanceSetArgs[]

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState string

The state of the EC2 Fleet.

fulfilledCapacity number

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity number

The number of units fulfilled by this request compared to the set target On-Demand capacity.

launchTemplateConfig FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

onDemandOptions FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags {[key: string]: string}

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

targetCapacitySpecification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

terminateInstances boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type string

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom string

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil string

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

arn str

The ARN of the fleet

context str

Reserved.

excess_capacity_termination_policy str

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleet_instance_sets Sequence[FleetFleetInstanceSetArgs]

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleet_state str

The state of the EC2 Fleet.

fulfilled_capacity float

The number of units fulfilled by this request compared to the set target capacity.

fulfilled_on_demand_capacity float

The number of units fulfilled by this request compared to the set target On-Demand capacity.

launch_template_config FleetLaunchTemplateConfigArgs

Nested argument containing EC2 Launch Template configurations. Defined below.

on_demand_options FleetOnDemandOptionsArgs

Nested argument containing On-Demand configurations. Defined below.

replace_unhealthy_instances bool

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spot_options FleetSpotOptionsArgs

Nested argument containing Spot configurations. Defined below.

tags Mapping[str, str]

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

target_capacity_specification FleetTargetCapacitySpecificationArgs

Nested argument containing target capacity configurations. Defined below.

terminate_instances bool

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminate_instances_with_expiration bool

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type str

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

valid_from str

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

valid_until str

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

arn String

The ARN of the fleet

context String

Reserved.

excessCapacityTerminationPolicy String

Whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2. Valid values: no-termination, termination. Defaults to termination. Supported only for fleets of type maintain.

fleetInstanceSets List<Property Map>

Information about the instances that were launched by the fleet. Available only when type is set to instant.

fleetState String

The state of the EC2 Fleet.

fulfilledCapacity Number

The number of units fulfilled by this request compared to the set target capacity.

fulfilledOnDemandCapacity Number

The number of units fulfilled by this request compared to the set target On-Demand capacity.

launchTemplateConfig Property Map

Nested argument containing EC2 Launch Template configurations. Defined below.

onDemandOptions Property Map

Nested argument containing On-Demand configurations. Defined below.

replaceUnhealthyInstances Boolean

Whether EC2 Fleet should replace unhealthy instances. Defaults to false. Supported only for fleets of type maintain.

spotOptions Property Map

Nested argument containing Spot configurations. Defined below.

tags Map<String>

Map of Fleet tags. To tag instances at launch, specify the tags in the Launch Template. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

targetCapacitySpecification Property Map

Nested argument containing target capacity configurations. Defined below.

terminateInstances Boolean

Whether to terminate instances for an EC2 Fleet if it is deleted successfully. Defaults to false.

terminateInstancesWithExpiration Boolean

Whether running instances should be terminated when the EC2 Fleet expires. Defaults to false.

type String

The type of request. Indicates whether the EC2 Fleet only requests the target capacity, or also attempts to maintain it. Valid values: maintain, request, instant. Defaults to maintain.

validFrom String

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

validUntil String

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new EC2 Fleet requests are placed or able to fulfill the request. If no value is specified, the request remains until you cancel it.

Supporting Types

FleetFleetInstanceSet

InstanceIds List<string>

The IDs of the instances.

InstanceType string

Instance type.

Lifecycle string

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

Platform string

The value is Windows for Windows instances. Otherwise, the value is blank.

InstanceIds []string

The IDs of the instances.

InstanceType string

Instance type.

Lifecycle string

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

Platform string

The value is Windows for Windows instances. Otherwise, the value is blank.

instanceIds List<String>

The IDs of the instances.

instanceType String

Instance type.

lifecycle String

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

platform String

The value is Windows for Windows instances. Otherwise, the value is blank.

instanceIds string[]

The IDs of the instances.

instanceType string

Instance type.

lifecycle string

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

platform string

The value is Windows for Windows instances. Otherwise, the value is blank.

instance_ids Sequence[str]

The IDs of the instances.

instance_type str

Instance type.

lifecycle str

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

platform str

The value is Windows for Windows instances. Otherwise, the value is blank.

instanceIds List<String>

The IDs of the instances.

instanceType String

Instance type.

lifecycle String

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

platform String

The value is Windows for Windows instances. Otherwise, the value is blank.

FleetLaunchTemplateConfig

LaunchTemplateSpecification Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigLaunchTemplateSpecification

Nested argument containing EC2 Launch Template to use. Defined below.

Overrides List<Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverride>

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

LaunchTemplateSpecification FleetLaunchTemplateConfigLaunchTemplateSpecification

Nested argument containing EC2 Launch Template to use. Defined below.

Overrides []FleetLaunchTemplateConfigOverride

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

launchTemplateSpecification FleetLaunchTemplateConfigLaunchTemplateSpecification

Nested argument containing EC2 Launch Template to use. Defined below.

overrides List<FleetLaunchTemplateConfigOverride>

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

launchTemplateSpecification FleetLaunchTemplateConfigLaunchTemplateSpecification

Nested argument containing EC2 Launch Template to use. Defined below.

overrides FleetLaunchTemplateConfigOverride[]

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

launch_template_specification FleetLaunchTemplateConfigLaunchTemplateSpecification

Nested argument containing EC2 Launch Template to use. Defined below.

overrides Sequence[FleetLaunchTemplateConfigOverride]

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

launchTemplateSpecification Property Map

Nested argument containing EC2 Launch Template to use. Defined below.

overrides List<Property Map>

Nested argument(s) containing parameters to override the same parameters in the Launch Template. Defined below.

FleetLaunchTemplateConfigLaunchTemplateSpecification

Version string

The launch template version number, $Latest, or $Default.

LaunchTemplateId string

The ID of the launch template.

LaunchTemplateName string

The name of the launch template.

Version string

The launch template version number, $Latest, or $Default.

LaunchTemplateId string

The ID of the launch template.

LaunchTemplateName string

The name of the launch template.

version String

The launch template version number, $Latest, or $Default.

launchTemplateId String

The ID of the launch template.

launchTemplateName String

The name of the launch template.

version string

The launch template version number, $Latest, or $Default.

launchTemplateId string

The ID of the launch template.

launchTemplateName string

The name of the launch template.

version str

The launch template version number, $Latest, or $Default.

launch_template_id str

The ID of the launch template.

launch_template_name str

The name of the launch template.

version String

The launch template version number, $Latest, or $Default.

launchTemplateId String

The ID of the launch template.

launchTemplateName String

The name of the launch template.

FleetLaunchTemplateConfigOverride

AvailabilityZone string

Availability Zone in which to launch the instances.

InstanceRequirements Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirements

Override the instance type in the Launch Template with instance types that satisfy the requirements.

InstanceType string

Instance type.

MaxPrice string

Maximum price per unit hour that you are willing to pay for a Spot Instance.

Priority double

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

SubnetId string

ID of the subnet in which to launch the instances.

WeightedCapacity double

Number of units provided by the specified instance type.

AvailabilityZone string

Availability Zone in which to launch the instances.

InstanceRequirements FleetLaunchTemplateConfigOverrideInstanceRequirements

Override the instance type in the Launch Template with instance types that satisfy the requirements.

InstanceType string

Instance type.

MaxPrice string

Maximum price per unit hour that you are willing to pay for a Spot Instance.

Priority float64

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

SubnetId string

ID of the subnet in which to launch the instances.

WeightedCapacity float64

Number of units provided by the specified instance type.

availabilityZone String

Availability Zone in which to launch the instances.

instanceRequirements FleetLaunchTemplateConfigOverrideInstanceRequirements

Override the instance type in the Launch Template with instance types that satisfy the requirements.

instanceType String

Instance type.

maxPrice String

Maximum price per unit hour that you are willing to pay for a Spot Instance.

priority Double

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

subnetId String

ID of the subnet in which to launch the instances.

weightedCapacity Double

Number of units provided by the specified instance type.

availabilityZone string

Availability Zone in which to launch the instances.

instanceRequirements FleetLaunchTemplateConfigOverrideInstanceRequirements

Override the instance type in the Launch Template with instance types that satisfy the requirements.

instanceType string

Instance type.

maxPrice string

Maximum price per unit hour that you are willing to pay for a Spot Instance.

priority number

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

subnetId string

ID of the subnet in which to launch the instances.

weightedCapacity number

Number of units provided by the specified instance type.

availability_zone str

Availability Zone in which to launch the instances.

instance_requirements FleetLaunchTemplateConfigOverrideInstanceRequirements

Override the instance type in the Launch Template with instance types that satisfy the requirements.

instance_type str

Instance type.

max_price str

Maximum price per unit hour that you are willing to pay for a Spot Instance.

priority float

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

subnet_id str

ID of the subnet in which to launch the instances.

weighted_capacity float

Number of units provided by the specified instance type.

availabilityZone String

Availability Zone in which to launch the instances.

instanceRequirements Property Map

Override the instance type in the Launch Template with instance types that satisfy the requirements.

instanceType String

Instance type.

maxPrice String

Maximum price per unit hour that you are willing to pay for a Spot Instance.

priority Number

Priority for the launch template override. If on_demand_options allocation_strategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. Valid values are whole numbers starting at 0.

subnetId String

ID of the subnet in which to launch the instances.

weightedCapacity Number

Number of units provided by the specified instance type.

FleetLaunchTemplateConfigOverrideInstanceRequirements

MemoryMib Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

VcpuCount Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

AcceleratorCount Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.

AcceleratorManufacturers List<string>

List of accelerator manufacturer names. Default is any manufacturer.

AcceleratorNames List<string>

List of accelerator names. Default is any acclerator.

AcceleratorTotalMemoryMib Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

AcceleratorTypes List<string>

The accelerator types that must be on the instance type. Default is any accelerator type.

AllowedInstanceTypes List<string>

The 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 (*). The following are examples: 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. Default is any instance type.

BareMetal string

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

BaselineEbsBandwidthMbps Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

BurstablePerformance string

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

CpuManufacturers List<string>

The CPU manufacturers to include. 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.

ExcludedInstanceTypes List<string>

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

InstanceGenerations List<string>

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

LocalStorage string

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

LocalStorageTypes List<string>

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

MemoryGibPerVcpu Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

NetworkBandwidthGbps Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

NetworkInterfaceCount Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

OnDemandMaxPricePercentageOverLowestPrice int

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.

RequireHibernateSupport bool

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

SpotMaxPricePercentageOverLowestPrice int

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.

TotalLocalStorageGb Pulumi.Aws.Ec2.Inputs.FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

MemoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

VcpuCount FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

AcceleratorCount FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.

AcceleratorManufacturers []string

List of accelerator manufacturer names. Default is any manufacturer.

AcceleratorNames []string

List of accelerator names. Default is any acclerator.

AcceleratorTotalMemoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

AcceleratorTypes []string

The accelerator types that must be on the instance type. Default is any accelerator type.

AllowedInstanceTypes []string

The 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 (*). The following are examples: 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. Default is any instance type.

BareMetal string

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

BaselineEbsBandwidthMbps FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

BurstablePerformance string

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

CpuManufacturers []string

The CPU manufacturers to include. 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.

ExcludedInstanceTypes []string

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

InstanceGenerations []string

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

LocalStorage string

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

LocalStorageTypes []string

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

MemoryGibPerVcpu FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

NetworkBandwidthGbps FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

NetworkInterfaceCount FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

OnDemandMaxPricePercentageOverLowestPrice int

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.

RequireHibernateSupport bool

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

SpotMaxPricePercentageOverLowestPrice int

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.

TotalLocalStorageGb FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

memoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

vcpuCount FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

acceleratorCount FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.

acceleratorManufacturers List<String>

List of accelerator manufacturer names. Default is any manufacturer.

acceleratorNames List<String>

List of accelerator names. Default is any acclerator.

acceleratorTotalMemoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

acceleratorTypes List<String>

The accelerator types that must be on the instance type. Default is any accelerator type.

allowedInstanceTypes List<String>

The 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 (*). The following are examples: 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. Default is any instance type.

bareMetal String

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

baselineEbsBandwidthMbps FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

burstablePerformance String

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

cpuManufacturers List<String>

The CPU manufacturers to include. 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.

excludedInstanceTypes List<String>

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

instanceGenerations List<String>

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

localStorage String

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

localStorageTypes List<String>

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

memoryGibPerVcpu FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

networkBandwidthGbps FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

networkInterfaceCount FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

onDemandMaxPricePercentageOverLowestPrice Integer

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.

requireHibernateSupport Boolean

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

spotMaxPricePercentageOverLowestPrice Integer

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.

totalLocalStorageGb FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

memoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

vcpuCount FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

acceleratorCount FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.

acceleratorManufacturers string[]

List of accelerator manufacturer names. Default is any manufacturer.

acceleratorNames string[]

List of accelerator names. Default is any acclerator.

acceleratorTotalMemoryMib FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

acceleratorTypes string[]

The accelerator types that must be on the instance type. Default is any accelerator type.

allowedInstanceTypes string[]

The 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 (*). The following are examples: 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. Default is any instance type.

bareMetal string

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

baselineEbsBandwidthMbps FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

burstablePerformance string

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

cpuManufacturers string[]

The CPU manufacturers to include. 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.

excludedInstanceTypes string[]

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

instanceGenerations string[]

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

localStorage string

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

localStorageTypes string[]

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

memoryGibPerVcpu FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

networkBandwidthGbps FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

networkInterfaceCount FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

onDemandMaxPricePercentageOverLowestPrice number

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.

requireHibernateSupport boolean

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

spotMaxPricePercentageOverLowestPrice number

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.

totalLocalStorageGb FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

memory_mib FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

vcpu_count FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Block describing the minimum and maximum number of vCPUs. Default is no maximum.

accelerator_count FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Block describing the minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips). Default is no minimum or maximum limits.

accelerator_manufacturers Sequence[str]

List of accelerator manufacturer names. Default is any manufacturer.

accelerator_names Sequence[str]

List of accelerator names. Default is any acclerator.

accelerator_total_memory_mib FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

accelerator_types Sequence[str]

The accelerator types that must be on the instance type. Default is any accelerator type.

allowed_instance_types Sequence[str]

The 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 (*). The following are examples: 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. Default is any instance type.

bare_metal str

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

baseline_ebs_bandwidth_mbps FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

burstable_performance str

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

cpu_manufacturers Sequence[str]

The CPU manufacturers to include. 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.

excluded_instance_types Sequence[str]

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

instance_generations Sequence[str]

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

local_storage str

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

local_storage_types Sequence[str]

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

memory_gib_per_vcpu FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

network_bandwidth_gbps FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

network_interface_count FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

on_demand_max_price_percentage_over_lowest_price int

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.

require_hibernate_support bool

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

spot_max_price_percentage_over_lowest_price int

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.

total_local_storage_gb FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

memoryMib Property Map

The minimum and maximum amount of memory per vCPU, in GiB. Default is no minimum or maximum limits.

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 limits.

acceleratorManufacturers List<String>

List of accelerator manufacturer names. Default is any manufacturer.

acceleratorNames List<String>

List of accelerator names. Default is any acclerator.

acceleratorTotalMemoryMib Property Map

Block describing the minimum and maximum total memory of the accelerators. Default is no minimum or maximum.

acceleratorTypes List<String>

The accelerator types that must be on the instance type. Default is any accelerator type.

allowedInstanceTypes List<String>

The 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 (*). The following are examples: 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. Default is any instance type.

bareMetal String

Indicate whether bare metal instace types should be included, excluded, or required. Default is excluded.

baselineEbsBandwidthMbps Property Map

Block describing the minimum and maximum baseline EBS bandwidth, in Mbps. Default is no minimum or maximum.

burstablePerformance String

Indicates whether burstable performance T instance types are included, excluded, or required. Default is excluded.

cpuManufacturers List<String>

The CPU manufacturers to include. 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.

excludedInstanceTypes List<String>

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*). The following are examples: 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.

instanceGenerations List<String>

Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Valid values are current and previous. Default is current and previous generation instance types.

localStorage String

Indicate whether instance types with local storage volumes are included, excluded, or required. Default is included.

localStorageTypes List<String>

List of local storage type names. Valid values are hdd and ssd. Default any storage type.

memoryGibPerVcpu Property Map

Block describing the minimum and maximum amount of memory (GiB) per vCPU. Default is no minimum or maximum.

networkBandwidthGbps Property Map

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). Default is No minimum or maximum.

networkInterfaceCount Property Map

Block describing the minimum and maximum number of network interfaces. Default is no minimum or maximum.

onDemandMaxPricePercentageOverLowestPrice Number

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.

requireHibernateSupport Boolean

Indicate whether instance types must support On-Demand Instance Hibernation, either true or false. Default is false.

spotMaxPricePercentageOverLowestPrice Number

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.

totalLocalStorageGb Property Map

Block describing the minimum and maximum total local storage (GB). Default is no minimum or maximum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorCount

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsAcceleratorTotalMemoryMib

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsBaselineEbsBandwidthMbps

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryGibPerVcpu

Max double

Maximum. Set to 0 to exclude instance types with accelerators.

Min double

Minimum.

Max float64

Maximum. Set to 0 to exclude instance types with accelerators.

Min float64

Minimum.

max Double

Maximum. Set to 0 to exclude instance types with accelerators.

min Double

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max float

Maximum. Set to 0 to exclude instance types with accelerators.

min float

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsMemoryMib

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkBandwidthGbps

Max double

Maximum. Set to 0 to exclude instance types with accelerators.

Min double

Minimum.

Max float64

Maximum. Set to 0 to exclude instance types with accelerators.

Min float64

Minimum.

max Double

Maximum. Set to 0 to exclude instance types with accelerators.

min Double

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max float

Maximum. Set to 0 to exclude instance types with accelerators.

min float

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsNetworkInterfaceCount

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsTotalLocalStorageGb

Max double

Maximum. Set to 0 to exclude instance types with accelerators.

Min double

Minimum.

Max float64

Maximum. Set to 0 to exclude instance types with accelerators.

Min float64

Minimum.

max Double

Maximum. Set to 0 to exclude instance types with accelerators.

min Double

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max float

Maximum. Set to 0 to exclude instance types with accelerators.

min float

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

FleetLaunchTemplateConfigOverrideInstanceRequirementsVcpuCount

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

Min int

Minimum.

Max int

Maximum. Set to 0 to exclude instance types with accelerators.

min Integer

Minimum.

max Integer

Maximum. Set to 0 to exclude instance types with accelerators.

min number

Minimum.

max number

Maximum. Set to 0 to exclude instance types with accelerators.

min int

Minimum.

max int

Maximum. Set to 0 to exclude instance types with accelerators.

min Number

Minimum.

max Number

Maximum. Set to 0 to exclude instance types with accelerators.

FleetOnDemandOptions

AllocationStrategy string

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

MaxTotalPrice string

The maximum amount per hour for On-Demand Instances that you're willing to pay.

MinTargetCapacity int

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

SingleAvailabilityZone bool

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

SingleInstanceType bool

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

AllocationStrategy string

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

MaxTotalPrice string

The maximum amount per hour for On-Demand Instances that you're willing to pay.

MinTargetCapacity int

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

SingleAvailabilityZone bool

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

SingleInstanceType bool

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

allocationStrategy String

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

maxTotalPrice String

The maximum amount per hour for On-Demand Instances that you're willing to pay.

minTargetCapacity Integer

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

singleAvailabilityZone Boolean

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

singleInstanceType Boolean

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

allocationStrategy string

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

maxTotalPrice string

The maximum amount per hour for On-Demand Instances that you're willing to pay.

minTargetCapacity number

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

singleAvailabilityZone boolean

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

singleInstanceType boolean

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

allocation_strategy str

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

max_total_price str

The maximum amount per hour for On-Demand Instances that you're willing to pay.

min_target_capacity int

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

single_availability_zone bool

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

single_instance_type bool

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

allocationStrategy String

The order of the launch template overrides to use in fulfilling On-Demand capacity. Valid values: lowestPrice, prioritized. Default: lowestPrice.

maxTotalPrice String

The maximum amount per hour for On-Demand Instances that you're willing to pay.

minTargetCapacity Number

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances. Supported only for fleets of type instant. If you specify min_target_capacity, at least one of the following must be specified: single_availability_zone or single_instance_type.

singleAvailabilityZone Boolean

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. Supported only for fleets of type instant.

singleInstanceType Boolean

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. Supported only for fleets of type instant.

FleetSpotOptions

AllocationStrategy string

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

InstanceInterruptionBehavior string

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

InstancePoolsToUseCount int

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

MaintenanceStrategies Pulumi.Aws.Ec2.Inputs.FleetSpotOptionsMaintenanceStrategies

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

AllocationStrategy string

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

InstanceInterruptionBehavior string

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

InstancePoolsToUseCount int

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

MaintenanceStrategies FleetSpotOptionsMaintenanceStrategies

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

allocationStrategy String

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

instanceInterruptionBehavior String

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

instancePoolsToUseCount Integer

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

maintenanceStrategies FleetSpotOptionsMaintenanceStrategies

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

allocationStrategy string

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

instanceInterruptionBehavior string

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

instancePoolsToUseCount number

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

maintenanceStrategies FleetSpotOptionsMaintenanceStrategies

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

allocation_strategy str

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

instance_interruption_behavior str

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

instance_pools_to_use_count int

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

maintenance_strategies FleetSpotOptionsMaintenanceStrategies

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

allocationStrategy String

How to allocate the target capacity across the Spot pools. Valid values: diversified, lowestPrice, capacity-optimized, capacity-optimized-prioritized and price-capacity-optimized. Default: lowestPrice.

instanceInterruptionBehavior String

Behavior when a Spot Instance is interrupted. Valid values: hibernate, stop, terminate. Default: terminate.

instancePoolsToUseCount Number

Number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot allocation_strategy is set to lowestPrice. Default: 1.

maintenanceStrategies Property Map

Nested argument containing maintenance strategies for managing your Spot Instances that are at an elevated risk of being interrupted. Defined below.

FleetSpotOptionsMaintenanceStrategies

CapacityRebalance Pulumi.Aws.Ec2.Inputs.FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

Nested argument containing the capacity rebalance for your fleet request. Defined below.

CapacityRebalance FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

Nested argument containing the capacity rebalance for your fleet request. Defined below.

capacityRebalance FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

Nested argument containing the capacity rebalance for your fleet request. Defined below.

capacityRebalance FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

Nested argument containing the capacity rebalance for your fleet request. Defined below.

capacity_rebalance FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

Nested argument containing the capacity rebalance for your fleet request. Defined below.

capacityRebalance Property Map

Nested argument containing the capacity rebalance for your fleet request. Defined below.

FleetSpotOptionsMaintenanceStrategiesCapacityRebalance

ReplacementStrategy string

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

TerminationDelay int
ReplacementStrategy string

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

TerminationDelay int
replacementStrategy String

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

terminationDelay Integer
replacementStrategy string

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

terminationDelay number
replacement_strategy str

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

termination_delay int
replacementStrategy String

The replacement strategy to use. Only available for fleets of type set to maintain. Valid values: launch.

terminationDelay Number

FleetTargetCapacitySpecification

DefaultTargetCapacityType string

Default target capacity type. Valid values: on-demand, spot.

TotalTargetCapacity int

The number of units to request, filled using default_target_capacity_type.

OnDemandTargetCapacity int

The number of On-Demand units to request.

SpotTargetCapacity int

The number of Spot units to request.

TargetCapacityUnitType string

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

DefaultTargetCapacityType string

Default target capacity type. Valid values: on-demand, spot.

TotalTargetCapacity int

The number of units to request, filled using default_target_capacity_type.

OnDemandTargetCapacity int

The number of On-Demand units to request.

SpotTargetCapacity int

The number of Spot units to request.

TargetCapacityUnitType string

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

defaultTargetCapacityType String

Default target capacity type. Valid values: on-demand, spot.

totalTargetCapacity Integer

The number of units to request, filled using default_target_capacity_type.

onDemandTargetCapacity Integer

The number of On-Demand units to request.

spotTargetCapacity Integer

The number of Spot units to request.

targetCapacityUnitType String

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

defaultTargetCapacityType string

Default target capacity type. Valid values: on-demand, spot.

totalTargetCapacity number

The number of units to request, filled using default_target_capacity_type.

onDemandTargetCapacity number

The number of On-Demand units to request.

spotTargetCapacity number

The number of Spot units to request.

targetCapacityUnitType string

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

default_target_capacity_type str

Default target capacity type. Valid values: on-demand, spot.

total_target_capacity int

The number of units to request, filled using default_target_capacity_type.

on_demand_target_capacity int

The number of On-Demand units to request.

spot_target_capacity int

The number of Spot units to request.

target_capacity_unit_type str

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

defaultTargetCapacityType String

Default target capacity type. Valid values: on-demand, spot.

totalTargetCapacity Number

The number of units to request, filled using default_target_capacity_type.

onDemandTargetCapacity Number

The number of On-Demand units to request.

spotTargetCapacity Number

The number of Spot units to request.

targetCapacityUnitType String

The unit for the target capacity. If you specify target_capacity_unit_type, instance_requirements must be specified.

Import

aws_ec2_fleet can be imported by using the Fleet identifier, e.g.,

 $ pulumi import aws:ec2/fleet:Fleet example fleet-b9b55d27-c5fc-41ac-a6f3-48fcc91f080c

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.