1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. Ec2Fleet

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource Type definition for AWS::EC2::EC2Fleet

    Create Ec2Fleet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ec2Fleet(name: string, args: Ec2FleetArgs, opts?: CustomResourceOptions);
    @overload
    def Ec2Fleet(resource_name: str,
                 args: Ec2FleetArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ec2Fleet(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 launch_template_configs: Optional[Sequence[Ec2FleetFleetLaunchTemplateConfigRequestArgs]] = None,
                 target_capacity_specification: Optional[Ec2FleetTargetCapacitySpecificationRequestArgs] = None,
                 spot_options: Optional[Ec2FleetSpotOptionsRequestArgs] = None,
                 on_demand_options: Optional[Ec2FleetOnDemandOptionsRequestArgs] = None,
                 replace_unhealthy_instances: Optional[bool] = None,
                 reserved_capacity_options: Optional[Ec2FleetReservedCapacityOptionsRequestArgs] = None,
                 context: Optional[str] = None,
                 tag_specifications: Optional[Sequence[Ec2FleetTagSpecificationArgs]] = None,
                 excess_capacity_termination_policy: Optional[Ec2FleetExcessCapacityTerminationPolicy] = None,
                 terminate_instances_with_expiration: Optional[bool] = None,
                 type: Optional[Ec2FleetType] = None,
                 valid_from: Optional[str] = None,
                 valid_until: Optional[str] = None)
    func NewEc2Fleet(ctx *Context, name string, args Ec2FleetArgs, opts ...ResourceOption) (*Ec2Fleet, error)
    public Ec2Fleet(string name, Ec2FleetArgs args, CustomResourceOptions? opts = null)
    public Ec2Fleet(String name, Ec2FleetArgs args)
    public Ec2Fleet(String name, Ec2FleetArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:Ec2Fleet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ec2_ec2_fleet" "name" {
        # resource properties
    }

    Parameters

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

    Ec2Fleet Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Ec2Fleet resource accepts the following input properties:

    LaunchTemplateConfigs List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetFleetLaunchTemplateConfigRequest>
    The configuration for the EC2 Fleet.
    TargetCapacitySpecification Pulumi.AwsNative.Ec2.Inputs.Ec2FleetTargetCapacitySpecificationRequest
    The number of units to request.
    Context string
    Reserved.
    ExcessCapacityTerminationPolicy Pulumi.AwsNative.Ec2.Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    OnDemandOptions Pulumi.AwsNative.Ec2.Inputs.Ec2FleetOnDemandOptionsRequest
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    ReplaceUnhealthyInstances bool
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    ReservedCapacityOptions Pulumi.AwsNative.Ec2.Inputs.Ec2FleetReservedCapacityOptionsRequest
    SpotOptions Pulumi.AwsNative.Ec2.Inputs.Ec2FleetSpotOptionsRequest
    Describes the configuration of Spot Instances in an EC2 Fleet.
    TagSpecifications List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetTagSpecification>

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    TerminateInstancesWithExpiration bool
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    Type Pulumi.AwsNative.Ec2.Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    ValidFrom string
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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.
    LaunchTemplateConfigs []Ec2FleetFleetLaunchTemplateConfigRequestArgs
    The configuration for the EC2 Fleet.
    TargetCapacitySpecification Ec2FleetTargetCapacitySpecificationRequestArgs
    The number of units to request.
    Context string
    Reserved.
    ExcessCapacityTerminationPolicy Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    OnDemandOptions Ec2FleetOnDemandOptionsRequestArgs
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    ReplaceUnhealthyInstances bool
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    ReservedCapacityOptions Ec2FleetReservedCapacityOptionsRequestArgs
    SpotOptions Ec2FleetSpotOptionsRequestArgs
    Describes the configuration of Spot Instances in an EC2 Fleet.
    TagSpecifications []Ec2FleetTagSpecificationArgs

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    TerminateInstancesWithExpiration bool
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    Type Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    ValidFrom string
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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_configs list(object)
    The configuration for the EC2 Fleet.
    target_capacity_specification object
    The number of units to request.
    context string
    Reserved.
    excess_capacity_termination_policy "termination" | "no-termination"

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    on_demand_options object
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    replace_unhealthy_instances bool
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    reserved_capacity_options object
    spot_options object
    Describes the configuration of Spot Instances in an EC2 Fleet.
    tag_specifications list(object)

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    terminate_instances_with_expiration bool
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    type "maintain" | "request" | "instant"

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    valid_from string
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). The default is to start fulfilling the request immediately.
    valid_until string
    The end date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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.
    launchTemplateConfigs List<Ec2FleetFleetLaunchTemplateConfigRequest>
    The configuration for the EC2 Fleet.
    targetCapacitySpecification Ec2FleetTargetCapacitySpecificationRequest
    The number of units to request.
    context String
    Reserved.
    excessCapacityTerminationPolicy Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    onDemandOptions Ec2FleetOnDemandOptionsRequest
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    replaceUnhealthyInstances Boolean
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    reservedCapacityOptions Ec2FleetReservedCapacityOptionsRequest
    spotOptions Ec2FleetSpotOptionsRequest
    Describes the configuration of Spot Instances in an EC2 Fleet.
    tagSpecifications List<Ec2FleetTagSpecification>

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    terminateInstancesWithExpiration Boolean
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    type Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    validFrom String
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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.
    launchTemplateConfigs Ec2FleetFleetLaunchTemplateConfigRequest[]
    The configuration for the EC2 Fleet.
    targetCapacitySpecification Ec2FleetTargetCapacitySpecificationRequest
    The number of units to request.
    context string
    Reserved.
    excessCapacityTerminationPolicy Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    onDemandOptions Ec2FleetOnDemandOptionsRequest
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    replaceUnhealthyInstances boolean
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    reservedCapacityOptions Ec2FleetReservedCapacityOptionsRequest
    spotOptions Ec2FleetSpotOptionsRequest
    Describes the configuration of Spot Instances in an EC2 Fleet.
    tagSpecifications Ec2FleetTagSpecification[]

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    terminateInstancesWithExpiration boolean
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    type Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    validFrom string
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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_configs Sequence[Ec2FleetFleetLaunchTemplateConfigRequestArgs]
    The configuration for the EC2 Fleet.
    target_capacity_specification Ec2FleetTargetCapacitySpecificationRequestArgs
    The number of units to request.
    context str
    Reserved.
    excess_capacity_termination_policy Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    on_demand_options Ec2FleetOnDemandOptionsRequestArgs
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    replace_unhealthy_instances bool
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    reserved_capacity_options Ec2FleetReservedCapacityOptionsRequestArgs
    spot_options Ec2FleetSpotOptionsRequestArgs
    Describes the configuration of Spot Instances in an EC2 Fleet.
    tag_specifications Sequence[Ec2FleetTagSpecificationArgs]

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    terminate_instances_with_expiration bool
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    type Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    valid_from str
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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.
    launchTemplateConfigs List<Property Map>
    The configuration for the EC2 Fleet.
    targetCapacitySpecification Property Map
    The number of units to request.
    context String
    Reserved.
    excessCapacityTerminationPolicy "termination" | "no-termination"

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    onDemandOptions Property Map
    Describes the configuration of On-Demand Instances in an EC2 Fleet.
    replaceUnhealthyInstances Boolean
    Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for fleets of type maintain . For more information, see EC2 Fleet health checks in the Amazon EC2 User Guide .
    reservedCapacityOptions Property Map
    spotOptions Property Map
    Describes the configuration of Spot Instances in an EC2 Fleet.
    tagSpecifications List<Property Map>

    The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources .

    If the fleet type is instant , specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

    If the fleet type is maintain or request , specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance . To tag instances at launch, specify the tags in a launch template .

    terminateInstancesWithExpiration Boolean
    Indicates whether running instances should be terminated when the EC2 Fleet expires.
    type "maintain" | "request" | "instant"

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    validFrom String
    The start date and time of the request, in UTC format (for example, YYYY - MM - DD T HH : MM : SS Z). 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 - DD T HH : MM : SS Z). 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 Ec2Fleet resource produces the following output properties:

    FleetId string
    The ID of the EC2 Fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    FleetId string
    The ID of the EC2 Fleet.
    Id string
    The provider-assigned unique ID for this managed resource.
    fleet_id string
    The ID of the EC2 Fleet.
    id string
    The provider-assigned unique ID for this managed resource.
    fleetId String
    The ID of the EC2 Fleet.
    id String
    The provider-assigned unique ID for this managed resource.
    fleetId string
    The ID of the EC2 Fleet.
    id string
    The provider-assigned unique ID for this managed resource.
    fleet_id str
    The ID of the EC2 Fleet.
    id str
    The provider-assigned unique ID for this managed resource.
    fleetId String
    The ID of the EC2 Fleet.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Ec2Fleet Resource

    Get an existing Ec2Fleet 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>, opts?: CustomResourceOptions): Ec2Fleet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Ec2Fleet
    func GetEc2Fleet(ctx *Context, name string, id IDInput, state *Ec2FleetState, opts ...ResourceOption) (*Ec2Fleet, error)
    public static Ec2Fleet Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Ec2Fleet get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingEc2Fleet:    type: aws-native:ec2:Ec2Fleet    get:      id: ${id}
    import {
      to = aws-native_ec2_ec2_fleet.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state Ec2FleetState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    Ec2FleetAcceleratorCountRequest, Ec2FleetAcceleratorCountRequestArgs

    Max int
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    Min int
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    Max int
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    Min int
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    max number
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    min number
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    max Integer
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    min Integer
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    max number
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    min number
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    max int
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    min int
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.
    max Number
    The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0 .
    min Number
    The minimum number of accelerators. To specify no minimum limit, omit this parameter.

    Ec2FleetAcceleratorTotalMemoryMiBRequest, Ec2FleetAcceleratorTotalMemoryMiBRequestArgs

    Max int
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    Min int
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    Max int
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    Min int
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    max Integer
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    min Integer
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    max int
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    min int
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
    max Number
    The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
    min Number
    The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.

    Ec2FleetBaselineEbsBandwidthMbpsRequest, Ec2FleetBaselineEbsBandwidthMbpsRequestArgs

    Max int
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    Min int
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    Max int
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    Min int
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    max number
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    min number
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    max Integer
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    min Integer
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    max number
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    min number
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    max int
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    min int
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
    max Number
    The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
    min Number
    The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.

    Ec2FleetBaselinePerformanceFactorsRequest, Ec2FleetBaselinePerformanceFactorsRequestArgs

    Cpu Pulumi.AwsNative.Ec2.Inputs.Ec2FleetCpuPerformanceFactorRequest
    The CPU performance to consider, using an instance family as the baseline reference.
    Cpu Ec2FleetCpuPerformanceFactorRequest
    The CPU performance to consider, using an instance family as the baseline reference.
    cpu object
    The CPU performance to consider, using an instance family as the baseline reference.
    cpu Ec2FleetCpuPerformanceFactorRequest
    The CPU performance to consider, using an instance family as the baseline reference.
    cpu Ec2FleetCpuPerformanceFactorRequest
    The CPU performance to consider, using an instance family as the baseline reference.
    cpu Ec2FleetCpuPerformanceFactorRequest
    The CPU performance to consider, using an instance family as the baseline reference.
    cpu Property Map
    The CPU performance to consider, using an instance family as the baseline reference.

    Ec2FleetBlockDeviceMapping, Ec2FleetBlockDeviceMappingArgs

    DeviceName string
    The device name. For available device names, see Device names for volumes .
    Ebs Pulumi.AwsNative.Ec2.Inputs.Ec2FleetEbsBlockDevice
    Parameters used to automatically set up EBS volumes when the instance is launched.
    NoDevice string
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    VirtualName string

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    DeviceName string
    The device name. For available device names, see Device names for volumes .
    Ebs Ec2FleetEbsBlockDevice
    Parameters used to automatically set up EBS volumes when the instance is launched.
    NoDevice string
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    VirtualName string

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    device_name string
    The device name. For available device names, see Device names for volumes .
    ebs object
    Parameters used to automatically set up EBS volumes when the instance is launched.
    no_device string
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    virtual_name string

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    deviceName String
    The device name. For available device names, see Device names for volumes .
    ebs Ec2FleetEbsBlockDevice
    Parameters used to automatically set up EBS volumes when the instance is launched.
    noDevice String
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    virtualName String

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    deviceName string
    The device name. For available device names, see Device names for volumes .
    ebs Ec2FleetEbsBlockDevice
    Parameters used to automatically set up EBS volumes when the instance is launched.
    noDevice string
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    virtualName string

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    device_name str
    The device name. For available device names, see Device names for volumes .
    ebs Ec2FleetEbsBlockDevice
    Parameters used to automatically set up EBS volumes when the instance is launched.
    no_device str
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    virtual_name str

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    deviceName String
    The device name. For available device names, see Device names for volumes .
    ebs Property Map
    Parameters used to automatically set up EBS volumes when the instance is launched.
    noDevice String
    To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value.
    virtualName String

    The virtual device name ( ephemeral N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

    NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

    Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

    Ec2FleetCapacityRebalance, Ec2FleetCapacityRebalanceArgs

    ReplacementStrategy Pulumi.AwsNative.Ec2.Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    TerminationDelay int

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    ReplacementStrategy Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    TerminationDelay int

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    replacement_strategy "launch" | "launch-before-terminate"

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    termination_delay number

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    replacementStrategy Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    terminationDelay Integer

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    replacementStrategy Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    terminationDelay number

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    replacement_strategy Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    termination_delay int

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    replacementStrategy "launch" | "launch-before-terminate"

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    terminationDelay Number

    The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.

    Required when ReplacementStrategy is set to launch-before-terminate .

    Not valid when ReplacementStrategy is set to launch .

    Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

    Ec2FleetCapacityRebalanceReplacementStrategy

    The replacement strategy to use. Only available for fleets of type maintain .

    launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.

    launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

    NameValue
    Launchlaunch
    LaunchBeforeTerminatelaunch-before-terminate
    NameValue
    Ec2FleetCapacityRebalanceReplacementStrategyLaunchlaunch
    Ec2FleetCapacityRebalanceReplacementStrategyLaunchBeforeTerminatelaunch-before-terminate
    Value
    launch
    launch-before-terminate
    NameValue
    Launchlaunch
    LaunchBeforeTerminatelaunch-before-terminate
    NameValue
    Launchlaunch
    LaunchBeforeTerminatelaunch-before-terminate
    NameValue
    LAUNCHlaunch
    LAUNCH_BEFORE_TERMINATElaunch-before-terminate
    Value
    launch
    launch-before-terminate

    Ec2FleetCapacityReservationOptionsRequest, Ec2FleetCapacityReservationOptionsRequestArgs

    UsageStrategy Pulumi.AwsNative.Ec2.Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    UsageStrategy Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    usage_strategy "use-capacity-reservations-first"

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    usageStrategy Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    usageStrategy Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    usage_strategy Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    usageStrategy "use-capacity-reservations-first"

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    Ec2FleetCapacityReservationOptionsRequestUsageStrategy

    Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.

    If you specify use-capacity-reservations-first , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( lowest-price or prioritized ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( lowest-price or prioritized ).

    If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.

    NameValue
    UseCapacityReservationsFirstuse-capacity-reservations-first
    NameValue
    Ec2FleetCapacityReservationOptionsRequestUsageStrategyUseCapacityReservationsFirstuse-capacity-reservations-first
    Value
    use-capacity-reservations-first
    NameValue
    UseCapacityReservationsFirstuse-capacity-reservations-first
    NameValue
    UseCapacityReservationsFirstuse-capacity-reservations-first
    NameValue
    USE_CAPACITY_RESERVATIONS_FIRSTuse-capacity-reservations-first
    Value
    use-capacity-reservations-first

    Ec2FleetCapacityReservationTargetRequest, Ec2FleetCapacityReservationTargetRequestArgs

    Ec2FleetCpuPerformanceFactorRequest, Ec2FleetCpuPerformanceFactorRequestArgs

    References List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetPerformanceFactorReferenceRequest>

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    References []Ec2FleetPerformanceFactorReferenceRequest

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    references list(object)

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    references List<Ec2FleetPerformanceFactorReferenceRequest>

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    references Ec2FleetPerformanceFactorReferenceRequest[]

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    references Sequence[Ec2FleetPerformanceFactorReferenceRequest]

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    references List<Property Map>

    Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

    Currently, only one instance family can be specified in the list.

    Ec2FleetEbsBlockDevice, Ec2FleetEbsBlockDeviceArgs

    DeleteOnTermination bool
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    Encrypted bool

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    Iops int

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    KmsKeyId string

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    MultiAvailabilityZoneConfiguration Pulumi.AwsNative.Ec2.Inputs.Ec2FleetMultiAvailabilityZoneConfiguration
    SnapshotId string
    The ID of the snapshot.
    VolumeSize int

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    VolumeType string
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    DeleteOnTermination bool
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    Encrypted bool

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    Iops int

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    KmsKeyId string

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    MultiAvailabilityZoneConfiguration Ec2FleetMultiAvailabilityZoneConfiguration
    SnapshotId string
    The ID of the snapshot.
    VolumeSize int

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    VolumeType string
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    delete_on_termination bool
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    encrypted bool

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    iops number

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    kms_key_id string

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    multi_availability_zone_configuration object
    snapshot_id string
    The ID of the snapshot.
    volume_size number

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    volume_type string
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    deleteOnTermination Boolean
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    encrypted Boolean

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    iops Integer

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    kmsKeyId String

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    multiAvailabilityZoneConfiguration Ec2FleetMultiAvailabilityZoneConfiguration
    snapshotId String
    The ID of the snapshot.
    volumeSize Integer

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    volumeType String
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    deleteOnTermination boolean
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    encrypted boolean

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    iops number

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    kmsKeyId string

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    multiAvailabilityZoneConfiguration Ec2FleetMultiAvailabilityZoneConfiguration
    snapshotId string
    The ID of the snapshot.
    volumeSize number

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    volumeType string
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    delete_on_termination bool
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    encrypted bool

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    iops int

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    kms_key_id str

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    multi_availability_zone_configuration Ec2FleetMultiAvailabilityZoneConfiguration
    snapshot_id str
    The ID of the snapshot.
    volume_size int

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    volume_type str
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .
    deleteOnTermination Boolean
    Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide .
    encrypted Boolean

    Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to true depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EBS User Guide .

    In no case can you remove encryption from an encrypted volume.

    Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types .

    • If you are creating a block device mapping for a new (empty) volume , you can include this parameter, and specify either true for an encrypted volume, or false for an unencrypted volume. If you omit this parameter, it defaults to false (unencrypted).
    • If you are creating a block device mapping from an existing encrypted or unencrypted snapshot , you must omit this parameter. If you include this parameter, the request will fail, regardless of the value that you specify.
    • If you are creating a block device mapping from an existing unencrypted volume , you can include this parameter, but you must specify false . If you specify true , the request will fail. In this case, we recommend that you omit the parameter.
    • If you are creating a block device mapping from an existing encrypted volume , you can include this parameter, and specify either true or false . However, if you specify false , the parameter is ignored and the block device mapping is always encrypted. In this case, we recommend that you omit the parameter.
    iops Number

    The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3 : 3,000 - 80,000 IOPS
    • io1 : 100 - 64,000 IOPS
    • io2 : 100 - 256,000 IOPS

    For io2 volumes, you can achieve up to 256,000 IOPS on instances built on the Nitro System . On other instances, you can achieve performance up to 32,000 IOPS.

    This parameter is required for io1 and io2 volumes. The default for gp3 volumes is 3,000 IOPS.

    kmsKeyId String

    Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.

    This parameter is only supported on BlockDeviceMapping objects called by RunInstances , RequestSpotFleet , and RequestSpotInstances .

    multiAvailabilityZoneConfiguration Property Map
    snapshotId String
    The ID of the snapshot.
    volumeSize Number

    The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.

    The following are the supported sizes for each volume type:

    • gp2 : 1 - 16,384 GiB
    • gp3 : 1 - 65,536 GiB
    • io1 : 4 - 16,384 GiB
    • io2 : 4 - 65,536 GiB
    • st1 and sc1 : 125 - 16,384 GiB
    • standard : 1 - 1024 GiB
    volumeType String
    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide .

    Ec2FleetExcessCapacityTerminationPolicy

    Indicates whether running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.

    Supported only for fleets of type maintain .

    NameValue
    Terminationtermination
    NoTerminationno-termination
    NameValue
    Ec2FleetExcessCapacityTerminationPolicyTerminationtermination
    Ec2FleetExcessCapacityTerminationPolicyNoTerminationno-termination
    Value
    termination
    no-termination
    NameValue
    Terminationtermination
    NoTerminationno-termination
    NameValue
    Terminationtermination
    NoTerminationno-termination
    NameValue
    TERMINATIONtermination
    NO_TERMINATIONno-termination
    Value
    termination
    no-termination

    Ec2FleetFleetLaunchTemplateConfigRequest, Ec2FleetFleetLaunchTemplateConfigRequestArgs

    LaunchTemplateSpecification Pulumi.AwsNative.Ec2.Inputs.Ec2FleetFleetLaunchTemplateSpecificationRequest
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    Overrides List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetFleetLaunchTemplateOverridesRequest>

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    LaunchTemplateSpecification Ec2FleetFleetLaunchTemplateSpecificationRequest
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    Overrides []Ec2FleetFleetLaunchTemplateOverridesRequest

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    launch_template_specification object
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    overrides list(object)

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    launchTemplateSpecification Ec2FleetFleetLaunchTemplateSpecificationRequest
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    overrides List<Ec2FleetFleetLaunchTemplateOverridesRequest>

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    launchTemplateSpecification Ec2FleetFleetLaunchTemplateSpecificationRequest
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    overrides Ec2FleetFleetLaunchTemplateOverridesRequest[]

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    launch_template_specification Ec2FleetFleetLaunchTemplateSpecificationRequest
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    overrides Sequence[Ec2FleetFleetLaunchTemplateOverridesRequest]

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    launchTemplateSpecification Property Map
    The launch template to use. You must specify either the launch template ID or launch template name in the request.
    overrides List<Property Map>

    Any parameters that you specify override the same parameters in the launch template.

    For fleets of type request and maintain , a maximum of 300 items is allowed across all launch templates.

    Ec2FleetFleetLaunchTemplateOverridesRequest, Ec2FleetFleetLaunchTemplateOverridesRequestArgs

    AvailabilityZone string

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    AvailabilityZoneId string

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    BlockDeviceMappings List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetBlockDeviceMapping>

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    IamInstanceProfile Pulumi.AwsNative.Ec2.Inputs.Ec2FleetIamInstanceProfileSpecification
    InstanceRequirements Pulumi.AwsNative.Ec2.Inputs.Ec2FleetInstanceRequirementsRequest

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    InstanceType string

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    KeyName string
    MaxPrice string

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    MetadataOptions Pulumi.AwsNative.Ec2.Inputs.Ec2FleetInstanceMetadataOptionsRequest
    NetworkInterfaces List<Pulumi.AwsNative.Ec2.Inputs.Ec2FleetNetworkInterfaceSpecificationRequest>
    Placement Pulumi.AwsNative.Ec2.Inputs.Ec2FleetPlacement
    The location where the instance launched, if applicable.
    Priority double

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    SubnetId string
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    WeightedCapacity double

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    AvailabilityZone string

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    AvailabilityZoneId string

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    BlockDeviceMappings []Ec2FleetBlockDeviceMapping

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    IamInstanceProfile Ec2FleetIamInstanceProfileSpecification
    InstanceRequirements Ec2FleetInstanceRequirementsRequest

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    InstanceType string

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    KeyName string
    MaxPrice string

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    MetadataOptions Ec2FleetInstanceMetadataOptionsRequest
    NetworkInterfaces []Ec2FleetNetworkInterfaceSpecificationRequest
    Placement Ec2FleetPlacement
    The location where the instance launched, if applicable.
    Priority float64

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    SubnetId string
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    WeightedCapacity float64

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    availability_zone string

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    availability_zone_id string

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    block_device_mappings list(object)

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    iam_instance_profile object
    instance_requirements object

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    instance_type string

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    key_name string
    max_price string

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    metadata_options object
    network_interfaces list(object)
    placement object
    The location where the instance launched, if applicable.
    priority number

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    subnet_id string
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    weighted_capacity number

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    availabilityZone String

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    availabilityZoneId String

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    blockDeviceMappings List<Ec2FleetBlockDeviceMapping>

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    iamInstanceProfile Ec2FleetIamInstanceProfileSpecification
    instanceRequirements Ec2FleetInstanceRequirementsRequest

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    instanceType String

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    keyName String
    maxPrice String

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    metadataOptions Ec2FleetInstanceMetadataOptionsRequest
    networkInterfaces List<Ec2FleetNetworkInterfaceSpecificationRequest>
    placement Ec2FleetPlacement
    The location where the instance launched, if applicable.
    priority Double

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    subnetId String
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    weightedCapacity Double

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    availabilityZone string

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    availabilityZoneId string

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    blockDeviceMappings Ec2FleetBlockDeviceMapping[]

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    iamInstanceProfile Ec2FleetIamInstanceProfileSpecification
    instanceRequirements Ec2FleetInstanceRequirementsRequest

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    instanceType string

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    keyName string
    maxPrice string

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    metadataOptions Ec2FleetInstanceMetadataOptionsRequest
    networkInterfaces Ec2FleetNetworkInterfaceSpecificationRequest[]
    placement Ec2FleetPlacement
    The location where the instance launched, if applicable.
    priority number

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    subnetId string
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    weightedCapacity number

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    availability_zone str

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    availability_zone_id str

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    block_device_mappings Sequence[Ec2FleetBlockDeviceMapping]

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    iam_instance_profile Ec2FleetIamInstanceProfileSpecification
    instance_requirements Ec2FleetInstanceRequirementsRequest

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    instance_type str

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    key_name str
    max_price str

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    metadata_options Ec2FleetInstanceMetadataOptionsRequest
    network_interfaces Sequence[Ec2FleetNetworkInterfaceSpecificationRequest]
    placement Ec2FleetPlacement
    The location where the instance launched, if applicable.
    priority float

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    subnet_id str
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    weighted_capacity float

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    availabilityZone String

    The Availability Zone in which to launch the instances. For example, us-east-2a .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    availabilityZoneId String

    The ID of the Availability Zone in which to launch the instances. For example, use2-az1 .

    Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

    blockDeviceMappings List<Property Map>

    The block device mappings, which define the EBS volumes and instance store volumes to attach to the instance at launch.

    Supported only for fleets of type instant .

    For more information, see Block device mappings for volumes on Amazon EC2 instances in the Amazon EC2 User Guide .

    iamInstanceProfile Property Map
    instanceRequirements Property Map

    The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.

    If you specify InstanceRequirements , you can't specify InstanceType .

    instanceType String

    The instance type.

    mac1.metal is not supported as a launch template override.

    If you specify InstanceType , you can't specify InstanceRequirements .

    keyName String
    maxPrice String

    The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.

    If you specify a maximum price, it must be more than USD $0.001. Specifying a value below USD $0.001 will result in an InvalidParameterValue error message.

    metadataOptions Property Map
    networkInterfaces List<Property Map>
    placement Property Map
    The location where the instance launched, if applicable.
    priority Number

    The priority for the launch template override. The highest priority is launched first.

    If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

    If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

    Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

    subnetId String
    The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
    weightedCapacity Number

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity , resulting in only 1 instance being launched, the price used is per instance hour.

    Ec2FleetFleetLaunchTemplateSpecificationRequest, Ec2FleetFleetLaunchTemplateSpecificationRequestArgs

    Version string

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    LaunchTemplateId string

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    LaunchTemplateName string

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    LaunchTemplateSpecificationUserData string
    Version string

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    LaunchTemplateId string

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    LaunchTemplateName string

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    LaunchTemplateSpecificationUserData string
    version string

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    launch_template_id string

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    launch_template_name string

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    launch_template_specification_user_data string
    version String

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    launchTemplateId String

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    launchTemplateName String

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    launchTemplateSpecificationUserData String
    version string

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    launchTemplateId string

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    launchTemplateName string

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    launchTemplateSpecificationUserData string
    version str

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    launch_template_id str

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    launch_template_name str

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    launch_template_specification_user_data str
    version String

    The launch template version number, $Latest , or $Default . You must specify a value, otherwise the request fails.

    If the value is $Latest , Amazon EC2 uses the latest version of the launch template.

    If the value is $Default , Amazon EC2 uses the default version of the launch template.

    launchTemplateId String

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName , but not both.

    launchTemplateName String

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId , but not both.

    launchTemplateSpecificationUserData String

    Ec2FleetIamInstanceProfileSpecification, Ec2FleetIamInstanceProfileSpecificationArgs

    Arn string
    Name string
    Arn string
    Name string
    arn string
    name string
    arn String
    name String
    arn string
    name string
    arn str
    name str
    arn String
    name String

    Ec2FleetInstanceMetadataOptionsRequest, Ec2FleetInstanceMetadataOptionsRequestArgs

    Ec2FleetInstanceMetadataOptionsRequestHttpEndpoint

    NameValue
    Disableddisabled
    Enabledenabled
    NameValue
    Ec2FleetInstanceMetadataOptionsRequestHttpEndpointDisableddisabled
    Ec2FleetInstanceMetadataOptionsRequestHttpEndpointEnabledenabled
    Value
    disabled
    enabled
    NameValue
    Disableddisabled
    Enabledenabled
    NameValue
    Disableddisabled
    Enabledenabled
    NameValue
    DISABLEDdisabled
    ENABLEDenabled
    Value
    disabled
    enabled

    Ec2FleetInstanceMetadataOptionsRequestHttpTokens

    NameValue
    Optionaloptional
    Requiredrequired
    NameValue
    Ec2FleetInstanceMetadataOptionsRequestHttpTokensOptionaloptional
    Ec2FleetInstanceMetadataOptionsRequestHttpTokensRequiredrequired
    Value
    optional
    required
    NameValue
    Optionaloptional
    Requiredrequired
    NameValue
    Optionaloptional
    Requiredrequired
    NameValue
    OPTIONALoptional
    REQUIREDrequired
    Value
    optional
    required

    Ec2FleetInstanceRequirementsRequest, Ec2FleetInstanceRequirementsRequestArgs

    AcceleratorCount Pulumi.AwsNative.Ec2.Inputs.Ec2FleetAcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    AcceleratorManufacturers List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem>

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    AcceleratorNames List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem>

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    AcceleratorTotalMemoryMiB Pulumi.AwsNative.Ec2.Inputs.Ec2FleetAcceleratorTotalMemoryMiBRequest

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    AcceleratorTypes List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem>

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    BareMetal Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    BaselineEbsBandwidthMbps Pulumi.AwsNative.Ec2.Inputs.Ec2FleetBaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    BaselinePerformanceFactors Pulumi.AwsNative.Ec2.Inputs.Ec2FleetBaselinePerformanceFactorsRequest
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    BurstablePerformance Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    CpuManufacturers List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestCpuManufacturersItem>

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ExcludedInstanceTypes List<string>

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    InstanceGenerations List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem>

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    LocalStorage Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    LocalStorageTypes List<Pulumi.AwsNative.Ec2.Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem>

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice int

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    MemoryGiBPerVCpu Pulumi.AwsNative.Ec2.Inputs.Ec2FleetMemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    MemoryMiB Pulumi.AwsNative.Ec2.Inputs.Ec2FleetMemoryMiBRequest
    The minimum and maximum amount of memory, in MiB.
    NetworkBandwidthGbps Pulumi.AwsNative.Ec2.Inputs.Ec2FleetNetworkBandwidthGbpsRequest

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    NetworkInterfaceCount Pulumi.AwsNative.Ec2.Inputs.Ec2FleetNetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    OnDemandMaxPricePercentageOverLowestPrice int

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    RequireEncryptionInTransit bool

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    RequireHibernateSupport bool

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    SpotMaxPricePercentageOverLowestPrice int

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    TotalLocalStorageGb Pulumi.AwsNative.Ec2.Inputs.Ec2FleetTotalLocalStorageGbRequest

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    VCpuCount Pulumi.AwsNative.Ec2.Inputs.Ec2FleetVCpuCountRangeRequest
    The minimum and maximum number of vCPUs.
    AcceleratorCount Ec2FleetAcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    AcceleratorManufacturers []Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    AcceleratorNames []Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    AcceleratorTotalMemoryMiB Ec2FleetAcceleratorTotalMemoryMiBRequest

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    AcceleratorTypes []Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    BareMetal Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    BaselineEbsBandwidthMbps Ec2FleetBaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    BaselinePerformanceFactors Ec2FleetBaselinePerformanceFactorsRequest
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    BurstablePerformance Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    CpuManufacturers []Ec2FleetInstanceRequirementsRequestCpuManufacturersItem

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    ExcludedInstanceTypes []string

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    InstanceGenerations []Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    LocalStorage Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    LocalStorageTypes []Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice int

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    MemoryGiBPerVCpu Ec2FleetMemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    MemoryMiB Ec2FleetMemoryMiBRequest
    The minimum and maximum amount of memory, in MiB.
    NetworkBandwidthGbps Ec2FleetNetworkBandwidthGbpsRequest

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    NetworkInterfaceCount Ec2FleetNetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    OnDemandMaxPricePercentageOverLowestPrice int

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    RequireEncryptionInTransit bool

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    RequireHibernateSupport bool

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    SpotMaxPricePercentageOverLowestPrice int

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    TotalLocalStorageGb Ec2FleetTotalLocalStorageGbRequest

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    VCpuCount Ec2FleetVCpuCountRangeRequest
    The minimum and maximum number of vCPUs.
    accelerator_count object

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    accelerator_manufacturers list("amazon-web-services" | "amd" | "habana" | "nvidia" | "xilinx")

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    accelerator_names list("a10g" | "a100" | "h100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "t4g" | "vu9p" | "v100" | "l40s" | "l4" | "gaudi-hl-205" | "inferentia2" | "trainium" | "trainium2" | "u30")

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    accelerator_total_memory_mi_b object

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    accelerator_types list("gpu" | "fpga" | "inference" | "media")

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: Any accelerator type

    allowed_instance_types 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    bare_metal "included" | "required" | "excluded"

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    baseline_ebs_bandwidth_mbps object

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    baseline_performance_factors object
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    burstable_performance "included" | "required" | "excluded"

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    cpu_manufacturers list("intel" | "amd" | "amazon-web-services" | "apple")

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    excluded_instance_types list(string)

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    instance_generations list("current" | "previous")

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    local_storage "included" | "required" | "excluded"

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    local_storage_types list("hdd" | "ssd")

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    max_spot_price_as_percentage_of_optimal_on_demand_price number

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    memory_gi_b_per_v_cpu object

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    memory_mi_b object
    The minimum and maximum amount of memory, in MiB.
    network_bandwidth_gbps object

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    network_interface_count object

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    on_demand_max_price_percentage_over_lowest_price number

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    require_encryption_in_transit bool

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    require_hibernate_support bool

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    spot_max_price_percentage_over_lowest_price number

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    total_local_storage_gb object

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    v_cpu_count object
    The minimum and maximum number of vCPUs.
    acceleratorCount Ec2FleetAcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    acceleratorManufacturers List<Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem>

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    acceleratorNames List<Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem>

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    acceleratorTotalMemoryMiB Ec2FleetAcceleratorTotalMemoryMiBRequest

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    acceleratorTypes List<Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem>

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    bareMetal Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    baselineEbsBandwidthMbps Ec2FleetBaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    baselinePerformanceFactors Ec2FleetBaselinePerformanceFactorsRequest
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    burstablePerformance Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    cpuManufacturers List<Ec2FleetInstanceRequirementsRequestCpuManufacturersItem>

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    excludedInstanceTypes List<String>

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    instanceGenerations List<Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem>

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    localStorage Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    localStorageTypes List<Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem>

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    maxSpotPriceAsPercentageOfOptimalOnDemandPrice Integer

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    memoryGiBPerVCpu Ec2FleetMemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    memoryMiB Ec2FleetMemoryMiBRequest
    The minimum and maximum amount of memory, in MiB.
    networkBandwidthGbps Ec2FleetNetworkBandwidthGbpsRequest

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    networkInterfaceCount Ec2FleetNetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    onDemandMaxPricePercentageOverLowestPrice Integer

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    requireEncryptionInTransit Boolean

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    requireHibernateSupport Boolean

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    spotMaxPricePercentageOverLowestPrice Integer

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    totalLocalStorageGb Ec2FleetTotalLocalStorageGbRequest

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    vCpuCount Ec2FleetVCpuCountRangeRequest
    The minimum and maximum number of vCPUs.
    acceleratorCount Ec2FleetAcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    acceleratorManufacturers Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem[]

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    acceleratorNames Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem[]

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    acceleratorTotalMemoryMiB Ec2FleetAcceleratorTotalMemoryMiBRequest

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    acceleratorTypes Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem[]

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    bareMetal Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    baselineEbsBandwidthMbps Ec2FleetBaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    baselinePerformanceFactors Ec2FleetBaselinePerformanceFactorsRequest
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    burstablePerformance Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    cpuManufacturers Ec2FleetInstanceRequirementsRequestCpuManufacturersItem[]

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    excludedInstanceTypes string[]

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    instanceGenerations Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem[]

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    localStorage Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    localStorageTypes Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem[]

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    maxSpotPriceAsPercentageOfOptimalOnDemandPrice number

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    memoryGiBPerVCpu Ec2FleetMemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    memoryMiB Ec2FleetMemoryMiBRequest
    The minimum and maximum amount of memory, in MiB.
    networkBandwidthGbps Ec2FleetNetworkBandwidthGbpsRequest

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    networkInterfaceCount Ec2FleetNetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    onDemandMaxPricePercentageOverLowestPrice number

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    requireEncryptionInTransit boolean

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    requireHibernateSupport boolean

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    spotMaxPricePercentageOverLowestPrice number

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    totalLocalStorageGb Ec2FleetTotalLocalStorageGbRequest

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    vCpuCount Ec2FleetVCpuCountRangeRequest
    The minimum and maximum number of vCPUs.
    accelerator_count Ec2FleetAcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    accelerator_manufacturers Sequence[Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem]

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    accelerator_names Sequence[Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem]

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    accelerator_total_memory_mi_b Ec2FleetAcceleratorTotalMemoryMiBRequest

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    accelerator_types Sequence[Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem]

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    bare_metal Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    baseline_ebs_bandwidth_mbps Ec2FleetBaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    baseline_performance_factors Ec2FleetBaselinePerformanceFactorsRequest
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    burstable_performance Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    cpu_manufacturers Sequence[Ec2FleetInstanceRequirementsRequestCpuManufacturersItem]

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    excluded_instance_types Sequence[str]

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    instance_generations Sequence[Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem]

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    local_storage Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    local_storage_types Sequence[Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem]

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    max_spot_price_as_percentage_of_optimal_on_demand_price int

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    memory_gi_b_per_v_cpu Ec2FleetMemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    memory_mi_b Ec2FleetMemoryMiBRequest
    The minimum and maximum amount of memory, in MiB.
    network_bandwidth_gbps Ec2FleetNetworkBandwidthGbpsRequest

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    network_interface_count Ec2FleetNetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    on_demand_max_price_percentage_over_lowest_price int

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    require_encryption_in_transit bool

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    require_hibernate_support bool

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    spot_max_price_percentage_over_lowest_price int

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    total_local_storage_gb Ec2FleetTotalLocalStorageGbRequest

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    v_cpu_count Ec2FleetVCpuCountRangeRequest
    The minimum and maximum number of vCPUs.
    acceleratorCount Property Map

    The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance.

    To exclude accelerator-enabled instance types, set Max to 0 .

    Default: No minimum or maximum limits

    acceleratorManufacturers List<"amazon-web-services" | "amd" | "habana" | "nvidia" | "xilinx">

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with AWS devices, specify amazon-web-services .
    • For instance types with AMD devices, specify amd .
    • For instance types with Habana devices, specify habana .
    • For instance types with NVIDIA devices, specify nvidia .
    • For instance types with Xilinx devices, specify xilinx .

    Default: Any manufacturer

    acceleratorNames List<"a10g" | "a100" | "h100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "t4g" | "vu9p" | "v100" | "l40s" | "l4" | "gaudi-hl-205" | "inferentia2" | "trainium" | "trainium2" | "u30">

    The accelerators that must be on the instance type.

    • For instance types with NVIDIA A10G GPUs, specify a10g .
    • For instance types with NVIDIA A100 GPUs, specify a100 .
    • For instance types with NVIDIA H100 GPUs, specify h100 .
    • For instance types with AWS Inferentia chips, specify inferentia .
    • For instance types with AWS Inferentia2 chips, specify inferentia2 .
    • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205 .
    • For instance types with NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • For instance types with NVIDIA L4 GPUs, specify l4 .
    • For instance types with NVIDIA L40S GPUs, specify l40s .
    • For instance types with NVIDIA M60 GPUs, specify m60 .
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520 .
    • For instance types with AWS Trainium chips, specify trainium .
    • For instance types with AWS Trainium2 chips, specify trainium2 .
    • For instance types with NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • For instance types with Xilinx U30 cards, specify u30 .
    • For instance types with Xilinx VU9P FPGAs, specify vu9p .
    • For instance types with NVIDIA V100 GPUs, specify v100 .

    Default: Any accelerator

    acceleratorTotalMemoryMiB Property Map

    The minimum and maximum amount of total accelerator memory, in MiB.

    Default: No minimum or maximum limits

    acceleratorTypes List<"gpu" | "fpga" | "inference" | "media">

    The accelerator types that must be on the instance type.

    • For instance types with FPGA accelerators, specify fpga .
    • For instance types with GPU accelerators, specify gpu .
    • For instance types with Inference accelerators, specify inference .
    • For instance types with Media accelerators, specify media .

    Default: 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 ( * ), to allow an instance type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes , you can't specify ExcludedInstanceTypes .

    Default: All instance types

    bareMetal "included" | "required" | "excluded"

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    baselineEbsBandwidthMbps Property Map

    The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    baselinePerformanceFactors Property Map
    The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see Performance protection in the Amazon EC2 User Guide .
    burstablePerformance "included" | "required" | "excluded"

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    cpuManufacturers List<"intel" | "amd" | "amazon-web-services" | "apple">

    The CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel .
    • For instance types with AMD CPUs, specify amd .
    • For instance types with AWS CPUs, specify amazon-web-services .
    • For instance types with Apple CPUs, specify apple .

    Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

    excludedInstanceTypes List<String>

    The instance types to exclude.

    You can use strings with one or more wild cards, represented by an asterisk ( * ), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge , c5*.* , m5a.* , r* , *3* .

    For example, if you specify c5* ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.* , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes , you can't specify AllowedInstanceTypes .

    Default: No excluded instance types

    instanceGenerations List<"current" | "previous">

    Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide .

    For current generation instance types, specify current .

    For previous generation instance types, specify previous .

    Default: Current and previous generation instance types

    localStorage "included" | "required" | "excluded"

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    localStorageTypes List<"hdd" | "ssd">

    The type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd .
    • For instance types with solid state drive (SSD) storage, specify ssd .

    Default: hdd and ssd

    maxSpotPriceAsPercentageOfOptimalOnDemandPrice Number

    [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    memoryGiBPerVCpu Property Map

    The minimum and maximum amount of memory per vCPU, in GiB.

    Default: No minimum or maximum limits

    memoryMiB Property Map
    The minimum and maximum amount of memory, in MiB.
    networkBandwidthGbps Property Map

    The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see Amazon EC2 instance network bandwidth in the Amazon EC2 User Guide .

    Default: No minimum or maximum limits

    networkInterfaceCount Property Map

    The minimum and maximum number of network interfaces.

    Default: No minimum or maximum limits

    onDemandMaxPricePercentageOverLowestPrice Number

    [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    To indicate no price protection threshold, specify a high value, such as 999999 .

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    Default: 20

    requireEncryptionInTransit Boolean

    Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide .

    Default: false

    requireHibernateSupport Boolean

    Indicates whether instance types must support hibernation for On-Demand Instances.

    This parameter is not supported for GetSpotPlacementScores .

    Default: false

    spotMaxPricePercentageOverLowestPrice Number

    [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.

    The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

    If you set TargetCapacityUnitType to vcpu or memory-mib , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.

    This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements .

    Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999 .

    Default: 100

    totalLocalStorageGb Property Map

    The minimum and maximum amount of total local storage, in GB.

    Default: No minimum or maximum limits

    vCpuCount Property Map
    The minimum and maximum number of vCPUs.

    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem

    NameValue
    AmazonWebServicesamazon-web-services
    Amdamd
    Habanahabana
    Nvidianvidia
    Xilinxxilinx
    NameValue
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemAmazonWebServicesamazon-web-services
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemAmdamd
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemHabanahabana
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemNvidianvidia
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemXilinxxilinx
    Value
    amazon-web-services
    amd
    habana
    nvidia
    xilinx
    NameValue
    AmazonWebServicesamazon-web-services
    Amdamd
    Habanahabana
    Nvidianvidia
    Xilinxxilinx
    NameValue
    AmazonWebServicesamazon-web-services
    Amdamd
    Habanahabana
    Nvidianvidia
    Xilinxxilinx
    NameValue
    AMAZON_WEB_SERVICESamazon-web-services
    AMDamd
    HABANAhabana
    NVIDIAnvidia
    XILINXxilinx
    Value
    amazon-web-services
    amd
    habana
    nvidia
    xilinx

    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem

    NameValue
    A10ga10g
    A100a100
    H100h100
    Inferentiainferentia
    K520k520
    K80k80
    M60m60
    RadeonProV520radeon-pro-v520
    T4t4
    T4gt4g
    Vu9pvu9p
    V100v100
    L40sl40s
    L4l4
    GaudiHl205gaudi-hl-205
    Inferentia2inferentia2
    Trainiumtrainium
    Trainium2trainium2
    U30u30
    NameValue
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemA10ga10g
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemA100a100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemH100h100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemInferentiainferentia
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemK520k520
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemK80k80
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemM60m60
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemRadeonProV520radeon-pro-v520
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemT4t4
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemT4gt4g
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemVu9pvu9p
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemV100v100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemL40sl40s
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemL4l4
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemGaudiHl205gaudi-hl-205
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemInferentia2inferentia2
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemTrainiumtrainium
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemTrainium2trainium2
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemU30u30
    Value
    a10g
    a100
    h100
    inferentia
    k520
    k80
    m60
    radeon-pro-v520
    t4
    t4g
    vu9p
    v100
    l40s
    l4
    gaudi-hl-205
    inferentia2
    trainium
    trainium2
    u30
    NameValue
    A10ga10g
    A100a100
    H100h100
    Inferentiainferentia
    K520k520
    K80k80
    M60m60
    RadeonProV520radeon-pro-v520
    T4t4
    T4gt4g
    Vu9pvu9p
    V100v100
    L40sl40s
    L4l4
    GaudiHl205gaudi-hl-205
    Inferentia2inferentia2
    Trainiumtrainium
    Trainium2trainium2
    U30u30
    NameValue
    A10ga10g
    A100a100
    H100h100
    Inferentiainferentia
    K520k520
    K80k80
    M60m60
    RadeonProV520radeon-pro-v520
    T4t4
    T4gt4g
    Vu9pvu9p
    V100v100
    L40sl40s
    L4l4
    GaudiHl205gaudi-hl-205
    Inferentia2inferentia2
    Trainiumtrainium
    Trainium2trainium2
    U30u30
    NameValue
    A10Ga10g
    A100a100
    H100h100
    INFERENTIAinferentia
    K520k520
    K80k80
    M60m60
    RADEON_PRO_V520radeon-pro-v520
    T4t4
    T4Gt4g
    VU9Pvu9p
    V100v100
    L40Sl40s
    L4l4
    GAUDI_HL205gaudi-hl-205
    INFERENTIA2inferentia2
    TRAINIUMtrainium
    TRAINIUM2trainium2
    U30u30
    Value
    a10g
    a100
    h100
    inferentia
    k520
    k80
    m60
    radeon-pro-v520
    t4
    t4g
    vu9p
    v100
    l40s
    l4
    gaudi-hl-205
    inferentia2
    trainium
    trainium2
    u30

    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem

    NameValue
    Gpugpu
    Fpgafpga
    Inferenceinference
    Mediamedia
    NameValue
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemGpugpu
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemFpgafpga
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemInferenceinference
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemMediamedia
    Value
    gpu
    fpga
    inference
    media
    NameValue
    Gpugpu
    Fpgafpga
    Inferenceinference
    Mediamedia
    NameValue
    Gpugpu
    Fpgafpga
    Inferenceinference
    Mediamedia
    NameValue
    GPUgpu
    FPGAfpga
    INFERENCEinference
    MEDIAmedia
    Value
    gpu
    fpga
    inference
    media

    Ec2FleetInstanceRequirementsRequestBareMetal

    Indicates whether bare metal instance types must be included, excluded, or required.

    • To include bare metal instance types, specify included .
    • To require only bare metal instance types, specify required .
    • To exclude bare metal instance types, specify excluded .

    Default: excluded

    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Ec2FleetInstanceRequirementsRequestBareMetalIncludedincluded
    Ec2FleetInstanceRequirementsRequestBareMetalRequiredrequired
    Ec2FleetInstanceRequirementsRequestBareMetalExcludedexcluded
    Value
    included
    required
    excluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    INCLUDEDincluded
    REQUIREDrequired
    EXCLUDEDexcluded
    Value
    included
    required
    excluded

    Ec2FleetInstanceRequirementsRequestBurstablePerformance

    Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances .

    • To include burstable performance instance types, specify included .
    • To require only burstable performance instance types, specify required .
    • To exclude burstable performance instance types, specify excluded .

    Default: excluded

    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceIncludedincluded
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceRequiredrequired
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceExcludedexcluded
    Value
    included
    required
    excluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    INCLUDEDincluded
    REQUIREDrequired
    EXCLUDEDexcluded
    Value
    included
    required
    excluded

    Ec2FleetInstanceRequirementsRequestCpuManufacturersItem

    NameValue
    Intelintel
    Amdamd
    AmazonWebServicesamazon-web-services
    Appleapple
    NameValue
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemIntelintel
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemAmdamd
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemAmazonWebServicesamazon-web-services
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemAppleapple
    Value
    intel
    amd
    amazon-web-services
    apple
    NameValue
    Intelintel
    Amdamd
    AmazonWebServicesamazon-web-services
    Appleapple
    NameValue
    Intelintel
    Amdamd
    AmazonWebServicesamazon-web-services
    Appleapple
    NameValue
    INTELintel
    AMDamd
    AMAZON_WEB_SERVICESamazon-web-services
    APPLEapple
    Value
    intel
    amd
    amazon-web-services
    apple

    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem

    NameValue
    Currentcurrent
    Previousprevious
    NameValue
    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemCurrentcurrent
    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemPreviousprevious
    Value
    current
    previous
    NameValue
    Currentcurrent
    Previousprevious
    NameValue
    Currentcurrent
    Previousprevious
    NameValue
    CURRENTcurrent
    PREVIOUSprevious
    Value
    current
    previous

    Ec2FleetInstanceRequirementsRequestLocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide .

    • To include instance types with instance store volumes, specify included .
    • To require only instance types with instance store volumes, specify required .
    • To exclude instance types with instance store volumes, specify excluded .

    Default: included

    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Ec2FleetInstanceRequirementsRequestLocalStorageIncludedincluded
    Ec2FleetInstanceRequirementsRequestLocalStorageRequiredrequired
    Ec2FleetInstanceRequirementsRequestLocalStorageExcludedexcluded
    Value
    included
    required
    excluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    Includedincluded
    Requiredrequired
    Excludedexcluded
    NameValue
    INCLUDEDincluded
    REQUIREDrequired
    EXCLUDEDexcluded
    Value
    included
    required
    excluded

    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem

    NameValue
    Hddhdd
    Ssdssd
    NameValue
    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemHddhdd
    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemSsdssd
    Value
    hdd
    ssd
    NameValue
    Hddhdd
    Ssdssd
    NameValue
    Hddhdd
    Ssdssd
    NameValue
    HDDhdd
    SSDssd
    Value
    hdd
    ssd

    Ec2FleetIpv6AddressRequest, Ec2FleetIpv6AddressRequestArgs

    Ec2FleetMaintenanceStrategies, Ec2FleetMaintenanceStrategiesArgs

    CapacityRebalance Pulumi.AwsNative.Ec2.Inputs.Ec2FleetCapacityRebalance
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    CapacityRebalance Ec2FleetCapacityRebalance
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    capacity_rebalance object
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    capacityRebalance Ec2FleetCapacityRebalance
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    capacityRebalance Ec2FleetCapacityRebalance
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    capacity_rebalance Ec2FleetCapacityRebalance
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
    capacityRebalance Property Map
    The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.

    Ec2FleetMemoryGiBPerVCpuRequest, Ec2FleetMemoryGiBPerVCpuRequestArgs

    Max double
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    Min double
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    Max float64
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    Min float64
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    max Double
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    min Double
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    max float
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    min float
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
    max Number
    The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
    min Number
    The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.

    Ec2FleetMemoryMiBRequest, Ec2FleetMemoryMiBRequestArgs

    Max int
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    Min int
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    Max int
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    Min int
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    max number
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    max Integer
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    min Integer
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    max number
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    max int
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    min int
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .
    max Number
    The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
    min Number
    The minimum amount of memory, in MiB. To specify no minimum limit, specify 0 .

    Ec2FleetMultiAvailabilityZoneConfiguration, Ec2FleetMultiAvailabilityZoneConfigurationArgs

    Ec2FleetNetworkBandwidthGbpsRequest, Ec2FleetNetworkBandwidthGbpsRequestArgs

    Max double
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    Min double
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    Max float64
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    Min float64
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    max Double
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    min Double
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    max float
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    min float
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
    max Number
    The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
    min Number
    The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.

    Ec2FleetNetworkInterfaceCountRequest, Ec2FleetNetworkInterfaceCountRequestArgs

    Max int
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    Min int
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    Max int
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    Min int
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    max number
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    min number
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    max Integer
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    min Integer
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    max number
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    min number
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    max int
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    min int
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
    max Number
    The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
    min Number
    The minimum number of network interfaces. To specify no minimum limit, omit this parameter.

    Ec2FleetNetworkInterfaceSpecificationRequest, Ec2FleetNetworkInterfaceSpecificationRequestArgs

    Ec2FleetOnDemandOptionsRequest, Ec2FleetOnDemandOptionsRequestArgs

    AllocationStrategy string

    The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    CapacityReservationOptions Pulumi.AwsNative.Ec2.Inputs.Ec2FleetCapacityReservationOptionsRequest

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    MaxTotalPrice string

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    MinTargetCapacity int

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    CapacityReservationOptions Ec2FleetCapacityReservationOptionsRequest

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    MaxTotalPrice string

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    MinTargetCapacity int

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 .

    allocation_strategy string

    The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    capacity_reservation_options object

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    max_total_price string

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    min_target_capacity number

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    capacityReservationOptions Ec2FleetCapacityReservationOptionsRequest

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    maxTotalPrice String

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity Integer

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    capacityReservationOptions Ec2FleetCapacityReservationOptionsRequest

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    maxTotalPrice string

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity number

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    capacity_reservation_options Ec2FleetCapacityReservationOptionsRequest

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    max_total_price str

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    min_target_capacity int

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.

    lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.

    prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.

    Default: lowest-price

    capacityReservationOptions Property Map

    The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.

    Supported only for fleets of type instant .

    maxTotalPrice String

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

    If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity Number

    The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    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 .

    Ec2FleetPerformanceFactorReferenceRequest, Ec2FleetPerformanceFactorReferenceRequestArgs

    InstanceFamily string

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    InstanceFamily string

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    instance_family string

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    instanceFamily String

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    instanceFamily string

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    instance_family str

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    instanceFamily String

    The instance family to use as a baseline reference.

    Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( . ) in the instance type name. For example, in the instance type c6i.large , the instance family is c6i , not c6 . For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .

    The following instance families are not supported for performance protection:

    • c1
    • g3 | g3s
    • hpc7g
    • m1 | m2
    • mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro
    • p3dn | p4d | p5
    • t1
    • u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb

    If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.

    If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response response for GetInstanceTypesFromInstanceRequirements and an exception for CreateFleet , RequestSpotFleet , ModifyFleet , and ModifySpotFleetRequest .

    Ec2FleetPlacement, Ec2FleetPlacementArgs

    Affinity string

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    AvailabilityZone string

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    GroupName string

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    HostId string

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    HostResourceGroupArn string

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    PartitionNumber int

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    SpreadDomain string
    Reserved for future use.
    Tenancy string

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    Affinity string

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    AvailabilityZone string

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    GroupName string

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    HostId string

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    HostResourceGroupArn string

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    PartitionNumber int

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    SpreadDomain string
    Reserved for future use.
    Tenancy string

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    affinity string

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    availability_zone string

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    group_name string

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    host_id string

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    host_resource_group_arn string

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    partition_number number

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    spread_domain string
    Reserved for future use.
    tenancy string

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    affinity String

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    availabilityZone String

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    groupName String

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    hostId String

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    hostResourceGroupArn String

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    partitionNumber Integer

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    spreadDomain String
    Reserved for future use.
    tenancy String

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    affinity string

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    availabilityZone string

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    groupName string

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    hostId string

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    hostResourceGroupArn string

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    partitionNumber number

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    spreadDomain string
    Reserved for future use.
    tenancy string

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    affinity str

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    availability_zone str

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    group_name str

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    host_id str

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    host_resource_group_arn str

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    partition_number int

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    spread_domain str
    Reserved for future use.
    tenancy str

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    affinity String

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance .

    availabilityZone String

    The Availability Zone of the instance.

    On input, you can specify AvailabilityZone or AvailabilityZoneId , but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

    This parameter is not supported for CreateFleet .

    groupName String

    The name of the placement group that the instance is in.

    On input, you can specify GroupId or GroupName , but not both.

    hostId String

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance .

    hostResourceGroupArn String

    The ARN of the host resource group in which to launch the instances.

    On input, if you specify this parameter, either omit the Tenancy parameter or set it to host .

    This parameter is not supported for CreateFleet .

    partitionNumber Number

    The number of the partition that the instance is in. Valid only if the placement group strategy is set to partition .

    This parameter is not supported for CreateFleet .

    spreadDomain String
    Reserved for future use.
    tenancy String

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    This parameter is not supported for CreateFleet . The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

    Ec2FleetPrivateIpAddressSpecificationRequest, Ec2FleetPrivateIpAddressSpecificationRequestArgs

    Ec2FleetReservedCapacityFallbackOptionsRequest, Ec2FleetReservedCapacityFallbackOptionsRequestArgs

    Ec2FleetReservedCapacityFallbackOptionsRequestMarketTypesItem

    NameValue
    OnDemandon-demand
    NameValue
    Ec2FleetReservedCapacityFallbackOptionsRequestMarketTypesItemOnDemandon-demand
    Value
    on-demand
    NameValue
    OnDemandon-demand
    NameValue
    OnDemandon-demand
    NameValue
    ON_DEMANDon-demand
    Value
    on-demand

    Ec2FleetReservedCapacityOptionsRequest, Ec2FleetReservedCapacityOptionsRequestArgs

    Ec2FleetReservedCapacityOptionsRequestAllocationStrategy

    NameValue
    Prioritizedprioritized
    NameValue
    Ec2FleetReservedCapacityOptionsRequestAllocationStrategyPrioritizedprioritized
    Value
    prioritized
    NameValue
    Prioritizedprioritized
    NameValue
    Prioritizedprioritized
    NameValue
    PRIORITIZEDprioritized
    Value
    prioritized

    Ec2FleetReservedCapacityOptionsRequestReservationTypesItem

    NameValue
    OnDemandCapacityReservationon-demand-capacity-reservation
    CapacityBlockcapacity-block
    InterruptibleCapacityReservationinterruptible-capacity-reservation
    NameValue
    Ec2FleetReservedCapacityOptionsRequestReservationTypesItemOnDemandCapacityReservationon-demand-capacity-reservation
    Ec2FleetReservedCapacityOptionsRequestReservationTypesItemCapacityBlockcapacity-block
    Ec2FleetReservedCapacityOptionsRequestReservationTypesItemInterruptibleCapacityReservationinterruptible-capacity-reservation
    Value
    on-demand-capacity-reservation
    capacity-block
    interruptible-capacity-reservation
    NameValue
    OnDemandCapacityReservationon-demand-capacity-reservation
    CapacityBlockcapacity-block
    InterruptibleCapacityReservationinterruptible-capacity-reservation
    NameValue
    OnDemandCapacityReservationon-demand-capacity-reservation
    CapacityBlockcapacity-block
    InterruptibleCapacityReservationinterruptible-capacity-reservation
    NameValue
    ON_DEMAND_CAPACITY_RESERVATIONon-demand-capacity-reservation
    CAPACITY_BLOCKcapacity-block
    INTERRUPTIBLE_CAPACITY_RESERVATIONinterruptible-capacity-reservation
    Value
    on-demand-capacity-reservation
    capacity-block
    interruptible-capacity-reservation

    Ec2FleetSpotOptionsRequest, Ec2FleetSpotOptionsRequestArgs

    AllocationStrategy Pulumi.AwsNative.Ec2.Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    InstanceInterruptionBehavior Pulumi.AwsNative.Ec2.Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    InstancePoolsToUseCount int

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    MaintenanceStrategies Pulumi.AwsNative.Ec2.Inputs.Ec2FleetMaintenanceStrategies
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    MaxTotalPrice string

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    MinTargetCapacity int

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    SingleAvailabilityZone bool

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    AllocationStrategy Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    InstanceInterruptionBehavior Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    InstancePoolsToUseCount int

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    MaintenanceStrategies Ec2FleetMaintenanceStrategies
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    MaxTotalPrice string

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    MinTargetCapacity int

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    SingleAvailabilityZone bool

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    allocation_strategy "lowest-price" | "diversified" | "capacityOptimized" | "capacityOptimizedPrioritized" | "priceCapacityOptimized"

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    instance_interruption_behavior "hibernate" | "stop" | "terminate"

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    instance_pools_to_use_count number

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    maintenance_strategies object
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    max_total_price string

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    min_target_capacity number

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    single_availability_zone bool

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    allocationStrategy Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    instanceInterruptionBehavior Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    instancePoolsToUseCount Integer

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    maintenanceStrategies Ec2FleetMaintenanceStrategies
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    maxTotalPrice String

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity Integer

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    singleAvailabilityZone Boolean

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    allocationStrategy Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    instanceInterruptionBehavior Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    instancePoolsToUseCount number

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    maintenanceStrategies Ec2FleetMaintenanceStrategies
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    maxTotalPrice string

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity number

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    singleAvailabilityZone boolean

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    allocation_strategy Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    instance_interruption_behavior Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    instance_pools_to_use_count int

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    maintenance_strategies Ec2FleetMaintenanceStrategies
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    max_total_price str

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    min_target_capacity int

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    single_availability_zone bool

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    allocationStrategy "lowest-price" | "diversified" | "capacityOptimized" | "capacityOptimizedPrioritized" | "priceCapacityOptimized"

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    instanceInterruptionBehavior "hibernate" | "stop" | "terminate"

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    instancePoolsToUseCount Number

    The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

    Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified.

    maintenanceStrategies Property Map
    The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
    maxTotalPrice String

    The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

    If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as unlimited , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice . For more information, see Surplus credits can incur charges in the Amazon EC2 User Guide .

    minTargetCapacity Number

    The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

    Constraints: Maximum value of 1000 . Supported only for fleets of type instant .

    At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType

    singleAvailabilityZone Boolean

    Indicates that the fleet launches all Spot 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 Spot Instances in the fleet.

    Supported only for fleets of type instant .

    Ec2FleetSpotOptionsRequestAllocationStrategy

    Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet.

    If the allocation strategy is lowestPrice , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy.

    If the allocation strategy is diversified , EC2 Fleet launches instances from all the Spot Instance pools that you specify.

    If the allocation strategy is capacityOptimized , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity.

    Allowed Values : lowestPrice | diversified | capacityOptimized | capacityOptimizedPrioritized

    NameValue
    LowestPricelowest-price
    Diversifieddiversified
    CapacityOptimizedcapacityOptimized
    CapacityOptimizedPrioritizedcapacityOptimizedPrioritized
    PriceCapacityOptimizedpriceCapacityOptimized
    NameValue
    Ec2FleetSpotOptionsRequestAllocationStrategyLowestPricelowest-price
    Ec2FleetSpotOptionsRequestAllocationStrategyDiversifieddiversified
    Ec2FleetSpotOptionsRequestAllocationStrategyCapacityOptimizedcapacityOptimized
    Ec2FleetSpotOptionsRequestAllocationStrategyCapacityOptimizedPrioritizedcapacityOptimizedPrioritized
    Ec2FleetSpotOptionsRequestAllocationStrategyPriceCapacityOptimizedpriceCapacityOptimized
    Value
    lowest-price
    diversified
    capacityOptimized
    capacityOptimizedPrioritized
    priceCapacityOptimized
    NameValue
    LowestPricelowest-price
    Diversifieddiversified
    CapacityOptimizedcapacityOptimized
    CapacityOptimizedPrioritizedcapacityOptimizedPrioritized
    PriceCapacityOptimizedpriceCapacityOptimized
    NameValue
    LowestPricelowest-price
    Diversifieddiversified
    CapacityOptimizedcapacityOptimized
    CapacityOptimizedPrioritizedcapacityOptimizedPrioritized
    PriceCapacityOptimizedpriceCapacityOptimized
    NameValue
    LOWEST_PRICElowest-price
    DIVERSIFIEDdiversified
    CAPACITY_OPTIMIZEDcapacityOptimized
    CAPACITY_OPTIMIZED_PRIORITIZEDcapacityOptimizedPrioritized
    PRICE_CAPACITY_OPTIMIZEDpriceCapacityOptimized
    Value
    lowest-price
    diversified
    capacityOptimized
    capacityOptimizedPrioritized
    priceCapacityOptimized

    Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior

    The behavior when a Spot Instance is interrupted.

    Default: terminate

    NameValue
    Hibernatehibernate
    Stopstop
    Terminateterminate
    NameValue
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorHibernatehibernate
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorStopstop
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorTerminateterminate
    Value
    hibernate
    stop
    terminate
    NameValue
    Hibernatehibernate
    Stopstop
    Terminateterminate
    NameValue
    Hibernatehibernate
    Stopstop
    Terminateterminate
    NameValue
    HIBERNATEhibernate
    STOPstop
    TERMINATEterminate
    Value
    hibernate
    stop
    terminate

    Ec2FleetStandbyAvailabilityZone, Ec2FleetStandbyAvailabilityZoneArgs

    Ec2FleetTag, Ec2FleetTagArgs

    Key string
    The tag key.
    Value string
    The tag value.
    Key string
    The tag key.
    Value string
    The tag value.
    key string
    The tag key.
    value string
    The tag value.
    key String
    The tag key.
    value String
    The tag value.
    key string
    The tag key.
    value string
    The tag value.
    key str
    The tag key.
    value str
    The tag value.
    key String
    The tag key.
    value String
    The tag value.

    Ec2FleetTagSpecification, Ec2FleetTagSpecificationArgs

    ResourceType Ec2FleetTagSpecificationResourceType
    The type of resource to tag.
    Tags []Ec2FleetTag
    The tags to apply to the resource.
    resource_type "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "internet-gateway" | "key-pair" | "launch-template" | "local-gateway-route-table-vpc-association" | "natgateway" | "network-acl" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "reserved-instances" | "route-table" | "security-group" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway"
    The type of resource to tag.
    tags list(object)
    The tags to apply to the resource.
    resourceType Ec2FleetTagSpecificationResourceType
    The type of resource to tag.
    tags List<Ec2FleetTag>
    The tags to apply to the resource.
    resourceType Ec2FleetTagSpecificationResourceType
    The type of resource to tag.
    tags Ec2FleetTag[]
    The tags to apply to the resource.
    resource_type Ec2FleetTagSpecificationResourceType
    The type of resource to tag.
    tags Sequence[Ec2FleetTag]
    The tags to apply to the resource.
    resourceType "client-vpn-endpoint" | "customer-gateway" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-gpu" | "elastic-ip" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "internet-gateway" | "key-pair" | "launch-template" | "local-gateway-route-table-vpc-association" | "natgateway" | "network-acl" | "network-insights-analysis" | "network-insights-path" | "network-interface" | "placement-group" | "reserved-instances" | "route-table" | "security-group" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-route-table" | "volume" | "vpc" | "vpc-flow-log" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway"
    The type of resource to tag.
    tags List<Property Map>
    The tags to apply to the resource.

    Ec2FleetTagSpecificationResourceType

    The type of resource to tag.

    NameValue
    ClientVpnEndpointclient-vpn-endpoint
    CustomerGatewaycustomer-gateway
    DedicatedHostdedicated-host
    DhcpOptionsdhcp-options
    EgressOnlyInternetGatewayegress-only-internet-gateway
    ElasticGpuelastic-gpu
    ElasticIpelastic-ip
    ExportImageTaskexport-image-task
    ExportInstanceTaskexport-instance-task
    Fleetfleet
    FpgaImagefpga-image
    HostReservationhost-reservation
    Imageimage
    ImportImageTaskimport-image-task
    ImportSnapshotTaskimport-snapshot-task
    Instanceinstance
    InternetGatewayinternet-gateway
    KeyPairkey-pair
    LaunchTemplatelaunch-template
    LocalGatewayRouteTableVpcAssociationlocal-gateway-route-table-vpc-association
    Natgatewaynatgateway
    NetworkAclnetwork-acl
    NetworkInsightsAnalysisnetwork-insights-analysis
    NetworkInsightsPathnetwork-insights-path
    NetworkInterfacenetwork-interface
    PlacementGroupplacement-group
    ReservedInstancesreserved-instances
    RouteTableroute-table
    SecurityGroupsecurity-group
    Snapshotsnapshot
    SpotFleetRequestspot-fleet-request
    SpotInstancesRequestspot-instances-request
    Subnetsubnet
    TrafficMirrorFiltertraffic-mirror-filter
    TrafficMirrorSessiontraffic-mirror-session
    TrafficMirrorTargettraffic-mirror-target
    TransitGatewaytransit-gateway
    TransitGatewayAttachmenttransit-gateway-attachment
    TransitGatewayConnectPeertransit-gateway-connect-peer
    TransitGatewayMulticastDomaintransit-gateway-multicast-domain
    TransitGatewayRouteTabletransit-gateway-route-table
    Volumevolume
    Vpcvpc
    VpcFlowLogvpc-flow-log
    VpcPeeringConnectionvpc-peering-connection
    VpnConnectionvpn-connection
    VpnGatewayvpn-gateway
    NameValue
    Ec2FleetTagSpecificationResourceTypeClientVpnEndpointclient-vpn-endpoint
    Ec2FleetTagSpecificationResourceTypeCustomerGatewaycustomer-gateway
    Ec2FleetTagSpecificationResourceTypeDedicatedHostdedicated-host
    Ec2FleetTagSpecificationResourceTypeDhcpOptionsdhcp-options
    Ec2FleetTagSpecificationResourceTypeEgressOnlyInternetGatewayegress-only-internet-gateway
    Ec2FleetTagSpecificationResourceTypeElasticGpuelastic-gpu
    Ec2FleetTagSpecificationResourceTypeElasticIpelastic-ip
    Ec2FleetTagSpecificationResourceTypeExportImageTaskexport-image-task
    Ec2FleetTagSpecificationResourceTypeExportInstanceTaskexport-instance-task
    Ec2FleetTagSpecificationResourceTypeFleetfleet
    Ec2FleetTagSpecificationResourceTypeFpgaImagefpga-image
    Ec2FleetTagSpecificationResourceTypeHostReservationhost-reservation
    Ec2FleetTagSpecificationResourceTypeImageimage
    Ec2FleetTagSpecificationResourceTypeImportImageTaskimport-image-task
    Ec2FleetTagSpecificationResourceTypeImportSnapshotTaskimport-snapshot-task
    Ec2FleetTagSpecificationResourceTypeInstanceinstance
    Ec2FleetTagSpecificationResourceTypeInternetGatewayinternet-gateway
    Ec2FleetTagSpecificationResourceTypeKeyPairkey-pair
    Ec2FleetTagSpecificationResourceTypeLaunchTemplatelaunch-template
    Ec2FleetTagSpecificationResourceTypeLocalGatewayRouteTableVpcAssociationlocal-gateway-route-table-vpc-association
    Ec2FleetTagSpecificationResourceTypeNatgatewaynatgateway
    Ec2FleetTagSpecificationResourceTypeNetworkAclnetwork-acl
    Ec2FleetTagSpecificationResourceTypeNetworkInsightsAnalysisnetwork-insights-analysis
    Ec2FleetTagSpecificationResourceTypeNetworkInsightsPathnetwork-insights-path
    Ec2FleetTagSpecificationResourceTypeNetworkInterfacenetwork-interface
    Ec2FleetTagSpecificationResourceTypePlacementGroupplacement-group
    Ec2FleetTagSpecificationResourceTypeReservedInstancesreserved-instances
    Ec2FleetTagSpecificationResourceTypeRouteTableroute-table
    Ec2FleetTagSpecificationResourceTypeSecurityGroupsecurity-group
    Ec2FleetTagSpecificationResourceTypeSnapshotsnapshot
    Ec2FleetTagSpecificationResourceTypeSpotFleetRequestspot-fleet-request
    Ec2FleetTagSpecificationResourceTypeSpotInstancesRequestspot-instances-request
    Ec2FleetTagSpecificationResourceTypeSubnetsubnet
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorFiltertraffic-mirror-filter
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorSessiontraffic-mirror-session
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorTargettraffic-mirror-target
    Ec2FleetTagSpecificationResourceTypeTransitGatewaytransit-gateway
    Ec2FleetTagSpecificationResourceTypeTransitGatewayAttachmenttransit-gateway-attachment
    Ec2FleetTagSpecificationResourceTypeTransitGatewayConnectPeertransit-gateway-connect-peer
    Ec2FleetTagSpecificationResourceTypeTransitGatewayMulticastDomaintransit-gateway-multicast-domain
    Ec2FleetTagSpecificationResourceTypeTransitGatewayRouteTabletransit-gateway-route-table
    Ec2FleetTagSpecificationResourceTypeVolumevolume
    Ec2FleetTagSpecificationResourceTypeVpcvpc
    Ec2FleetTagSpecificationResourceTypeVpcFlowLogvpc-flow-log
    Ec2FleetTagSpecificationResourceTypeVpcPeeringConnectionvpc-peering-connection
    Ec2FleetTagSpecificationResourceTypeVpnConnectionvpn-connection
    Ec2FleetTagSpecificationResourceTypeVpnGatewayvpn-gateway
    Value
    client-vpn-endpoint
    customer-gateway
    dedicated-host
    dhcp-options
    egress-only-internet-gateway
    elastic-gpu
    elastic-ip
    export-image-task
    export-instance-task
    fleet
    fpga-image
    host-reservation
    image
    import-image-task
    import-snapshot-task
    instance
    internet-gateway
    key-pair
    launch-template
    local-gateway-route-table-vpc-association
    natgateway
    network-acl
    network-insights-analysis
    network-insights-path
    network-interface
    placement-group
    reserved-instances
    route-table
    security-group
    snapshot
    spot-fleet-request
    spot-instances-request
    subnet
    traffic-mirror-filter
    traffic-mirror-session
    traffic-mirror-target
    transit-gateway
    transit-gateway-attachment
    transit-gateway-connect-peer
    transit-gateway-multicast-domain
    transit-gateway-route-table
    volume
    vpc
    vpc-flow-log
    vpc-peering-connection
    vpn-connection
    vpn-gateway
    NameValue
    ClientVpnEndpointclient-vpn-endpoint
    CustomerGatewaycustomer-gateway
    DedicatedHostdedicated-host
    DhcpOptionsdhcp-options
    EgressOnlyInternetGatewayegress-only-internet-gateway
    ElasticGpuelastic-gpu
    ElasticIpelastic-ip
    ExportImageTaskexport-image-task
    ExportInstanceTaskexport-instance-task
    Fleetfleet
    FpgaImagefpga-image
    HostReservationhost-reservation
    Imageimage
    ImportImageTaskimport-image-task
    ImportSnapshotTaskimport-snapshot-task
    Instanceinstance
    InternetGatewayinternet-gateway
    KeyPairkey-pair
    LaunchTemplatelaunch-template
    LocalGatewayRouteTableVpcAssociationlocal-gateway-route-table-vpc-association
    Natgatewaynatgateway
    NetworkAclnetwork-acl
    NetworkInsightsAnalysisnetwork-insights-analysis
    NetworkInsightsPathnetwork-insights-path
    NetworkInterfacenetwork-interface
    PlacementGroupplacement-group
    ReservedInstancesreserved-instances
    RouteTableroute-table
    SecurityGroupsecurity-group
    Snapshotsnapshot
    SpotFleetRequestspot-fleet-request
    SpotInstancesRequestspot-instances-request
    Subnetsubnet
    TrafficMirrorFiltertraffic-mirror-filter
    TrafficMirrorSessiontraffic-mirror-session
    TrafficMirrorTargettraffic-mirror-target
    TransitGatewaytransit-gateway
    TransitGatewayAttachmenttransit-gateway-attachment
    TransitGatewayConnectPeertransit-gateway-connect-peer
    TransitGatewayMulticastDomaintransit-gateway-multicast-domain
    TransitGatewayRouteTabletransit-gateway-route-table
    Volumevolume
    Vpcvpc
    VpcFlowLogvpc-flow-log
    VpcPeeringConnectionvpc-peering-connection
    VpnConnectionvpn-connection
    VpnGatewayvpn-gateway
    NameValue
    ClientVpnEndpointclient-vpn-endpoint
    CustomerGatewaycustomer-gateway
    DedicatedHostdedicated-host
    DhcpOptionsdhcp-options
    EgressOnlyInternetGatewayegress-only-internet-gateway
    ElasticGpuelastic-gpu
    ElasticIpelastic-ip
    ExportImageTaskexport-image-task
    ExportInstanceTaskexport-instance-task
    Fleetfleet
    FpgaImagefpga-image
    HostReservationhost-reservation
    Imageimage
    ImportImageTaskimport-image-task
    ImportSnapshotTaskimport-snapshot-task
    Instanceinstance
    InternetGatewayinternet-gateway
    KeyPairkey-pair
    LaunchTemplatelaunch-template
    LocalGatewayRouteTableVpcAssociationlocal-gateway-route-table-vpc-association
    Natgatewaynatgateway
    NetworkAclnetwork-acl
    NetworkInsightsAnalysisnetwork-insights-analysis
    NetworkInsightsPathnetwork-insights-path
    NetworkInterfacenetwork-interface
    PlacementGroupplacement-group
    ReservedInstancesreserved-instances
    RouteTableroute-table
    SecurityGroupsecurity-group
    Snapshotsnapshot
    SpotFleetRequestspot-fleet-request
    SpotInstancesRequestspot-instances-request
    Subnetsubnet
    TrafficMirrorFiltertraffic-mirror-filter
    TrafficMirrorSessiontraffic-mirror-session
    TrafficMirrorTargettraffic-mirror-target
    TransitGatewaytransit-gateway
    TransitGatewayAttachmenttransit-gateway-attachment
    TransitGatewayConnectPeertransit-gateway-connect-peer
    TransitGatewayMulticastDomaintransit-gateway-multicast-domain
    TransitGatewayRouteTabletransit-gateway-route-table
    Volumevolume
    Vpcvpc
    VpcFlowLogvpc-flow-log
    VpcPeeringConnectionvpc-peering-connection
    VpnConnectionvpn-connection
    VpnGatewayvpn-gateway
    NameValue
    CLIENT_VPN_ENDPOINTclient-vpn-endpoint
    CUSTOMER_GATEWAYcustomer-gateway
    DEDICATED_HOSTdedicated-host
    DHCP_OPTIONSdhcp-options
    EGRESS_ONLY_INTERNET_GATEWAYegress-only-internet-gateway
    ELASTIC_GPUelastic-gpu
    ELASTIC_IPelastic-ip
    EXPORT_IMAGE_TASKexport-image-task
    EXPORT_INSTANCE_TASKexport-instance-task
    FLEETfleet
    FPGA_IMAGEfpga-image
    HOST_RESERVATIONhost-reservation
    IMAGEimage
    IMPORT_IMAGE_TASKimport-image-task
    IMPORT_SNAPSHOT_TASKimport-snapshot-task
    INSTANCEinstance
    INTERNET_GATEWAYinternet-gateway
    KEY_PAIRkey-pair
    LAUNCH_TEMPLATElaunch-template
    LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATIONlocal-gateway-route-table-vpc-association
    NATGATEWAYnatgateway
    NETWORK_ACLnetwork-acl
    NETWORK_INSIGHTS_ANALYSISnetwork-insights-analysis
    NETWORK_INSIGHTS_PATHnetwork-insights-path
    NETWORK_INTERFACEnetwork-interface
    PLACEMENT_GROUPplacement-group
    RESERVED_INSTANCESreserved-instances
    ROUTE_TABLEroute-table
    SECURITY_GROUPsecurity-group
    SNAPSHOTsnapshot
    SPOT_FLEET_REQUESTspot-fleet-request
    SPOT_INSTANCES_REQUESTspot-instances-request
    SUBNETsubnet
    TRAFFIC_MIRROR_FILTERtraffic-mirror-filter
    TRAFFIC_MIRROR_SESSIONtraffic-mirror-session
    TRAFFIC_MIRROR_TARGETtraffic-mirror-target
    TRANSIT_GATEWAYtransit-gateway
    TRANSIT_GATEWAY_ATTACHMENTtransit-gateway-attachment
    TRANSIT_GATEWAY_CONNECT_PEERtransit-gateway-connect-peer
    TRANSIT_GATEWAY_MULTICAST_DOMAINtransit-gateway-multicast-domain
    TRANSIT_GATEWAY_ROUTE_TABLEtransit-gateway-route-table
    VOLUMEvolume
    VPCvpc
    VPC_FLOW_LOGvpc-flow-log
    VPC_PEERING_CONNECTIONvpc-peering-connection
    VPN_CONNECTIONvpn-connection
    VPN_GATEWAYvpn-gateway
    Value
    client-vpn-endpoint
    customer-gateway
    dedicated-host
    dhcp-options
    egress-only-internet-gateway
    elastic-gpu
    elastic-ip
    export-image-task
    export-instance-task
    fleet
    fpga-image
    host-reservation
    image
    import-image-task
    import-snapshot-task
    instance
    internet-gateway
    key-pair
    launch-template
    local-gateway-route-table-vpc-association
    natgateway
    network-acl
    network-insights-analysis
    network-insights-path
    network-interface
    placement-group
    reserved-instances
    route-table
    security-group
    snapshot
    spot-fleet-request
    spot-instances-request
    subnet
    traffic-mirror-filter
    traffic-mirror-session
    traffic-mirror-target
    transit-gateway
    transit-gateway-attachment
    transit-gateway-connect-peer
    transit-gateway-multicast-domain
    transit-gateway-route-table
    volume
    vpc
    vpc-flow-log
    vpc-peering-connection
    vpn-connection
    vpn-gateway

    Ec2FleetTargetCapacitySpecificationRequest, Ec2FleetTargetCapacitySpecificationRequestArgs

    TotalTargetCapacity int
    The number of units to request, filled using the default target capacity type.
    DefaultTargetCapacityType Pulumi.AwsNative.Ec2.Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
    The default target capacity type.
    OnDemandTargetCapacity int
    The number of On-Demand units to request.
    SpotTargetCapacity int
    The number of Spot units to request.
    TargetCapacityUnitType Pulumi.AwsNative.Ec2.Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    TotalTargetCapacity int
    The number of units to request, filled using the default target capacity type.
    DefaultTargetCapacityType Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
    The default target capacity type.
    OnDemandTargetCapacity int
    The number of On-Demand units to request.
    SpotTargetCapacity int
    The number of Spot units to request.
    TargetCapacityUnitType Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    total_target_capacity number
    The number of units to request, filled using the default target capacity type.
    default_target_capacity_type "on-demand" | "spot" | "capacity-block" | "reserved-capacity"
    The default target capacity type.
    on_demand_target_capacity number
    The number of On-Demand units to request.
    spot_target_capacity number
    The number of Spot units to request.
    target_capacity_unit_type "vcpu" | "memory-mib" | "units"

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    totalTargetCapacity Integer
    The number of units to request, filled using the default target capacity type.
    defaultTargetCapacityType Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
    The default target capacity type.
    onDemandTargetCapacity Integer
    The number of On-Demand units to request.
    spotTargetCapacity Integer
    The number of Spot units to request.
    targetCapacityUnitType Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    totalTargetCapacity number
    The number of units to request, filled using the default target capacity type.
    defaultTargetCapacityType Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
    The default target capacity type.
    onDemandTargetCapacity number
    The number of On-Demand units to request.
    spotTargetCapacity number
    The number of Spot units to request.
    targetCapacityUnitType Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    total_target_capacity int
    The number of units to request, filled using the default target capacity type.
    default_target_capacity_type Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType
    The 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 Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    totalTargetCapacity Number
    The number of units to request, filled using the default target capacity type.
    defaultTargetCapacityType "on-demand" | "spot" | "capacity-block" | "reserved-capacity"
    The default target capacity type.
    onDemandTargetCapacity Number
    The number of On-Demand units to request.
    spotTargetCapacity Number
    The number of Spot units to request.
    targetCapacityUnitType "vcpu" | "memory-mib" | "units"

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType

    The default target capacity type.

    NameValue
    OnDemandon-demand
    Spotspot
    CapacityBlockcapacity-block
    ReservedCapacityreserved-capacity
    NameValue
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeOnDemandon-demand
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeSpotspot
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeCapacityBlockcapacity-block
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeReservedCapacityreserved-capacity
    Value
    on-demand
    spot
    capacity-block
    reserved-capacity
    NameValue
    OnDemandon-demand
    Spotspot
    CapacityBlockcapacity-block
    ReservedCapacityreserved-capacity
    NameValue
    OnDemandon-demand
    Spotspot
    CapacityBlockcapacity-block
    ReservedCapacityreserved-capacity
    NameValue
    ON_DEMANDon-demand
    SPOTspot
    CAPACITY_BLOCKcapacity-block
    RESERVED_CAPACITYreserved-capacity
    Value
    on-demand
    spot
    capacity-block
    reserved-capacity

    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType

    The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection.

    Default: units (the number of instances)

    NameValue
    Vcpuvcpu
    MemoryMibmemory-mib
    Unitsunits
    NameValue
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeVcpuvcpu
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeMemoryMibmemory-mib
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeUnitsunits
    Value
    vcpu
    memory-mib
    units
    NameValue
    Vcpuvcpu
    MemoryMibmemory-mib
    Unitsunits
    NameValue
    Vcpuvcpu
    MemoryMibmemory-mib
    Unitsunits
    NameValue
    VCPUvcpu
    MEMORY_MIBmemory-mib
    UNITSunits
    Value
    vcpu
    memory-mib
    units

    Ec2FleetTotalLocalStorageGbRequest, Ec2FleetTotalLocalStorageGbRequestArgs

    Max double
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    Min double
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    Max float64
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    Min float64
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    max Double
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    min Double
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    max number
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    min number
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    max float
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    min float
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
    max Number
    The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
    min Number
    The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.

    Ec2FleetType

    The fleet type. The default value is maintain .

    • maintain - The EC2 Fleet places an asynchronous request for your desired capacity, and continues to maintain your desired Spot capacity by replenishing interrupted Spot Instances.
    • request - The EC2 Fleet places an asynchronous one-time request for your desired capacity, but does submit Spot requests in alternative capacity pools if Spot capacity is unavailable, and does not maintain Spot capacity if Spot Instances are interrupted.
    • instant - The EC2 Fleet places a synchronous one-time request for your desired capacity, and returns errors for any instances that could not be launched.

    For more information, see EC2 Fleet request types in the Amazon EC2 User Guide .

    NameValue
    Maintainmaintain
    Requestrequest
    Instantinstant
    NameValue
    Ec2FleetTypeMaintainmaintain
    Ec2FleetTypeRequestrequest
    Ec2FleetTypeInstantinstant
    Value
    maintain
    request
    instant
    NameValue
    Maintainmaintain
    Requestrequest
    Instantinstant
    NameValue
    Maintainmaintain
    Requestrequest
    Instantinstant
    NameValue
    MAINTAINmaintain
    REQUESTrequest
    INSTANTinstant
    Value
    maintain
    request
    instant

    Ec2FleetVCpuCountRangeRequest, Ec2FleetVCpuCountRangeRequestArgs

    Max int
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    Min int
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    Max int
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    Min int
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    max number
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    min number
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    max Integer
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    min Integer
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    max number
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    min number
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    max int
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    min int
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .
    max Number
    The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
    min Number
    The minimum number of vCPUs. To specify no minimum limit, specify 0 .

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial