From 7d4a4d0f759cd87f8f96c179faa6a815b3cb5fd6 Mon Sep 17 00:00:00 2001 From: Julian Wood Date: Tue, 3 Sep 2024 16:37:04 +0100 Subject: [PATCH] Pattern updates --- apigw-s3-proxy/apigw-s3-proxy.json | 79 ----------------- apigw-s3-proxy/example-pattern.json | 2 +- .../example-pattern.json | 2 +- qbusiness-s3-lambda/example-pattern.json | 4 +- qbusiness-s3-lambda/qbusiness-s3-lambda.json | 85 ------------------- 5 files changed, 4 insertions(+), 168 deletions(-) delete mode 100644 apigw-s3-proxy/apigw-s3-proxy.json delete mode 100644 qbusiness-s3-lambda/qbusiness-s3-lambda.json diff --git a/apigw-s3-proxy/apigw-s3-proxy.json b/apigw-s3-proxy/apigw-s3-proxy.json deleted file mode 100644 index f11e35aff..000000000 --- a/apigw-s3-proxy/apigw-s3-proxy.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "Amazon API Gateway with a Amazon S3 integration", - "description": "Create a REST API Gateway with a S3 read-only integration", - "language": "", - "level": "200", - "framework": "SAM", - "introBox": { - "headline": "How it works", - "text": [ - "This pattern deploys an Amazon API Gateway REST API endpoint with a S3 read-only integration", - "The API exposes 3 GET methods:", - "Root GET method: it provides a list of the S3 buckets of the account where the stack is deployed.", - "{folder} GET method: it provides a list of the objects contained in the bucket {folder}", - "{item} GET method: it returns the contents of the object in Folders and Sub-folders {item+}", - "The template also deploys an IAM role with S3 read-only capabilities that is used by API Gateway to integrate with S3.", - "Since this is API Gateway effectively acts as a proxy S3, every GET method is protected by IAM authentication to prevent public access." - ] - }, - "gitHub": { - "template": { - "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-s3-proxy", - "templateURL": "serverless-patterns/apigw-s3-proxy", - "projectFolder": "apigw-s3-proxy", - "templateFile": "template.yaml" - } - }, - "resources": { - "bullets": [ - { - "text": "REST API with S3 integration", - "link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html" - } - ] - }, - "deploy": { - "text": [ - "Deploy the stack: sam deploy." - ] - }, - "testing": { - "text": [ - "Once the application is deployed, retrieve the API URL provided as output and open it in a browser page.", - "Replace the folder and item place holder with S3 bucket name and path to your file", - "Example: https://12345abcde.execute-api.{region}.amazonaws.com/Prod/mybucket/folder1/folder2/index.html" - ] - }, - "cleanup": { - "text": [ - "Delete the stack: sam delete." - ] - }, - "authors": [ - { - "name": "Vamsi Pulikonda", - "image": "https://raw.githubusercontent.com/vamsipulikonda/my-photo/main/vamsi-photo.jpg", - "bio": "I am a cloud computing enthusiast working as a Cloud Engineer at Amazon Web Services.", - "linkedin": "vamsipulikonda" - } - ], - "patternArch": { - "icon1": { - "x": 20, - "y": 50, - "service": "apigw", - "label": "API Gateway REST API" - }, - "icon2": { - "x": 80, - "y": 50, - "service": "s3", - "label": "Amazon S3" - }, - "line1": { - "from": "icon1", - "to": "icon2", - "label": "" - } - } -} diff --git a/apigw-s3-proxy/example-pattern.json b/apigw-s3-proxy/example-pattern.json index 193996dba..d023948aa 100644 --- a/apigw-s3-proxy/example-pattern.json +++ b/apigw-s3-proxy/example-pattern.json @@ -1,5 +1,5 @@ { - "title": "Amazon API Gateway with a S3 integration", + "title": "Amazon API Gateway with an S3 integration", "description": "Create a REST API Gateway with a S3 read-only integration", "language": "", "level": "200", diff --git a/appsync-bedrock-streaming-sam/example-pattern.json b/appsync-bedrock-streaming-sam/example-pattern.json index e2f7da984..e4f4df0a5 100644 --- a/appsync-bedrock-streaming-sam/example-pattern.json +++ b/appsync-bedrock-streaming-sam/example-pattern.json @@ -1,5 +1,5 @@ { - "title": "Amazon Bedrock Streaming with AWS AppSync", + "title": "Amazon Bedrock streaming with AWS AppSync", "description": "Stream Amazon Bedrock responses with AWS AppSync", "language": "YAML", "level": "200", diff --git a/qbusiness-s3-lambda/example-pattern.json b/qbusiness-s3-lambda/example-pattern.json index 8c5a1ba2e..15c97d7ba 100644 --- a/qbusiness-s3-lambda/example-pattern.json +++ b/qbusiness-s3-lambda/example-pattern.json @@ -1,6 +1,6 @@ { - "title": "Q Business to S3", - "description": "Amazon Q Business to build a generative AI application to derive insights from content present in an S3 bucket.", + "title": "Amazon Q Business to Amazon S3", + "description": "Use Amazon Q Business to build a generative AI application to derive insights from content present in an S3 bucket.", "language": "Python", "level": "200", "framework": "SAM", diff --git a/qbusiness-s3-lambda/qbusiness-s3-lambda.json b/qbusiness-s3-lambda/qbusiness-s3-lambda.json deleted file mode 100644 index 7e941a5dc..000000000 --- a/qbusiness-s3-lambda/qbusiness-s3-lambda.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "Amazon Q Business to S3", - "description": "Use Amazon Q Business to build a generative AI application to derive insights from content present in an S3 bucket.", - "language": "Python", - "level": "200", - "framework": "SAM", - "introBox": { - "headline": "How it works", - "text": [ - "Amazon Q Business Application: Amazon Q Business application created with S3 as the data source.", - "Amazon S3: S3 bucket that contains documents to be indexed.", - "AWS Lambda: AWS Lambda function `DataSourceSync` crawls and indexes the content from the S3 bucket. The Amazon Q Business application retrieves data from the indexed content and provides a generated response." - ] - }, - "gitHub": { - "template": { - "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/qbusiness-s3-lambda", - "templateURL": "serverless-patterns/qbusiness-s3-lambda", - "projectFolder": "qbusiness-s3-lambda", - "templateFile": "template.yaml" - } - }, - "resources": { - "bullets": [ - { - "text": "Amazon Q Business - AI Assistant for Enterprise", - "link": "https://aws.amazon.com/q/business/" - }, - { - "text": "Discover insights with Amazon Q S3 connector", - "link": "https://aws.amazon.com/blogs/machine-learning/discover-insights-from-amazon-s3-with-amazon-q-s3-connector/" - } - ] - }, - "deploy": { - "text": [ - "sam deploy --guided --capabilities CAPABILITY_NAMED_IAM" - ] - }, - "testing": { - "text": [ - "See the GitHub repo for detailed testing instructions." - ] - }, - "cleanup": { - "text": [ - "Delete the stack: sam delete." - ] - }, - "authors": [ - { - "name": "Kruthi Jayasimha Rao", - "bio": "Kruthi is a Partner Solutions Architect with a focus in Generative AI. She provides technical guidance to AWS Partners in following best practices to build secure, resilient, and highly available solutions in the AWS Cloud.", - "linkedin": "kruthi-jayasimha-rao-132a78167" - } - ], - "patternArch": { - "icon1": { - "x": 20, - "y": 50, - "service": "q", - "label": "Amazon Q Business" - }, - "icon2": { - "x": 50, - "y": 50, - "service": "s3", - "label": "Amazon S3" - }, - "icon3": { - "x": 80, - "y": 50, - "service": "lambda", - "label": "AWS Lambda" - }, - "line1": { - "from": "icon1", - "to": "icon2" - }, - "line2": { - "from": "icon2", - "to": "icon3" - } - } -}