Skip to content

Allows you to purchase Amazon OpenSearch Service Reserved Instances

Description

Allows you to purchase Amazon OpenSearch Service Reserved Instances.

Usage

opensearchservice_purchase_reserved_instance_offering(
  ReservedInstanceOfferingId, ReservationName, InstanceCount)

Arguments

  • ReservedInstanceOfferingId

    [required] The ID of the Reserved Instance offering to purchase.

  • ReservationName

    [required] A customer-specified identifier to track this reservation.

  • InstanceCount

    The number of OpenSearch instances to reserve.

Value

A list with the following syntax:

list(
  ReservedInstanceId = "string",
  ReservationName = "string"
)

Request syntax

svc$purchase_reserved_instance_offering(
  ReservedInstanceOfferingId = "string",
  ReservationName = "string",
  InstanceCount = 123
)