ReservedCacheNode

class ReservedCacheNode : KotlinCustomResource

Manages an ElastiCache Reserved Cache Node.

NOTE: Once created, a reservation is valid for the duration of the provided offering_id and cannot be deleted. Performing a destroy will only remove the resource from state. For more information see ElastiCache Reserved Nodes Documentation and PurchaseReservedCacheNodesOffering. NOTE: Due to the expense of testing this resource, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub.

Example Usage

resources:
exampleReservedCacheNode:
type: aws:elasticache:ReservedCacheNode
name: example
properties:
reservedCacheNodesOfferingId: ${example.offeringId}
id: optionalCustomReservationID
cacheNodeCount: 3
variables:
example:
fn::invoke:
function: aws:elasticache:getReservedCacheNodeOffering
arguments:
cacheNodeType: cache.t4g.small
duration: P1Y
offeringType: No Upfront
productDescription: redis

Import

Using pulumi import, import ElastiCache Reserved Cache Node using the id. For example:

$ pulumi import aws:elasticache/reservedCacheNode:ReservedCacheNode example CustomReservationID

Properties

Link copied to clipboard
val arn: Output<String>

ARN for the reserved cache node.

Link copied to clipboard
val cacheNodeCount: Output<Int>

Number of cache node instances to reserve. Default value is 1.

Link copied to clipboard
val cacheNodeType: Output<String>

Node type for the reserved cache nodes.

Link copied to clipboard
val duration: Output<String>

Duration of the reservation as an RFC3339 duration.

Link copied to clipboard
val fixedPrice: Output<Double>

Fixed price charged for this reserved cache node.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val offeringType: Output<String>

Offering type of this reserved cache node.

Link copied to clipboard

Engine type for the reserved cache node.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Recurring price charged to run this reserved cache node.

Link copied to clipboard

ID of the reserved cache node offering to purchase. To determine an reserved_cache_nodes_offering_id, see the aws.elasticache.getReservedCacheNodeOffering data source. The following arguments are optional:

Link copied to clipboard
val startTime: Output<String>

Time the reservation started.

Link copied to clipboard
val state: Output<String>

State of the reserved cache node.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Map of tags to assign to the reservation. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val usagePrice: Output<Double>

Hourly price charged for this reserved cache node.