-
Notifications
You must be signed in to change notification settings - Fork 4.5k
redshift: dynamically add key/value pairs to parameter groups and clusters #20656
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-redshiftRelated to Amazon RedshiftRelated to Amazon Redshifteffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
This feature would allow users to use a helper method to directly add parameters to a ClusterParameterGroup or indirectly through a Cluster.
Use Case
-
I have several environments where I would like to conditionally add parameters to my cluster's parameter group based on environment specifics (dev,prod,etc)
-
I have a construct for my customers where they supply their own Redshift cluster with their own configurations, but I would like to add certain parameters to the cluster parameter group for compliance reasons
Proposed Solution
-
Add an
addParametermethod to IClusterParameterGroup- return a
AddParameterResult(similar to AddToResourcePolicyResult) on whether the Key/Value was successfully added (would likey be false for a duplicate Key or Imported Parameter Group)
- return a
-
Add an
addToParameterGroupmethod to Cluster- If the cluster does not have an associated parameter group, create one
- return a
AddParameterResult(similar to AddToResourcePolicyResult) on whether the Key/Value was successfully added (would likey be false for a duplicate Key or Imported Parameter Group)
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.27.0
Environment details (OS name and version, etc.)
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-redshiftRelated to Amazon RedshiftRelated to Amazon Redshifteffort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2