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(s3): Introduce S3 Inventory #9102

Merged
merged 15 commits into from
Aug 3, 2020
Merged

feat(s3): Introduce S3 Inventory #9102

merged 15 commits into from
Aug 3, 2020

Conversation

arnulfojr
Copy link
Contributor

@arnulfojr arnulfojr commented Jul 16, 2020

Resolves #8154


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

@arnulfojr arnulfojr requested a review from iliapolo July 20, 2020 10:46
@iliapolo iliapolo added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Jul 20, 2020
@arnulfojr arnulfojr requested a review from iliapolo July 22, 2020 12:56
@arnulfojr
Copy link
Contributor Author

@iliapolo any updates?

@iliapolo
Copy link
Contributor

@arnulfojr Sorry, haven't forgotten. I'll get to it shortly.

]
});
```

Copy link
Contributor

Choose a reason for hiding this comment

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

Lets also document the necessary policy document that the destination bucket should have. Something like:

Permissions

If the destination bucket is created as part of the same CDK application, The necessary permissions will be automatically added to the bucket policy. However, if you use an imported bucket (i.e Bucket.fromXXX()), you'll have to make sure it contains the following policy document:

<POLICY_HERE>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would it be better to add a link to the official documentation rather than adding a sample policy? or both?

https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html#example-bucket-policies-use-case-9

Copy link
Contributor

Choose a reason for hiding this comment

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

Documentation link would suffice

@mergify mergify bot dismissed iliapolo’s stale review July 29, 2020 13:07

Pull request has been modified.

@arnulfojr arnulfojr requested a review from iliapolo July 29, 2020 13:07
@iliapolo iliapolo changed the title feat(aws-s3): Introduce S3 Inventory feat(s3): Introduce S3 Inventory Aug 3, 2020
@iliapolo
Copy link
Contributor

iliapolo commented Aug 3, 2020

@arnulfojr Looks great - thanks!

@mergify
Copy link
Contributor

mergify bot commented Aug 3, 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: 401618b
  • 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 Aug 3, 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 b0f359e into aws:master Aug 3, 2020
curtiseppel pushed a commit to curtiseppel/aws-cdk that referenced this pull request Aug 11, 2020
Resolves aws#8154

----

*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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for S3 Bucket Inventory
3 participants