Class CfnParameterGroup
The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
Inherited Members
Namespace: Amazon.CDK.AWS.ElastiCache
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnParameterGroup : CfnResource, IInspectable, IParameterGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnParameterGroup Inherits CfnResource Implements IInspectable, IParameterGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
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 cfnParameterGroup = new CfnParameterGroup(this, "MyCfnParameterGroup", new CfnParameterGroupProps {
CacheParameterGroupFamily = "cacheParameterGroupFamily",
Description = "description",
// the properties below are optional
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
| CfnParameterGroup(Construct, string, ICfnParameterGroupProps) | Create a new |
Properties
| AttrCacheParameterGroupName | A user-specified name for the cache parameter group. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CacheParameterGroupFamily | The name of the cache parameter group family that this cache parameter group is compatible with. |
| CfnProperties | The |
| CfnPropertyNames | The |
| Description | The description for this cache parameter group. |
| ParameterGroupRef | A reference to a ParameterGroup resource. |
| Properties | A comma-delimited list of parameter name/value pairs. |
| Tags | Tag Manager which manages the tags for this resource. |
| TagsRaw | A tag that can be added to an ElastiCache parameter group. |
Methods
| ArnForParameterGroup(IParameterGroupRef) | The |
| FromCacheParameterGroupName(Construct, string, string) | Creates a new IParameterGroupRef from a cacheParameterGroupName. |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnParameterGroup(object) | Checks whether the given object is a CfnParameterGroup. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnParameterGroup(Construct, string, ICfnParameterGroupProps)
Create a new AWS::ElastiCache::ParameterGroup.
public CfnParameterGroup(Construct scope, string id, ICfnParameterGroupProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnParameterGroupProps
Resource properties.
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
Properties
AttrCacheParameterGroupName
A user-specified name for the cache parameter group.
public virtual string AttrCacheParameterGroupName { get; }
Property Value
Remarks
CloudformationAttribute: CacheParameterGroupName
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
CacheParameterGroupFamily
The name of the cache parameter group family that this cache parameter group is compatible with.
public virtual string CacheParameterGroupFamily { get; set; }
Property Value
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
CfnPropertyNames
The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
Description
The description for this cache parameter group.
public virtual string Description { get; set; }
Property Value
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
ParameterGroupRef
A reference to a ParameterGroup resource.
public virtual IParameterGroupReference ParameterGroupRef { get; }
Property Value
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
Properties
A comma-delimited list of parameter name/value pairs.
public virtual object? Properties { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
TagsRaw
A tag that can be added to an ElastiCache parameter group.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
Methods
ArnForParameterGroup(IParameterGroupRef)
The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
public static string ArnForParameterGroup(IParameterGroupRef resource)
Parameters
- resource IParameterGroupRef
Returns
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
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 cfnParameterGroup = new CfnParameterGroup(this, "MyCfnParameterGroup", new CfnParameterGroupProps {
CacheParameterGroupFamily = "cacheParameterGroupFamily",
Description = "description",
// the properties below are optional
Properties = new Dictionary<string, string> {
{ "propertiesKey", "properties" }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
FromCacheParameterGroupName(Construct, string, string)
Creates a new IParameterGroupRef from a cacheParameterGroupName.
public static IParameterGroupRef FromCacheParameterGroupName(Construct scope, string id, string cacheParameterGroupName)
Parameters
Returns
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
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
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
IsCfnParameterGroup(object)
Checks whether the given object is a CfnParameterGroup.
public static bool IsCfnParameterGroup(object x)
Parameters
- x object
Returns
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
Cache parameter groups control the parameters for a cache cluster.
CloudformationResource: AWS::ElastiCache::ParameterGroup
ExampleMetadata: fixture=_generated