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

New serverless pattern - Access Bedrock via API Gateway with Cognito User Management #2064

Conversation

Inthuson
Copy link
Contributor

@Inthuson Inthuson commented Jan 23, 2024

Issue #, if available: #2065

Description of changes:
This pattern creates an AWS CDK Python application to access Bedrock via API Gateway with Cognito user management, domain restriction, API request throttling, and quota limits.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@undefined looks like you are missing the example-pattern.json file in your pattern.

You can find the example-pattern template here.

The file is used on ServerlessLand and is required. Once the file is added we can review the pattern.

@Inthuson
Copy link
Contributor Author

example-pattern.json has been named as apigw-bedrock-cognito-cdk-pattern.json

@pputhran
Copy link
Contributor

@Inthuson thanks for the submission. example-pattern.json is a required file. Can you please either rename apigw-bedrock-cognito-cdk-pattern.json to example-pattern.json OR copy over the contents from apigw-bedrock-cognito-cdk-pattern.json to example-pattern.json ?

@Inthuson
Copy link
Contributor Author

@pputhran - renamed the file to example-pattern.json

Copy link

@undefined your 'example-pattern.json' is missing some key fields, please review below and address any errors you have

  1. authors[0].linkedin: authors[0].linkedin. Please remove the URL in this property, only include the ID to your LinkedIn profile.

If you need any help, take a look at the example-pattern file.

Make the changes, and push your changes back to this pull request. When all automated checks are successful, the Serverless DA team will process your pull request.

@Inthuson
Copy link
Contributor Author

Removed LinkedIn URL

Copy link

github-actions bot commented Feb 4, 2024

Valid pattern file found.

Reviewer you can view the pattern file here

apigw-bedrock-cognito-cdk/example-pattern.json Outdated Show resolved Hide resolved
Changed to US English spelling
@boyney123 boyney123 merged commit 9488d26 into aws-samples:main Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants