AWSEC2SpotFleetRequestConfigData Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Describes the configuration of a Spot fleet request.

Required parameters: [SpotPrice, TargetCapacity, IamFleetRole, LaunchSpecifications]

  allocationStrategy

Indicates how to allocate the target capacity across the Spot pools specified by the Spot fleet request. The default is lowestPrice.

@property (nonatomic, assign) AWSEC2AllocationStrategy allocationStrategy

Declared In

AWSEC2Model.h

  clientToken

A unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

@property (nonatomic, strong) NSString *clientToken

Declared In

AWSEC2Model.h

  excessCapacityTerminationPolicy

Indicates whether running Spot instances should be terminated if the target capacity of the Spot fleet request is decreased below the current size of the Spot fleet.

@property (nonatomic, assign) AWSEC2ExcessCapacityTerminationPolicy excessCapacityTerminationPolicy

Declared In

AWSEC2Model.h

  iamFleetRole

Grants the Spot fleet permission to terminate Spot instances on your behalf when you cancel its Spot fleet request using CancelSpotFleetRequests or when the Spot fleet request expires, if you set terminateInstancesWithExpiration.

@property (nonatomic, strong) NSString *iamFleetRole

Declared In

AWSEC2Model.h

  launchSpecifications

Information about the launch specifications for the Spot fleet request.

@property (nonatomic, strong) NSArray<AWSEC2SpotFleetLaunchSpecification*> *launchSpecifications

Declared In

AWSEC2Model.h

  spotPrice

The bid price per unit hour.

@property (nonatomic, strong) NSString *spotPrice

Declared In

AWSEC2Model.h

  targetCapacity

The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O.

@property (nonatomic, strong) NSNumber *targetCapacity

Declared In

AWSEC2Model.h

  terminateInstancesWithExpiration

Indicates whether running Spot instances should be terminated when the Spot fleet request expires.

@property (nonatomic, strong) NSNumber *terminateInstancesWithExpiration

Declared In

AWSEC2Model.h

  validFrom

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

@property (nonatomic, strong) NSDate *validFrom

Declared In

AWSEC2Model.h

  validUntil

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request.

@property (nonatomic, strong) NSDate *validUntil

Declared In

AWSEC2Model.h