AWSEC2CapacityAllocation

Objective-C

@interface AWSEC2CapacityAllocation

Swift

class AWSEC2CapacityAllocation

Information about instance capacity usage for a Capacity Reservation.

  • The usage type. used indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AllocationType allocationType;

    Swift

    var allocationType: AWSEC2AllocationType { get set }
  • The amount of instance capacity associated with the usage. For example a value of 4 indicates that instance capacity for 4 instances is currently in use.

    Declaration

    Objective-C

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

    Swift

    var count: NSNumber? { get set }