AWSEC2LaunchTemplatePlacement

Objective-C

@interface AWSEC2LaunchTemplatePlacement

Swift

class AWSEC2LaunchTemplatePlacement

Describes the placement of an instance.

  • The affinity setting for the instance on the Dedicated Host.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { get set }
  • The Group ID of the 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.

    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 }