| Did this page help you? Yes No Tell us about it... |
Purchases a reserved DB Instance offering.
rds-purchase-reserved-db-instance-offering
ReservedDBInstancesOfferingId [-c
(--instance-count) value ] [-i
(--reserved-db-instance-id) value ] [General
Options]
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Reserved DB Instance offering to purchase. You can also set this value using the
Type: String Default: None Example: |
Yes |
|
|
The number of DB Instances to reserve. Type: Integer Default: 1 Example: |
No |
|
|
Optional unique identifier for the purchased reservation. If this parameter is not specified, an identifier is automatically generated for the reservation. Type: String Default: None Example: |
No |
The command returns a table with the following information:
ReservationIdthe unique identifier for the reservation.
OfferingIDthe offering
identifier (only appears when the --show-long
parameter is specified).
Classthe DB instance class for the reservation.
Multi-AZindicates if the reservation applies to Multi-AZ deployments.
Start Timethe time the reservation started
Durationthe length of the duration in years.
Fixed Pricethe fixed price
charged for each DB Instance in this reservation (only appears when the
--show-long parameter is specified).
Usage Pricethe hourly price to
run each reserved DB Instance (only appears when the
--show-long parameter is specified).
Countthe number of database instances reserved.
Statethe payment status of the reservation.
Descriptionthe database engine used by the reservation.
This example reserves a single database instance from offering 438012d3-4052-4cc7-b2e3-8d3372e0e706.
PROMPT> rds-purchase-reserved-db-instances-offering 438012d3-4052-4cc7-b2e3-8d3372e0e706 -i myreservationID
This example reserves five database instances from offering 438012d3-4052-4cc7-b2e3-8d3372e0e706.
PROMPT> rds-purchase-reserved-db-instances-offering 438012d3-4052-4cc7-b2e3-8d3372e0e706 -i myreservationID -c 5