AWSEC2ModifyInstancePlacementRequest

@interface AWSEC2ModifyInstancePlacementRequest
  • The affinity setting for the instance.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2Affinity affinity;

    Swift

    var affinity: AWSEC2Affinity { get set }
  • The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default. For cluster and partition placement groups, the instance must have a tenancy of default or dedicated.

    To remove an instance from a placement group, specify an empty string (“”).

    Declaration

    Objective-C

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

    Swift

    var groupName: String? { get set }
  • The ID of the Dedicated Host with which to associate the instance.

    Declaration

    Objective-C

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

    Swift

    var hostId: String? { get set }
  • The ARN of the host resource group in which to place the instance.

    Declaration

    Objective-C

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

    Swift

    var hostResourceGroupArn: String? { get set }
  • The ID of the instance that you are modifying.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }
  • Reserved for future use.

    Declaration

    Objective-C

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

    Swift

    var partitionNumber: NSNumber? { get set }
  • The tenancy for the instance.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2HostTenancy tenancy;

    Swift

    var tenancy: AWSEC2HostTenancy { get set }