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, ITaggable
Syntax (vb)
Public Class CfnParameterGroup
Inherits CfnResource
Implements IInspectable, 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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnParameterGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnParameterGroup(Construct, String, ICfnParameterGroupProps) |
Properties
AttrId | |
CacheParameterGroupFamily | The name of the cache parameter group family that this cache parameter group is compatible with. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description for this cache parameter group. |
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
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnParameterGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnParameterGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnParameterGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnParameterGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnParameterGroup(Construct, String, ICfnParameterGroupProps)
public CfnParameterGroup(Construct scope, string id, ICfnParameterGroupProps 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 ICfnParameterGroupProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
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
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description for this cache parameter group.
public virtual string Description { get; set; }
Property Value
System.String
Properties
A comma-delimited list of parameter name/value pairs.
public virtual object Properties { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A tag that can be added to an ElastiCache parameter group.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>