AWSEC2Placement

Objective-C

@interface AWSEC2Placement

Swift

class AWSEC2Placement

Describes the placement of an instance.

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

    This parameter is not supported for CreateFleet or ImportInstance.

    Declaration

    Objective-C

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

    Swift

    var affinity: String? { get set }
  • 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.

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { get set }
  • The ID of the placement group that the instance is in. If you specify GroupId, you can’t specify GroupName.

    Declaration

    Objective-C

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

    Swift

    var groupId: String? { get set }
  • The name of the placement group that the instance is in. If you specify GroupName, you can’t specify GroupId.

    Declaration

    Objective-C

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

    Swift

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

    This parameter is not supported for CreateFleet or ImportInstance.

    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 this parameter, either omit the Tenancy parameter or set it to host.

    This parameter is not supported for CreateFleet.

    Declaration

    Objective-C

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

    Swift

    var hostResourceGroupArn: String? { get set }
  • 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.

    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 (if the instance is running in a VPC). 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.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2Tenancy tenancy;

    Swift

    var tenancy: AWSEC2Tenancy { get set }