AWSEC2PurchaseCapacityBlockRequest

Objective-C

@interface AWSEC2PurchaseCapacityBlockRequest

Swift

class AWSEC2PurchaseCapacityBlockRequest
  • The ID of the Capacity Block offering.

    Declaration

    Objective-C

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

    Swift

    var capacityBlockOfferingId: String? { get set }
  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

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

    Swift

    var dryRun: NSNumber? { get set }
  • The type of operating system for which to reserve capacity.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2CapacityReservationInstancePlatform instancePlatform;

    Swift

    var instancePlatform: AWSEC2CapacityReservationInstancePlatform { get set }
  • The tags to apply to the Capacity Block during launch.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }