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(glue): SecurityConfiguration construct #12450

Merged
merged 16 commits into from
Feb 15, 2021
Merged

feat(glue): SecurityConfiguration construct #12450

merged 16 commits into from
Feb 15, 2021

Conversation

humanzz
Copy link
Contributor

@humanzz humanzz commented Jan 10, 2021

Closes #12449


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

@gitpod-io
Copy link

gitpod-io bot commented Jan 10, 2021

@github-actions github-actions bot added the @aws-cdk/aws-glue Related to AWS Glue label Jan 10, 2021
@humanzz humanzz marked this pull request as ready for review January 11, 2021 08:16
@humanzz
Copy link
Contributor Author

humanzz commented Jan 11, 2021

I am working to add integration tests. This is making me realize some changes are needed to the construct which I'll refactor in addition to the integ tests

humanzz and others added 6 commits January 11, 2021 14:01
- S3Encryptions in CloudFormation accepts an array of max length 1, otherwise CloudFormation deployment fails with "S3 EncryptionConfiguration list cannot be greater than one"
- Based on that, change SecurityConfigurationProps to expose a single S3Encryption configuration instead of an array
- Add checks on props to ensure and throw exception otherwise
  - At least one of the encryption configurations (s3, cloudwatch, jobs bookmarks) is provided otherwise CloudFormation deployment fails
  - kmsKey cannot be empty if the encryption mode requires a kms key
enum constants are chosen to be consistent with similar enum in table.ts
This was referenced Jan 14, 2021
@iliapolo iliapolo changed the title feat(aws-glue): add SecurityConfiguration construct feat(glue): add SecurityConfiguration construct Jan 15, 2021
packages/@aws-cdk/aws-glue/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-glue/lib/security-configuration.ts Outdated Show resolved Hide resolved
@iliapolo iliapolo added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Feb 15, 2021
- remove DISABLED from enums
- auto-create and expose a kms key if one is not provided
- fix README.md
@mergify mergify bot dismissed iliapolo’s stale review February 15, 2021 14:08

Pull request has been modified.

@iliapolo
Copy link
Contributor

@humanzz When you're ready for another round - just re-request the review, cool?

@humanzz
Copy link
Contributor Author

humanzz commented Feb 15, 2021

@humanzz When you're ready for another round - just re-request the review, cool?

ready and re-requested the review :)

@iliapolo iliapolo changed the title feat(glue): add SecurityConfiguration construct feat(glue): SecurityConfiguration construct Feb 15, 2021
iliapolo
iliapolo previously approved these changes Feb 15, 2021
@iliapolo iliapolo removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Feb 15, 2021
@mergify mergify bot dismissed iliapolo’s stale review February 15, 2021 18:12

Pull request has been modified.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: ebfc02a
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: df0fdae
  • 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 Feb 15, 2021

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 0a8e681 into aws:master Feb 15, 2021
NovakGu pushed a commit to NovakGu/aws-cdk that referenced this pull request Feb 18, 2021
Closes aws#12449

----

*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
@aws-cdk/aws-glue Related to AWS Glue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(aws-glue): add SecurityConfiguration construct
3 participants