Class CfnReservedCacheNode
Represents an Amazon ElastiCache Reserved Cache Node.
Inherited Members
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReservedCacheNode : CfnResource, IInspectable, IReservedCacheNodeRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnReservedCacheNode Inherits CfnResource Implements IInspectable, IReservedCacheNodeRef, IConstruct, IDependable, IEnvironmentAware
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElastiCache;
var cfnReservedCacheNode = new CfnReservedCacheNode(this, "MyCfnReservedCacheNode", new CfnReservedCacheNodeProps { });
Synopsis
Constructors
| CfnReservedCacheNode(Construct, string, ICfnReservedCacheNodeProps?) | Create a new |
Properties
| AttrCacheNodeCount | The number of cache nodes that have been reserved. |
| AttrCacheNodeType | The cache node type for the reserved cache nodes. |
| AttrDuration | The duration of the reservation in seconds. |
| AttrFixedPrice | The fixed price charged for this reserved cache node. |
| AttrOfferingType | The offering type of this reserved cache node. |
| AttrProductDescription | The description of the reserved cache node. |
| AttrRecurringCharges | The recurring price charged to run this reserved cache node. |
| AttrReservationArn | The Amazon Resource Name (ARN) of the reserved cache node. |
| AttrReservedCacheNodeId | The unique identifier for the reservation. |
| AttrReservedCacheNodesOfferingId | The offering identifier. |
| AttrStartTime | The time the reservation started. |
| AttrState | The state of the reserved cache node. |
| AttrTags | A list of tags. |
| AttrUsagePrice | The hourly price charged for this reserved cache node. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | Represents an Amazon ElastiCache Reserved Cache Node. |
| CfnPropertyNames | Represents an Amazon ElastiCache Reserved Cache Node. |
| ReservedCacheNodeRef | A reference to a ReservedCacheNode resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnReservedCacheNode(object) | Checks whether the given object is a CfnReservedCacheNode. |
| RenderProperties(IDictionary<string, object>) | Represents an Amazon ElastiCache Reserved Cache Node. |
Constructors
CfnReservedCacheNode(Construct, string, ICfnReservedCacheNodeProps?)
Create a new AWS::ElastiCache::ReservedCacheNode.
public CfnReservedCacheNode(Construct scope, string id, ICfnReservedCacheNodeProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnReservedCacheNodeProps
Resource properties.
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
Properties
AttrCacheNodeCount
The number of cache nodes that have been reserved.
public virtual double AttrCacheNodeCount { get; }
Property Value
Remarks
CloudformationAttribute: CacheNodeCount
AttrCacheNodeType
The cache node type for the reserved cache nodes.
public virtual string AttrCacheNodeType { get; }
Property Value
Remarks
CloudformationAttribute: CacheNodeType
AttrDuration
The duration of the reservation in seconds.
public virtual double AttrDuration { get; }
Property Value
Remarks
CloudformationAttribute: Duration
AttrFixedPrice
The fixed price charged for this reserved cache node.
public virtual IResolvable AttrFixedPrice { get; }
Property Value
Remarks
CloudformationAttribute: FixedPrice
AttrOfferingType
The offering type of this reserved cache node.
public virtual string AttrOfferingType { get; }
Property Value
Remarks
CloudformationAttribute: OfferingType
AttrProductDescription
The description of the reserved cache node.
public virtual string AttrProductDescription { get; }
Property Value
Remarks
CloudformationAttribute: ProductDescription
AttrRecurringCharges
The recurring price charged to run this reserved cache node.
public virtual IResolvable AttrRecurringCharges { get; }
Property Value
Remarks
CloudformationAttribute: RecurringCharges
AttrReservationArn
The Amazon Resource Name (ARN) of the reserved cache node.
public virtual string AttrReservationArn { get; }
Property Value
Remarks
CloudformationAttribute: ReservationARN
AttrReservedCacheNodeId
The unique identifier for the reservation.
public virtual string AttrReservedCacheNodeId { get; }
Property Value
Remarks
CloudformationAttribute: ReservedCacheNodeId
AttrReservedCacheNodesOfferingId
The offering identifier.
public virtual string AttrReservedCacheNodesOfferingId { get; }
Property Value
Remarks
CloudformationAttribute: ReservedCacheNodesOfferingId
AttrStartTime
The time the reservation started.
public virtual string AttrStartTime { get; }
Property Value
Remarks
CloudformationAttribute: StartTime
AttrState
The state of the reserved cache node.
public virtual string AttrState { get; }
Property Value
Remarks
CloudformationAttribute: State
AttrTags
A list of tags.
public virtual IResolvable AttrTags { get; }
Property Value
Remarks
CloudformationAttribute: Tags
AttrUsagePrice
The hourly price charged for this reserved cache node.
public virtual IResolvable AttrUsagePrice { get; }
Property Value
Remarks
CloudformationAttribute: UsagePrice
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
CfnProperties
Represents an Amazon ElastiCache Reserved Cache Node.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
CfnPropertyNames
Represents an Amazon ElastiCache Reserved Cache Node.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
ReservedCacheNodeRef
A reference to a ReservedCacheNode resource.
public virtual IReservedCacheNodeReference ReservedCacheNodeRef { get; }
Property Value
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
IsCfnReservedCacheNode(object)
Checks whether the given object is a CfnReservedCacheNode.
public static bool IsCfnReservedCacheNode(object x)
Parameters
- x object
Returns
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Represents an Amazon ElastiCache Reserved Cache Node.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Reserved Cache Nodes provide a discounted hourly rate compared to on-demand cache node pricing.
CloudformationResource: AWS::ElastiCache::ReservedCacheNode
ExampleMetadata: fixture=_generated