Class ClusterParameterGroup
(experimental) A cluster parameter group.
Inherited Members
Namespace: Amazon.CDK.AWS.Neptune.Alpha
Assembly: Amazon.CDK.AWS.Neptune.Alpha.dll
Syntax (csharp)
public class ClusterParameterGroup : Resource, IClusterParameterGroup, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class ClusterParameterGroup Inherits Resource Implements IClusterParameterGroup, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
Resource: AWS::Neptune::DBClusterParameterGroup
ExampleMetadata: infused
Examples
var clusterParams = new ClusterParameterGroup(this, "ClusterParams", new ClusterParameterGroupProps {
Description = "Cluster parameter group",
Parameters = new Dictionary<string, string> {
{ "neptune_enable_audit_log", "1" }
}
});
var dbParams = new ParameterGroup(this, "DbParams", new ParameterGroupProps {
Description = "Db parameter group",
Parameters = new Dictionary<string, string> {
{ "neptune_query_timeout", "120000" }
}
});
var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
Vpc = vpc,
InstanceType = InstanceType.R5_LARGE,
ClusterParameterGroup = clusterParams,
ParameterGroup = dbParams
});
Synopsis
Constructors
| ClusterParameterGroup(Construct, string, IClusterParameterGroupProps) | (experimental) A cluster parameter group. |
Properties
| ClusterParameterGroupName | (experimental) The name of the parameter group. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
| FromClusterParameterGroupName(Construct, string, string) | (experimental) Imports a parameter group. |
Constructors
ClusterParameterGroup(Construct, string, IClusterParameterGroupProps)
(experimental) A cluster parameter group.
public ClusterParameterGroup(Construct scope, string id, IClusterParameterGroupProps props)
Parameters
- scope Construct
- id string
- props IClusterParameterGroupProps
Remarks
Stability: Experimental
Properties
ClusterParameterGroupName
(experimental) The name of the parameter group.
public virtual string ClusterParameterGroupName { get; }
Property Value
Remarks
Stability: Experimental
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromClusterParameterGroupName(Construct, string, string)
(experimental) Imports a parameter group.
public static IClusterParameterGroup FromClusterParameterGroupName(Construct scope, string id, string clusterParameterGroupName)
Parameters
Returns
Remarks
Stability: Experimental
Implements
Constructs.IConstruct
Constructs.IDependable