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(backup): support for advancedBackupSettings #14891

Closed
wants to merge 1 commit into from

Conversation

Patil2099
Copy link

Fixes #14803

@gitpod-io
Copy link

gitpod-io bot commented May 27, 2021

@mergify
Copy link
Contributor

mergify bot commented May 27, 2021

Title does not follow the guidelines of Conventional Commits. Please adjust title before merge.

@Patil2099
Copy link
Author

Can you please review this @MrArnoldPalmer ?

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 22f5631
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@MrArnoldPalmer MrArnoldPalmer self-assigned this May 27, 2021
@BenChaimberg BenChaimberg changed the title (aws backup): Support for advancedBackupSettings feat(backup): support for advancedBackupSettings May 28, 2021
Copy link
Contributor

@BenChaimberg BenChaimberg left a comment

Choose a reason for hiding this comment

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

Please consult the contributing guide for the requirements for pull requests in this repository.

In particular, please address the following issues:

  • PRs should be named following the conventional commit specification (I fixed this for you already)
  • public interfaces must have associated documentation
  • new features must add to the README
  • changes should modify or create tests
  • build must pass

Besides these (somewhat) administrative issues, I'm not sure if this is the correct solution to implement #14803. Given that the only supported key for BackupOptions is "WindowsVSS", adding a property like "windowsVssBackup?: boolean" and generating the correct options will be more literate to the user.

@@ -27,6 +27,7 @@ export interface BackupPlanProps {
* @default - A CDK generated name
*/
readonly backupPlanName?: string;
readonly backupOptions? : object;
Copy link
Contributor

Choose a reason for hiding this comment

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

public interface properties require documentation

@@ -125,6 +126,7 @@ export class BackupPlan extends Resource implements IBackupPlan {
const plan = new CfnBackupPlan(this, 'Resource', {
backupPlan: {
backupPlanName: props.backupPlanName || id,
backupOptions: props.backupOptions || {},
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not the correct location for this value, please consult the documentation for this resource.

@BenChaimberg BenChaimberg added the @aws-cdk/aws-backup Related AWS Backup label May 28, 2021
mergify bot pushed a commit that referenced this pull request Dec 1, 2021
Closes #14803.
Reference Pull Request : #14891 

Lets you set the 'WindowsVss' option when you create a new backup plan like this:

```ts
const plan = new BackupPlan(stack, 'Plan', {
  windowsVss: true,
});
```
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Closes aws#14803.
Reference Pull Request : aws#14891 

Lets you set the 'WindowsVss' option when you create a new backup plan like this:

```ts
const plan = new BackupPlan(stack, 'Plan', {
  windowsVss: true,
});
```
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@rix0rrr rix0rrr added feature-request A feature should be added or improved. p2 and removed @aws-cdk/aws-backup Related AWS Backup labels Mar 4, 2022
@TheRealAmazonKendra
Copy link
Contributor

This PR has been deemed to be abandoned, and will be closed. Please create a new PR for these changes if you think this decision has been made in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(backup): Support for advancedBackupSettings
6 participants