1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. Ec2Fleet

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.ec2.Ec2Fleet

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 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,
                 context: Optional[str] = None,
                 excess_capacity_termination_policy: Optional[Ec2FleetExcessCapacityTerminationPolicy] = None,
                 on_demand_options: Optional[Ec2FleetOnDemandOptionsRequestArgs] = None,
                 replace_unhealthy_instances: Optional[bool] = None,
                 spot_options: Optional[Ec2FleetSpotOptionsRequestArgs] = None,
                 tag_specifications: Optional[Sequence[Ec2FleetTagSpecificationArgs]] = 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.
    
    

    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

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

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

    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.

    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, Ec2FleetCapacityRebalanceReplacementStrategyArgs

    Launch
    launch
    LaunchBeforeTerminate
    launch-before-terminate
    Ec2FleetCapacityRebalanceReplacementStrategyLaunch
    launch
    Ec2FleetCapacityRebalanceReplacementStrategyLaunchBeforeTerminate
    launch-before-terminate
    Launch
    launch
    LaunchBeforeTerminate
    launch-before-terminate
    Launch
    launch
    LaunchBeforeTerminate
    launch-before-terminate
    LAUNCH
    launch
    LAUNCH_BEFORE_TERMINATE
    launch-before-terminate
    "launch"
    launch
    "launch-before-terminate"
    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.

    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, Ec2FleetCapacityReservationOptionsRequestUsageStrategyArgs

    UseCapacityReservationsFirst
    use-capacity-reservations-first
    Ec2FleetCapacityReservationOptionsRequestUsageStrategyUseCapacityReservationsFirst
    use-capacity-reservations-first
    UseCapacityReservationsFirst
    use-capacity-reservations-first
    UseCapacityReservationsFirst
    use-capacity-reservations-first
    USE_CAPACITY_RESERVATIONS_FIRST
    use-capacity-reservations-first
    "use-capacity-reservations-first"
    use-capacity-reservations-first

    Ec2FleetExcessCapacityTerminationPolicy, Ec2FleetExcessCapacityTerminationPolicyArgs

    Termination
    termination
    NoTermination
    no-termination
    Ec2FleetExcessCapacityTerminationPolicyTermination
    termination
    Ec2FleetExcessCapacityTerminationPolicyNoTermination
    no-termination
    Termination
    termination
    NoTermination
    no-termination
    Termination
    termination
    NoTermination
    no-termination
    TERMINATION
    termination
    NO_TERMINATION
    no-termination
    "termination"
    termination
    "no-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.

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

    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.

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

    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.

    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.

    availabilityZone String
    The Availability Zone in which to launch the instances.
    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 .

    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.

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

    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.

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

    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.

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

    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.

    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.

    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.

    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.

    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.

    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.

    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.

    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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 .

    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

    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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 .

    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

    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.
    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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 .

    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

    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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 .

    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

    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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 .

    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_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">

    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 NVIDIA GRID K520 GPUs, specify k520 .
    • For instance types with NVIDIA K80 GPUs, specify k80 .
    • 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 NVIDIA T4 GPUs, specify t4 .
    • For instance types with NVIDIA T4G GPUs, specify t4g .
    • 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">

    The accelerator types that must be on the instance type.

    • To include instance types with GPU hardware, specify gpu .
    • To include instance types with FPGA hardware, specify fpga .
    • To include instance types with inference hardware, specify inference .

    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

    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">

    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 .

    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

    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, Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemArgs

    AmazonWebServices
    amazon-web-services
    Amd
    amd
    Habana
    habana
    Nvidia
    nvidia
    Xilinx
    xilinx
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemAmazonWebServices
    amazon-web-services
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemAmd
    amd
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemHabana
    habana
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemNvidia
    nvidia
    Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItemXilinx
    xilinx
    AmazonWebServices
    amazon-web-services
    Amd
    amd
    Habana
    habana
    Nvidia
    nvidia
    Xilinx
    xilinx
    AmazonWebServices
    amazon-web-services
    Amd
    amd
    Habana
    habana
    Nvidia
    nvidia
    Xilinx
    xilinx
    AMAZON_WEB_SERVICES
    amazon-web-services
    AMD
    amd
    HABANA
    habana
    NVIDIA
    nvidia
    XILINX
    xilinx
    "amazon-web-services"
    amazon-web-services
    "amd"
    amd
    "habana"
    habana
    "nvidia"
    nvidia
    "xilinx"
    xilinx

    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem, Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemArgs

    A10g
    a10g
    A100
    a100
    H100
    h100
    Inferentia
    inferentia
    K520
    k520
    K80
    k80
    M60
    m60
    RadeonProV520
    radeon-pro-v520
    T4
    t4
    T4g
    t4g
    Vu9p
    vu9p
    V100
    v100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemA10g
    a10g
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemA100
    a100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemH100
    h100
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemInferentia
    inferentia
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemK520
    k520
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemK80
    k80
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemM60
    m60
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemRadeonProV520
    radeon-pro-v520
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemT4
    t4
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemT4g
    t4g
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemVu9p
    vu9p
    Ec2FleetInstanceRequirementsRequestAcceleratorNamesItemV100
    v100
    A10g
    a10g
    A100
    a100
    H100
    h100
    Inferentia
    inferentia
    K520
    k520
    K80
    k80
    M60
    m60
    RadeonProV520
    radeon-pro-v520
    T4
    t4
    T4g
    t4g
    Vu9p
    vu9p
    V100
    v100
    A10g
    a10g
    A100
    a100
    H100
    h100
    Inferentia
    inferentia
    K520
    k520
    K80
    k80
    M60
    m60
    RadeonProV520
    radeon-pro-v520
    T4
    t4
    T4g
    t4g
    Vu9p
    vu9p
    V100
    v100
    A10G
    a10g
    A100
    a100
    H100
    h100
    INFERENTIA
    inferentia
    K520
    k520
    K80
    k80
    M60
    m60
    RADEON_PRO_V520
    radeon-pro-v520
    T4
    t4
    T4G
    t4g
    VU9P
    vu9p
    V100
    v100
    "a10g"
    a10g
    "a100"
    a100
    "h100"
    h100
    "inferentia"
    inferentia
    "k520"
    k520
    "k80"
    k80
    "m60"
    m60
    "radeon-pro-v520"
    radeon-pro-v520
    "t4"
    t4
    "t4g"
    t4g
    "vu9p"
    vu9p
    "v100"
    v100

    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem, Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemArgs

    Gpu
    gpu
    Fpga
    fpga
    Inference
    inference
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemGpu
    gpu
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemFpga
    fpga
    Ec2FleetInstanceRequirementsRequestAcceleratorTypesItemInference
    inference
    Gpu
    gpu
    Fpga
    fpga
    Inference
    inference
    Gpu
    gpu
    Fpga
    fpga
    Inference
    inference
    GPU
    gpu
    FPGA
    fpga
    INFERENCE
    inference
    "gpu"
    gpu
    "fpga"
    fpga
    "inference"
    inference

    Ec2FleetInstanceRequirementsRequestBareMetal, Ec2FleetInstanceRequirementsRequestBareMetalArgs

    Included
    included
    Required
    required
    Excluded
    excluded
    Ec2FleetInstanceRequirementsRequestBareMetalIncluded
    included
    Ec2FleetInstanceRequirementsRequestBareMetalRequired
    required
    Ec2FleetInstanceRequirementsRequestBareMetalExcluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    INCLUDED
    included
    REQUIRED
    required
    EXCLUDED
    excluded
    "included"
    included
    "required"
    required
    "excluded"
    excluded

    Ec2FleetInstanceRequirementsRequestBurstablePerformance, Ec2FleetInstanceRequirementsRequestBurstablePerformanceArgs

    Included
    included
    Required
    required
    Excluded
    excluded
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceIncluded
    included
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceRequired
    required
    Ec2FleetInstanceRequirementsRequestBurstablePerformanceExcluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    INCLUDED
    included
    REQUIRED
    required
    EXCLUDED
    excluded
    "included"
    included
    "required"
    required
    "excluded"
    excluded

    Ec2FleetInstanceRequirementsRequestCpuManufacturersItem, Ec2FleetInstanceRequirementsRequestCpuManufacturersItemArgs

    Intel
    intel
    Amd
    amd
    AmazonWebServices
    amazon-web-services
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemIntel
    intel
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemAmd
    amd
    Ec2FleetInstanceRequirementsRequestCpuManufacturersItemAmazonWebServices
    amazon-web-services
    Intel
    intel
    Amd
    amd
    AmazonWebServices
    amazon-web-services
    Intel
    intel
    Amd
    amd
    AmazonWebServices
    amazon-web-services
    INTEL
    intel
    AMD
    amd
    AMAZON_WEB_SERVICES
    amazon-web-services
    "intel"
    intel
    "amd"
    amd
    "amazon-web-services"
    amazon-web-services

    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem, Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemArgs

    Current
    current
    Previous
    previous
    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemCurrent
    current
    Ec2FleetInstanceRequirementsRequestInstanceGenerationsItemPrevious
    previous
    Current
    current
    Previous
    previous
    Current
    current
    Previous
    previous
    CURRENT
    current
    PREVIOUS
    previous
    "current"
    current
    "previous"
    previous

    Ec2FleetInstanceRequirementsRequestLocalStorage, Ec2FleetInstanceRequirementsRequestLocalStorageArgs

    Included
    included
    Required
    required
    Excluded
    excluded
    Ec2FleetInstanceRequirementsRequestLocalStorageIncluded
    included
    Ec2FleetInstanceRequirementsRequestLocalStorageRequired
    required
    Ec2FleetInstanceRequirementsRequestLocalStorageExcluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    Included
    included
    Required
    required
    Excluded
    excluded
    INCLUDED
    included
    REQUIRED
    required
    EXCLUDED
    excluded
    "included"
    included
    "required"
    required
    "excluded"
    excluded

    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem, Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemArgs

    Hdd
    hdd
    Ssd
    ssd
    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemHdd
    hdd
    Ec2FleetInstanceRequirementsRequestLocalStorageTypesItemSsd
    ssd
    Hdd
    hdd
    Ssd
    ssd
    Hdd
    hdd
    Ssd
    ssd
    HDD
    hdd
    SSD
    ssd
    "hdd"
    hdd
    "ssd"
    ssd

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

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

    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 .

    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 .

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    GroupName string
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    GroupName string
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    groupName String
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    groupName string
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    group_name str
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

    This parameter is not supported for CreateFleet .

    groupName String
    The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .
    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.

    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.

    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 .

    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, Ec2FleetSpotOptionsRequestAllocationStrategyArgs

    LowestPrice
    lowest-price
    Diversified
    diversified
    CapacityOptimized
    capacityOptimized
    CapacityOptimizedPrioritized
    capacityOptimizedPrioritized
    PriceCapacityOptimized
    priceCapacityOptimized
    Ec2FleetSpotOptionsRequestAllocationStrategyLowestPrice
    lowest-price
    Ec2FleetSpotOptionsRequestAllocationStrategyDiversified
    diversified
    Ec2FleetSpotOptionsRequestAllocationStrategyCapacityOptimized
    capacityOptimized
    Ec2FleetSpotOptionsRequestAllocationStrategyCapacityOptimizedPrioritized
    capacityOptimizedPrioritized
    Ec2FleetSpotOptionsRequestAllocationStrategyPriceCapacityOptimized
    priceCapacityOptimized
    LowestPrice
    lowest-price
    Diversified
    diversified
    CapacityOptimized
    capacityOptimized
    CapacityOptimizedPrioritized
    capacityOptimizedPrioritized
    PriceCapacityOptimized
    priceCapacityOptimized
    LowestPrice
    lowest-price
    Diversified
    diversified
    CapacityOptimized
    capacityOptimized
    CapacityOptimizedPrioritized
    capacityOptimizedPrioritized
    PriceCapacityOptimized
    priceCapacityOptimized
    LOWEST_PRICE
    lowest-price
    DIVERSIFIED
    diversified
    CAPACITY_OPTIMIZED
    capacityOptimized
    CAPACITY_OPTIMIZED_PRIORITIZED
    capacityOptimizedPrioritized
    PRICE_CAPACITY_OPTIMIZED
    priceCapacityOptimized
    "lowest-price"
    lowest-price
    "diversified"
    diversified
    "capacityOptimized"
    capacityOptimized
    "capacityOptimizedPrioritized"
    capacityOptimizedPrioritized
    "priceCapacityOptimized"
    priceCapacityOptimized

    Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior, Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorArgs

    Hibernate
    hibernate
    Stop
    stop
    Terminate
    terminate
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorHibernate
    hibernate
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorStop
    stop
    Ec2FleetSpotOptionsRequestInstanceInterruptionBehaviorTerminate
    terminate
    Hibernate
    hibernate
    Stop
    stop
    Terminate
    terminate
    Hibernate
    hibernate
    Stop
    stop
    Terminate
    terminate
    HIBERNATE
    hibernate
    STOP
    stop
    TERMINATE
    terminate
    "hibernate"
    hibernate
    "stop"
    stop
    "terminate"
    terminate

    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 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.
    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, Ec2FleetTagSpecificationResourceTypeArgs

    ClientVpnEndpoint
    client-vpn-endpoint
    CustomerGateway
    customer-gateway
    DedicatedHost
    dedicated-host
    DhcpOptions
    dhcp-options
    EgressOnlyInternetGateway
    egress-only-internet-gateway
    ElasticGpu
    elastic-gpu
    ElasticIp
    elastic-ip
    ExportImageTask
    export-image-task
    ExportInstanceTask
    export-instance-task
    Fleet
    fleet
    FpgaImage
    fpga-image
    HostReservation
    host-reservation
    Image
    image
    ImportImageTask
    import-image-task
    ImportSnapshotTask
    import-snapshot-task
    Instance
    instance
    InternetGateway
    internet-gateway
    KeyPair
    key-pair
    LaunchTemplate
    launch-template
    LocalGatewayRouteTableVpcAssociation
    local-gateway-route-table-vpc-association
    Natgateway
    natgateway
    NetworkAcl
    network-acl
    NetworkInsightsAnalysis
    network-insights-analysis
    NetworkInsightsPath
    network-insights-path
    NetworkInterface
    network-interface
    PlacementGroup
    placement-group
    ReservedInstances
    reserved-instances
    RouteTable
    route-table
    SecurityGroup
    security-group
    Snapshot
    snapshot
    SpotFleetRequest
    spot-fleet-request
    SpotInstancesRequest
    spot-instances-request
    Subnet
    subnet
    TrafficMirrorFilter
    traffic-mirror-filter
    TrafficMirrorSession
    traffic-mirror-session
    TrafficMirrorTarget
    traffic-mirror-target
    TransitGateway
    transit-gateway
    TransitGatewayAttachment
    transit-gateway-attachment
    TransitGatewayConnectPeer
    transit-gateway-connect-peer
    TransitGatewayMulticastDomain
    transit-gateway-multicast-domain
    TransitGatewayRouteTable
    transit-gateway-route-table
    Volume
    volume
    Vpc
    vpc
    VpcFlowLog
    vpc-flow-log
    VpcPeeringConnection
    vpc-peering-connection
    VpnConnection
    vpn-connection
    VpnGateway
    vpn-gateway
    Ec2FleetTagSpecificationResourceTypeClientVpnEndpoint
    client-vpn-endpoint
    Ec2FleetTagSpecificationResourceTypeCustomerGateway
    customer-gateway
    Ec2FleetTagSpecificationResourceTypeDedicatedHost
    dedicated-host
    Ec2FleetTagSpecificationResourceTypeDhcpOptions
    dhcp-options
    Ec2FleetTagSpecificationResourceTypeEgressOnlyInternetGateway
    egress-only-internet-gateway
    Ec2FleetTagSpecificationResourceTypeElasticGpu
    elastic-gpu
    Ec2FleetTagSpecificationResourceTypeElasticIp
    elastic-ip
    Ec2FleetTagSpecificationResourceTypeExportImageTask
    export-image-task
    Ec2FleetTagSpecificationResourceTypeExportInstanceTask
    export-instance-task
    Ec2FleetTagSpecificationResourceTypeFleet
    fleet
    Ec2FleetTagSpecificationResourceTypeFpgaImage
    fpga-image
    Ec2FleetTagSpecificationResourceTypeHostReservation
    host-reservation
    Ec2FleetTagSpecificationResourceTypeImage
    image
    Ec2FleetTagSpecificationResourceTypeImportImageTask
    import-image-task
    Ec2FleetTagSpecificationResourceTypeImportSnapshotTask
    import-snapshot-task
    Ec2FleetTagSpecificationResourceTypeInstance
    instance
    Ec2FleetTagSpecificationResourceTypeInternetGateway
    internet-gateway
    Ec2FleetTagSpecificationResourceTypeKeyPair
    key-pair
    Ec2FleetTagSpecificationResourceTypeLaunchTemplate
    launch-template
    Ec2FleetTagSpecificationResourceTypeLocalGatewayRouteTableVpcAssociation
    local-gateway-route-table-vpc-association
    Ec2FleetTagSpecificationResourceTypeNatgateway
    natgateway
    Ec2FleetTagSpecificationResourceTypeNetworkAcl
    network-acl
    Ec2FleetTagSpecificationResourceTypeNetworkInsightsAnalysis
    network-insights-analysis
    Ec2FleetTagSpecificationResourceTypeNetworkInsightsPath
    network-insights-path
    Ec2FleetTagSpecificationResourceTypeNetworkInterface
    network-interface
    Ec2FleetTagSpecificationResourceTypePlacementGroup
    placement-group
    Ec2FleetTagSpecificationResourceTypeReservedInstances
    reserved-instances
    Ec2FleetTagSpecificationResourceTypeRouteTable
    route-table
    Ec2FleetTagSpecificationResourceTypeSecurityGroup
    security-group
    Ec2FleetTagSpecificationResourceTypeSnapshot
    snapshot
    Ec2FleetTagSpecificationResourceTypeSpotFleetRequest
    spot-fleet-request
    Ec2FleetTagSpecificationResourceTypeSpotInstancesRequest
    spot-instances-request
    Ec2FleetTagSpecificationResourceTypeSubnet
    subnet
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorFilter
    traffic-mirror-filter
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorSession
    traffic-mirror-session
    Ec2FleetTagSpecificationResourceTypeTrafficMirrorTarget
    traffic-mirror-target
    Ec2FleetTagSpecificationResourceTypeTransitGateway
    transit-gateway
    Ec2FleetTagSpecificationResourceTypeTransitGatewayAttachment
    transit-gateway-attachment
    Ec2FleetTagSpecificationResourceTypeTransitGatewayConnectPeer
    transit-gateway-connect-peer
    Ec2FleetTagSpecificationResourceTypeTransitGatewayMulticastDomain
    transit-gateway-multicast-domain
    Ec2FleetTagSpecificationResourceTypeTransitGatewayRouteTable
    transit-gateway-route-table
    Ec2FleetTagSpecificationResourceTypeVolume
    volume
    Ec2FleetTagSpecificationResourceTypeVpc
    vpc
    Ec2FleetTagSpecificationResourceTypeVpcFlowLog
    vpc-flow-log
    Ec2FleetTagSpecificationResourceTypeVpcPeeringConnection
    vpc-peering-connection
    Ec2FleetTagSpecificationResourceTypeVpnConnection
    vpn-connection
    Ec2FleetTagSpecificationResourceTypeVpnGateway
    vpn-gateway
    ClientVpnEndpoint
    client-vpn-endpoint
    CustomerGateway
    customer-gateway
    DedicatedHost
    dedicated-host
    DhcpOptions
    dhcp-options
    EgressOnlyInternetGateway
    egress-only-internet-gateway
    ElasticGpu
    elastic-gpu
    ElasticIp
    elastic-ip
    ExportImageTask
    export-image-task
    ExportInstanceTask
    export-instance-task
    Fleet
    fleet
    FpgaImage
    fpga-image
    HostReservation
    host-reservation
    Image
    image
    ImportImageTask
    import-image-task
    ImportSnapshotTask
    import-snapshot-task
    Instance
    instance
    InternetGateway
    internet-gateway
    KeyPair
    key-pair
    LaunchTemplate
    launch-template
    LocalGatewayRouteTableVpcAssociation
    local-gateway-route-table-vpc-association
    Natgateway
    natgateway
    NetworkAcl
    network-acl
    NetworkInsightsAnalysis
    network-insights-analysis
    NetworkInsightsPath
    network-insights-path
    NetworkInterface
    network-interface
    PlacementGroup
    placement-group
    ReservedInstances
    reserved-instances
    RouteTable
    route-table
    SecurityGroup
    security-group
    Snapshot
    snapshot
    SpotFleetRequest
    spot-fleet-request
    SpotInstancesRequest
    spot-instances-request
    Subnet
    subnet
    TrafficMirrorFilter
    traffic-mirror-filter
    TrafficMirrorSession
    traffic-mirror-session
    TrafficMirrorTarget
    traffic-mirror-target
    TransitGateway
    transit-gateway
    TransitGatewayAttachment
    transit-gateway-attachment
    TransitGatewayConnectPeer
    transit-gateway-connect-peer
    TransitGatewayMulticastDomain
    transit-gateway-multicast-domain
    TransitGatewayRouteTable
    transit-gateway-route-table
    Volume
    volume
    Vpc
    vpc
    VpcFlowLog
    vpc-flow-log
    VpcPeeringConnection
    vpc-peering-connection
    VpnConnection
    vpn-connection
    VpnGateway
    vpn-gateway
    ClientVpnEndpoint
    client-vpn-endpoint
    CustomerGateway
    customer-gateway
    DedicatedHost
    dedicated-host
    DhcpOptions
    dhcp-options
    EgressOnlyInternetGateway
    egress-only-internet-gateway
    ElasticGpu
    elastic-gpu
    ElasticIp
    elastic-ip
    ExportImageTask
    export-image-task
    ExportInstanceTask
    export-instance-task
    Fleet
    fleet
    FpgaImage
    fpga-image
    HostReservation
    host-reservation
    Image
    image
    ImportImageTask
    import-image-task
    ImportSnapshotTask
    import-snapshot-task
    Instance
    instance
    InternetGateway
    internet-gateway
    KeyPair
    key-pair
    LaunchTemplate
    launch-template
    LocalGatewayRouteTableVpcAssociation
    local-gateway-route-table-vpc-association
    Natgateway
    natgateway
    NetworkAcl
    network-acl
    NetworkInsightsAnalysis
    network-insights-analysis
    NetworkInsightsPath
    network-insights-path
    NetworkInterface
    network-interface
    PlacementGroup
    placement-group
    ReservedInstances
    reserved-instances
    RouteTable
    route-table
    SecurityGroup
    security-group
    Snapshot
    snapshot
    SpotFleetRequest
    spot-fleet-request
    SpotInstancesRequest
    spot-instances-request
    Subnet
    subnet
    TrafficMirrorFilter
    traffic-mirror-filter
    TrafficMirrorSession
    traffic-mirror-session
    TrafficMirrorTarget
    traffic-mirror-target
    TransitGateway
    transit-gateway
    TransitGatewayAttachment
    transit-gateway-attachment
    TransitGatewayConnectPeer
    transit-gateway-connect-peer
    TransitGatewayMulticastDomain
    transit-gateway-multicast-domain
    TransitGatewayRouteTable
    transit-gateway-route-table
    Volume
    volume
    Vpc
    vpc
    VpcFlowLog
    vpc-flow-log
    VpcPeeringConnection
    vpc-peering-connection
    VpnConnection
    vpn-connection
    VpnGateway
    vpn-gateway
    CLIENT_VPN_ENDPOINT
    client-vpn-endpoint
    CUSTOMER_GATEWAY
    customer-gateway
    DEDICATED_HOST
    dedicated-host
    DHCP_OPTIONS
    dhcp-options
    EGRESS_ONLY_INTERNET_GATEWAY
    egress-only-internet-gateway
    ELASTIC_GPU
    elastic-gpu
    ELASTIC_IP
    elastic-ip
    EXPORT_IMAGE_TASK
    export-image-task
    EXPORT_INSTANCE_TASK
    export-instance-task
    FLEET
    fleet
    FPGA_IMAGE
    fpga-image
    HOST_RESERVATION
    host-reservation
    IMAGE
    image
    IMPORT_IMAGE_TASK
    import-image-task
    IMPORT_SNAPSHOT_TASK
    import-snapshot-task
    INSTANCE
    instance
    INTERNET_GATEWAY
    internet-gateway
    KEY_PAIR
    key-pair
    LAUNCH_TEMPLATE
    launch-template
    LOCAL_GATEWAY_ROUTE_TABLE_VPC_ASSOCIATION
    local-gateway-route-table-vpc-association
    NATGATEWAY
    natgateway
    NETWORK_ACL
    network-acl
    NETWORK_INSIGHTS_ANALYSIS
    network-insights-analysis
    NETWORK_INSIGHTS_PATH
    network-insights-path
    NETWORK_INTERFACE
    network-interface
    PLACEMENT_GROUP
    placement-group
    RESERVED_INSTANCES
    reserved-instances
    ROUTE_TABLE
    route-table
    SECURITY_GROUP
    security-group
    SNAPSHOT
    snapshot
    SPOT_FLEET_REQUEST
    spot-fleet-request
    SPOT_INSTANCES_REQUEST
    spot-instances-request
    SUBNET
    subnet
    TRAFFIC_MIRROR_FILTER
    traffic-mirror-filter
    TRAFFIC_MIRROR_SESSION
    traffic-mirror-session
    TRAFFIC_MIRROR_TARGET
    traffic-mirror-target
    TRANSIT_GATEWAY
    transit-gateway
    TRANSIT_GATEWAY_ATTACHMENT
    transit-gateway-attachment
    TRANSIT_GATEWAY_CONNECT_PEER
    transit-gateway-connect-peer
    TRANSIT_GATEWAY_MULTICAST_DOMAIN
    transit-gateway-multicast-domain
    TRANSIT_GATEWAY_ROUTE_TABLE
    transit-gateway-route-table
    VOLUME
    volume
    VPC
    vpc
    VPC_FLOW_LOG
    vpc-flow-log
    VPC_PEERING_CONNECTION
    vpc-peering-connection
    VPN_CONNECTION
    vpn-connection
    VPN_GATEWAY
    vpn-gateway
    "client-vpn-endpoint"
    client-vpn-endpoint
    "customer-gateway"
    customer-gateway
    "dedicated-host"
    dedicated-host
    "dhcp-options"
    dhcp-options
    "egress-only-internet-gateway"
    egress-only-internet-gateway
    "elastic-gpu"
    elastic-gpu
    "elastic-ip"
    elastic-ip
    "export-image-task"
    export-image-task
    "export-instance-task"
    export-instance-task
    "fleet"
    fleet
    "fpga-image"
    fpga-image
    "host-reservation"
    host-reservation
    "image"
    image
    "import-image-task"
    import-image-task
    "import-snapshot-task"
    import-snapshot-task
    "instance"
    instance
    "internet-gateway"
    internet-gateway
    "key-pair"
    key-pair
    "launch-template"
    launch-template
    "local-gateway-route-table-vpc-association"
    local-gateway-route-table-vpc-association
    "natgateway"
    natgateway
    "network-acl"
    network-acl
    "network-insights-analysis"
    network-insights-analysis
    "network-insights-path"
    network-insights-path
    "network-interface"
    network-interface
    "placement-group"
    placement-group
    "reserved-instances"
    reserved-instances
    "route-table"
    route-table
    "security-group"
    security-group
    "snapshot"
    snapshot
    "spot-fleet-request"
    spot-fleet-request
    "spot-instances-request"
    spot-instances-request
    "subnet"
    subnet
    "traffic-mirror-filter"
    traffic-mirror-filter
    "traffic-mirror-session"
    traffic-mirror-session
    "traffic-mirror-target"
    traffic-mirror-target
    "transit-gateway"
    transit-gateway
    "transit-gateway-attachment"
    transit-gateway-attachment
    "transit-gateway-connect-peer"
    transit-gateway-connect-peer
    "transit-gateway-multicast-domain"
    transit-gateway-multicast-domain
    "transit-gateway-route-table"
    transit-gateway-route-table
    "volume"
    volume
    "vpc"
    vpc
    "vpc-flow-log"
    vpc-flow-log
    "vpc-peering-connection"
    vpc-peering-connection
    "vpn-connection"
    vpn-connection
    "vpn-gateway"
    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)

    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"
    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, Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeArgs

    OnDemand
    on-demand
    Spot
    spot
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeOnDemand
    on-demand
    Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityTypeSpot
    spot
    OnDemand
    on-demand
    Spot
    spot
    OnDemand
    on-demand
    Spot
    spot
    ON_DEMAND
    on-demand
    SPOT
    spot
    "on-demand"
    on-demand
    "spot"
    spot

    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType, Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeArgs

    Vcpu
    vcpu
    MemoryMib
    memory-mib
    Units
    units
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeVcpu
    vcpu
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeMemoryMib
    memory-mib
    Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitTypeUnits
    units
    Vcpu
    vcpu
    MemoryMib
    memory-mib
    Units
    units
    Vcpu
    vcpu
    MemoryMib
    memory-mib
    Units
    units
    VCPU
    vcpu
    MEMORY_MIB
    memory-mib
    UNITS
    units
    "vcpu"
    vcpu
    "memory-mib"
    memory-mib
    "units"
    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 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, Ec2FleetTypeArgs

    Maintain
    maintain
    Request
    request
    Instant
    instant
    Ec2FleetTypeMaintain
    maintain
    Ec2FleetTypeRequest
    request
    Ec2FleetTypeInstant
    instant
    Maintain
    maintain
    Request
    request
    Instant
    instant
    Maintain
    maintain
    Request
    request
    Instant
    instant
    MAINTAIN
    maintain
    REQUEST
    request
    INSTANT
    instant
    "maintain"
    maintain
    "request"
    request
    "instant"
    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 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 is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi