AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ReservedCacheNodesOffering

import "github.com/aws/aws-sdk-go/service/elasticache"

type ReservedCacheNodesOffering struct { CacheNodeType *string `type:"string"` Duration *int64 `type:"integer"` FixedPrice *float64 `type:"double"` OfferingType *string `type:"string"` ProductDescription *string `type:"string"` RecurringCharges []*RecurringCharge `locationNameList:"RecurringCharge" type:"list"` ReservedCacheNodesOfferingId *string `type:"string"` UsagePrice *float64 `type:"double"` }

Describes all of the attributes of a reserved cache node offering.

CacheNodeType

Type: *string

The cache node type for the reserved cache node.

The following node types are supported by ElastiCache. Generally speaking, the current generation types provide more memory and computational power at lower cost when compared to their equivalent previous generation counterparts.

  • General purpose:

Current generation:

T2 node types:cache.t2.micro, cache.t2.small, cache.t2.medium

M3 node types:cache.m3.medium, cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge

M4 node types:cache.m4.large, cache.m4.xlarge, cache.m4.2xlarge, cache.m4.4xlarge,

cache.m4.10xlarge

Previous generation: (not recommended)

T1 node types:cache.t1.micro

M1 node types:cache.m1.small, cache.m1.medium, cache.m1.large, cache.m1.xlarge

  • Compute optimized:

Previous generation: (not recommended)

C1 node types:cache.c1.xlarge

  • Memory optimized:

Current generation:

R3 node types:cache.r3.large, cache.r3.xlarge, cache.r3.2xlarge, cache.r3.4xlarge,

cache.r3.8xlarge

R4 node types;cache.r4.large, cache.r4.xlarge, cache.r4.2xlarge, cache.r4.4xlarge,

cache.r4.8xlarge, cache.r4.16xlarge

Previous generation: (not recommended)

M2 node types:cache.m2.xlarge, cache.m2.2xlarge, cache.m2.4xlarge

Notes:

  • All T2 instances are created in an Amazon Virtual Private Cloud (Amazon VPC).

  • Redis (cluster mode disabled): Redis backup/restore is not supported on T1 and T2 instances.

  • Redis (cluster mode enabled): Backup/restore is not supported on T1 instances.

  • Redis Append-only files (AOF) functionality is not supported for T1 or T2 instances.

For a complete listing of node types and specifications, see:

Duration

Type: *int64

The duration of the offering. in seconds.

FixedPrice

Type: *float64

The fixed price charged for this offering.

OfferingType

Type: *string

The offering type.

ProductDescription

Type: *string

The cache engine used by the offering.

RecurringCharges

Contains the specific price and frequency of a recurring charges for a reserved cache node, or for a reserved cache node offering.

ReservedCacheNodesOfferingId

Type: *string

A unique identifier for the reserved cache node offering.

UsagePrice

Type: *float64

The hourly price charged for this offering.

Method

GoString

func (s ReservedCacheNodesOffering) GoString() string

GoString returns the string representation

SetCacheNodeType

func (s *ReservedCacheNodesOffering) SetCacheNodeType(v string) *ReservedCacheNodesOffering

SetCacheNodeType sets the CacheNodeType field's value.

SetDuration

func (s *ReservedCacheNodesOffering) SetDuration(v int64) *ReservedCacheNodesOffering

SetDuration sets the Duration field's value.

SetFixedPrice

func (s *ReservedCacheNodesOffering) SetFixedPrice(v float64) *ReservedCacheNodesOffering

SetFixedPrice sets the FixedPrice field's value.

SetOfferingType

func (s *ReservedCacheNodesOffering) SetOfferingType(v string) *ReservedCacheNodesOffering

SetOfferingType sets the OfferingType field's value.

SetProductDescription

func (s *ReservedCacheNodesOffering) SetProductDescription(v string) *ReservedCacheNodesOffering

SetProductDescription sets the ProductDescription field's value.

SetRecurringCharges

func (s *ReservedCacheNodesOffering) SetRecurringCharges(v []*RecurringCharge) *ReservedCacheNodesOffering

SetRecurringCharges sets the RecurringCharges field's value.

SetReservedCacheNodesOfferingId

func (s *ReservedCacheNodesOffering) SetReservedCacheNodesOfferingId(v string) *ReservedCacheNodesOffering

SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value.

SetUsagePrice

func (s *ReservedCacheNodesOffering) SetUsagePrice(v float64) *ReservedCacheNodesOffering

SetUsagePrice sets the UsagePrice field's value.

String

func (s ReservedCacheNodesOffering) String() string

String returns the string representation

On this page: