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(apigateway): import API keys #9155

Merged
merged 11 commits into from
Aug 4, 2020
Merged

Conversation

corymhall
Copy link
Contributor

add fromApiKeyId import method to the ApiKey construct

closes #8367

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

add fromApiKeyId import method to the ApiKey construct. this will allow you to use a centrally
created api key across multiple apigateways that exist in separate cdk apps

closes #8367
nija-at
nija-at previously requested changes Aug 4, 2020
Copy link
Contributor

@nija-at nija-at left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this PR. The code changes look good.

I just have some adjustments to the documentation.

packages/@aws-cdk/aws-apigateway/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-apigateway/README.md Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-apigateway/lib/api-key.ts Outdated Show resolved Hide resolved
@nija-at nija-at changed the title feat(apigateway): add import method to ApiKey construct feat(apigateway): import ApiKey Aug 4, 2020
@nija-at nija-at changed the title feat(apigateway): import ApiKey feat(apigateway): import API keys Aug 4, 2020
corymhall and others added 2 commits August 4, 2020 10:42
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
@mergify mergify bot dismissed nija-at’s stale review August 4, 2020 14:42

Pull request has been modified.

corymhall and others added 3 commits August 4, 2020 10:42
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
@corymhall
Copy link
Contributor Author

@nija-at thanks for the review! All changes have been made.

@mergify
Copy link
Contributor

mergify bot commented Aug 4, 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: 1259008
  • 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 4, 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 e3f6ae3 into aws:master Aug 4, 2020
eladb pushed a commit that referenced this pull request Aug 10, 2020
add fromApiKeyId import method to the ApiKey construct

closes #8367

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
curtiseppel pushed a commit to curtiseppel/aws-cdk that referenced this pull request Aug 11, 2020
add fromApiKeyId import method to the ApiKey construct

closes aws#8367

*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.

[apigateway] Reference existing API Key in usagePlan.addApiKey() via ID or similar
4 participants