Class ParameterGroup
A parameter group.
Inherited Members
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class ParameterGroup : Resource, IParameterGroup, IResource, IConstruct, IConstruct, IDependable
Syntax (vb)
Public Class ParameterGroup
Inherits Resource
Implements IParameterGroup, IResource, IConstruct, IConstruct, IDependable
Remarks
Represents both a cluster parameter group, and an instance parameter group.
Resource: AWS::RDS::DBParameterGroup
Synopsis
Constructors
ParameterGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ParameterGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ParameterGroup(Construct, String, IParameterGroupProps) |
Methods
AddParameter(String, String) | Add a parameter to this parameter group. |
BindToCluster(IParameterGroupClusterBindOptions) | Method called when this Parameter Group is used when defining a database cluster. |
BindToInstance(IParameterGroupInstanceBindOptions) | Method called when this Parameter Group is used when defining a database instance. |
FromParameterGroupName(Construct, String, String) | Imports a parameter group. |
Constructors
ParameterGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ParameterGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ParameterGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ParameterGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ParameterGroup(Construct, String, IParameterGroupProps)
public ParameterGroup(Construct scope, string id, IParameterGroupProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IParameterGroupProps
Methods
AddParameter(String, String)
Add a parameter to this parameter group.
public virtual bool AddParameter(string key, string value)
Parameters
- key System.String
The key of the parameter to be added.
- value System.String
The value of the parameter to be added.
Returns
System.Boolean
BindToCluster(IParameterGroupClusterBindOptions)
Method called when this Parameter Group is used when defining a database cluster.
public virtual IParameterGroupClusterConfig BindToCluster(IParameterGroupClusterBindOptions options)
Parameters
Returns
BindToInstance(IParameterGroupInstanceBindOptions)
Method called when this Parameter Group is used when defining a database instance.
public virtual IParameterGroupInstanceConfig BindToInstance(IParameterGroupInstanceBindOptions options)
Parameters
Returns
FromParameterGroupName(Construct, String, String)
Imports a parameter group.
public static IParameterGroup FromParameterGroupName(Construct scope, string id, string parameterGroupName)
Parameters
- scope Constructs.Construct
- id System.String
- parameterGroupName System.String
Returns