AWSEC2LaunchTemplatePlacementRequest

Objective-C

@interface AWSEC2LaunchTemplatePlacementRequest

Swift

class AWSEC2LaunchTemplatePlacementRequest

Describes the placement of an instance.

  • The affinity setting for an instance on a Dedicated Host.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable affinity;

    Swift

    var affinity: String? { get set }
  • The Availability Zone for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZone;

    Swift

    var availabilityZone: String? { get set }
  • The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable groupId;

    Swift

    var groupId: String? { get set }
  • The name of the placement group for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable groupName;

    Swift

    var groupName: String? { get set }
  • The ID of the Dedicated Host for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable hostId;

    Swift

    var hostId: String? { get set }
  • The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable hostResourceGroupArn;

    Swift

    var hostResourceGroupArn: String? { get set }
  • The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable partitionNumber;

    Swift

    var partitionNumber: NSNumber? { get set }
  • Reserved for future use.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable spreadDomain;

    Swift

    var spreadDomain: String? { get set }
  • The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2Tenancy tenancy;

    Swift

    var tenancy: AWSEC2Tenancy { get set }