reserved_nodes_offerings
Creates, updates, deletes, gets or lists a reserved_nodes_offerings resource.
Overview
| Name | reserved_nodes_offerings |
| Type | Resource |
| Id | aws.memorydb.reserved_nodes_offerings |
Fields
The following fields are returned by SELECT queries:
- describe_reserved_nodes_offerings
| Name | Datatype | Description |
|---|---|---|
duration | integer | The duration of the reservation in seconds. |
fixed_price | number (double) | The fixed price charged for this reserved node. |
node_type | string | The node type for the reserved nodes. For more information, see Supported node types. |
offering_type | string | The offering type of this reserved node. |
recurring_charges | array | The recurring price charged to run this reserved node. |
reserved_nodes_offering_id | string | The offering identifier. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_reserved_nodes_offerings | select | region | Lists available reserved node offerings. | |
purchase_reserved_nodes_offering | exec | region, ReservedNodesOfferingId | Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_reserved_nodes_offerings
Lists available reserved node offerings.
SELECT
duration,
fixed_price,
node_type,
offering_type,
recurring_charges,
reserved_nodes_offering_id
FROM aws.memorydb.reserved_nodes_offerings
WHERE region = '{{ region }}' -- required
;
Lifecycle Methods
- purchase_reserved_nodes_offering
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
EXEC aws.memorydb.reserved_nodes_offerings.purchase_reserved_nodes_offering
@region='{{ region }}' --required
@@json=
'{
"ReservedNodesOfferingId": "{{ ReservedNodesOfferingId }}",
"ReservationId": "{{ ReservationId }}",
"NodeCount": {{ NodeCount }},
"Tags": "{{ Tags }}"
}'
;