Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rds): performance insights for DatabaseCluster instances #10092

Merged
merged 7 commits into from
Sep 2, 2020

Conversation

njlynch
Copy link
Contributor

@njlynch njlynch commented Sep 1, 2020

Adds the EnablePerformanceInsights and related props to InstanceProps for
instances within a cluster.

Note: I opted not to try to coalesce InstanceProps,
DatabaseInstanceNewProps, and DatabaseInstanceSourceProps in this PR; there
are a ton of overlapping properties, but it's not immediately clear which fields
are relevant for cluster instances vs standalone instances. I think
investigating and validiting how to combine these is a significantly larger
task.

fixes #7957


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Adds the EnablePerformanceInsights and related props to `InstanceProps` for
instances within a cluster.

_Note:_ I opted not to try to coalesce `InstanceProps`,
`DatabaseInstanceNewProps`, and `DatabaseInstanceSourceProps` in this PR; there
are a ton of overlapping properties, but it's not immediately clear which fields
are relevant for cluster instances vs standalone instances. I think
investigating and validiting how to combine these is a significantly larger
task.

fixes #7957
@njlynch njlynch requested a review from a team September 1, 2020 11:19
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 1, 2020
@njlynch njlynch added the pr-linter/exempt-readme The PR linter will not require README changes label Sep 1, 2020
@skinny85 skinny85 added the pr/do-not-merge This PR should not be merged at this time. label Sep 1, 2020
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one comment/idea.

packages/@aws-cdk/aws-rds/lib/cluster.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-rds/lib/props.ts Show resolved Hide resolved
packages/@aws-cdk/aws-rds/lib/props.ts Show resolved Hide resolved
packages/@aws-cdk/aws-rds/lib/cluster.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

packages/@aws-cdk/aws-rds/test/test.instance.ts Outdated Show resolved Hide resolved
cluster->instance

Co-authored-by: Adam Ruka <adamruka@amazon.com>
@njlynch njlynch removed the pr/do-not-merge This PR should not be merged at this time. label Sep 2, 2020
@mergify
Copy link
Contributor

mergify bot commented Sep 2, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 3da791c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Sep 2, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 9c1b0c1 into master Sep 2, 2020
@mergify mergify bot deleted the njlynch/rds-EnablePerformanceInsights branch September 2, 2020 16:49
mergify bot pushed a commit that referenced this pull request Sep 24, 2020
…stances (#10324)

fixes #9926

Added the following parameters to DatabaseCluster.
* AutoMinorVersionUpgrade
* AllowMajorVersionUpgrade
* DeleteAutomatedBackups

#10092 as a reference, only defined simple parameters.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. pr-linter/exempt-readme The PR linter will not require README changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add EnablePerformanceInsights to InstanceProps type
3 participants