Class CfnServerlessCache
The resource representing a serverless cache.
Inherited Members
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServerlessCache : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnServerlessCache
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
CloudformationResource: AWS::ElastiCache::ServerlessCache
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 cfnServerlessCache = new CfnServerlessCache(this, "MyCfnServerlessCache", new CfnServerlessCacheProps {
Engine = "engine",
ServerlessCacheName = "serverlessCacheName",
// the properties below are optional
CacheUsageLimits = new CacheUsageLimitsProperty {
DataStorage = new DataStorageProperty {
Unit = "unit",
// the properties below are optional
Maximum = 123,
Minimum = 123
},
EcpuPerSecond = new ECPUPerSecondProperty {
Maximum = 123,
Minimum = 123
}
},
DailySnapshotTime = "dailySnapshotTime",
Description = "description",
Endpoint = new EndpointProperty {
Address = "address",
Port = "port"
},
FinalSnapshotName = "finalSnapshotName",
KmsKeyId = "kmsKeyId",
MajorEngineVersion = "majorEngineVersion",
ReaderEndpoint = new EndpointProperty {
Address = "address",
Port = "port"
},
SecurityGroupIds = new [] { "securityGroupIds" },
SnapshotArnsToRestore = new [] { "snapshotArnsToRestore" },
SnapshotRetentionLimit = 123,
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UserGroupId = "userGroupId"
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The Amazon Resource Name (ARN) of the serverless cache. |
Attr |
When the serverless cache was created. |
Attr |
The DNS hostname of the cache node. |
Attr |
The port number that the cache engine is listening on. |
Attr |
The name and version number of the engine the serverless cache is compatible with. |
Attr |
The DNS hostname of the cache node. |
Attr |
The port number that the cache engine is listening on. |
Attr |
The current status of the serverless cache. |
Cache |
The cache usage limit for the serverless cache. |
Cdk |
Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Daily |
The daily time that a cache snapshot will be created. |
Description | A description of the serverless cache. |
Endpoint | Represents the information required for client programs to connect to a cache node. |
Engine | The engine the serverless cache is compatible with. |
Final |
The name of the final snapshot taken of a cache before the cache is deleted. |
Kms |
The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache. |
Major |
The version number of the engine the serverless cache is compatible with. |
Reader |
Represents the information required for client programs to connect to a cache node. |
Security |
The IDs of the EC2 security groups associated with the serverless cache. |
Serverless |
The unique identifier of the serverless cache. |
Snapshot |
The ARN of the snapshot from which to restore data into the new cache. |
Snapshot |
The current setting for the number of serverless cache snapshots the system will retain. |
Subnet |
If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC. |
Tags | A list of tags to be added to this resource. |
User |
The identifier of the user group associated with the serverless cache. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnServerlessCache(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnServerlessCache(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnServerlessCache(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnServerlessCache(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnServerlessCache(Construct, String, ICfnServerlessCacheProps)
public CfnServerlessCache(Construct scope, string id, ICfnServerlessCacheProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Serverless Cache Props Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the serverless cache.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: ARN
AttrCreateTime
When the serverless cache was created.
public virtual string AttrCreateTime { get; }
Property Value
System.
Remarks
CloudformationAttribute: CreateTime
AttrEndpointAddress
The DNS hostname of the cache node.
public virtual string AttrEndpointAddress { get; }
Property Value
System.
Remarks
CloudformationAttribute: Endpoint.Address
AttrEndpointPort
The port number that the cache engine is listening on.
public virtual string AttrEndpointPort { get; }
Property Value
System.
Remarks
CloudformationAttribute: Endpoint.Port
AttrFullEngineVersion
The name and version number of the engine the serverless cache is compatible with.
public virtual string AttrFullEngineVersion { get; }
Property Value
System.
Remarks
CloudformationAttribute: FullEngineVersion
AttrReaderEndpointAddress
The DNS hostname of the cache node.
public virtual string AttrReaderEndpointAddress { get; }
Property Value
System.
Remarks
CloudformationAttribute: ReaderEndpoint.Address
AttrReaderEndpointPort
The port number that the cache engine is listening on.
public virtual string AttrReaderEndpointPort { get; }
Property Value
System.
Remarks
CloudformationAttribute: ReaderEndpoint.Port
AttrStatus
The current status of the serverless cache.
public virtual string AttrStatus { get; }
Property Value
System.
Remarks
The allowed values are CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.
CloudformationAttribute: Status
CacheUsageLimits
The cache usage limit for the serverless cache.
public virtual object CacheUsageLimits { get; set; }
Property Value
System.
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
DailySnapshotTime
The daily time that a cache snapshot will be created.
public virtual string DailySnapshotTime { get; set; }
Property Value
System.
Description
A description of the serverless cache.
public virtual string Description { get; set; }
Property Value
System.
Endpoint
Represents the information required for client programs to connect to a cache node.
public virtual object Endpoint { get; set; }
Property Value
System.
Engine
The engine the serverless cache is compatible with.
public virtual string Engine { get; set; }
Property Value
System.
FinalSnapshotName
The name of the final snapshot taken of a cache before the cache is deleted.
public virtual string FinalSnapshotName { get; set; }
Property Value
System.
KmsKeyId
The ID of the AWS Key Management Service (KMS) key that is used to encrypt data at rest in the serverless cache.
public virtual string KmsKeyId { get; set; }
Property Value
System.
MajorEngineVersion
The version number of the engine the serverless cache is compatible with.
public virtual string MajorEngineVersion { get; set; }
Property Value
System.
ReaderEndpoint
Represents the information required for client programs to connect to a cache node.
public virtual object ReaderEndpoint { get; set; }
Property Value
System.
SecurityGroupIds
The IDs of the EC2 security groups associated with the serverless cache.
public virtual string[] SecurityGroupIds { get; set; }
Property Value
System.
ServerlessCacheName
The unique identifier of the serverless cache.
public virtual string ServerlessCacheName { get; set; }
Property Value
System.
SnapshotArnsToRestore
The ARN of the snapshot from which to restore data into the new cache.
public virtual string[] SnapshotArnsToRestore { get; set; }
Property Value
System.
SnapshotRetentionLimit
The current setting for the number of serverless cache snapshots the system will retain.
public virtual Nullable<double> SnapshotRetentionLimit { get; set; }
Property Value
System.
SubnetIds
If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC.
public virtual string[] SubnetIds { get; set; }
Property Value
System.
Tags
A list of tags to be added to this resource.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfn
UserGroupId
The identifier of the user group associated with the serverless cache.
public virtual string UserGroupId { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.