Skip to main content

reserved_nodes_offerings

Creates, updates, deletes, gets or lists a reserved_nodes_offerings resource.

Overview

Namereserved_nodes_offerings
TypeResource
Idaws.memorydb.reserved_nodes_offerings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
durationintegerThe duration of the reservation in seconds.
fixed_pricenumber (double)The fixed price charged for this reserved node.
node_typestringThe node type for the reserved nodes. For more information, see Supported node types.
offering_typestringThe offering type of this reserved node.
recurring_chargesarrayThe recurring price charged to run this reserved node.
reserved_nodes_offering_idstringThe offering identifier.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_reserved_nodes_offeringsselectregionLists available reserved node offerings.
purchase_reserved_nodes_offeringexecregion, ReservedNodesOfferingIdAllows 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

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 }}"
}'
;