AWSEC2SpotPlacement
Objective-C
@interface AWSEC2SpotPlacement
Swift
class AWSEC2SpotPlacement
Describes Spot Instance placement.
-
The Availability Zone.
[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, “us-west-2a, us-west-2b”.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable availabilityZone;
Swift
var availabilityZone: String? { get set }
-
The name of the placement group.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable groupName;
Swift
var groupName: String? { get set }
-
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicated
runs on single-tenant hardware. Thehost
tenancy is not supported for Spot Instances.Declaration
Objective-C
@property (nonatomic) AWSEC2Tenancy tenancy;
Swift
var tenancy: AWSEC2Tenancy { get set }