|
1 | | - { |
| 1 | +{ |
2 | 2 | "title": "AWS Lambda function subscribed to an Amazon MSK topic using IAM auth", |
3 | 3 | "description": "Creates a Lambda function that uses an Amazon MSK topic as an event source with IAM authentication.", |
4 | 4 | "language": "Go", |
5 | 5 | "level": "200", |
6 | 6 | "framework": "SAM", |
7 | 7 | "introBox": { |
8 | | - "headline": "How it works", |
9 | | - "text": [ |
10 | | - "This pattern provides a Lambda function along with an Event Source Mapping to a Kafka topic.", |
11 | | - "It requires that you already have an Amazon Managed Streaming for Kafka(Amazon MSK) cluster setup with a topic created. If you don't already have an MSK cluster ", |
12 | | - "you can use the example in this pattern https://serverlessland.com/patterns/msk-cfn-sasl-lambda (linked in the resources) to deploy a cluster.", |
13 | | - "This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication. ", |
14 | | - "For detailed deployment instructions instructions see the README " |
15 | | - ] |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "This pattern provides a Lambda function along with an Event Source Mapping to a Kafka topic.", |
| 11 | + "It requires that you already have an Amazon Managed Streaming for Kafka (Amazon MSK) cluster setup with a topic created. ", |
| 12 | + "If you don't already have an MSK cluster, you can use the example in this pattern https://serverlessland.com/patterns/msk-cfn-sasl-lambda (linked in the resources) to deploy a cluster.", |
| 13 | + "This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication. ", |
| 14 | + "For detailed deployment instructions instructions see the README." |
| 15 | + ] |
16 | 16 | }, |
17 | 17 | "gitHub": { |
18 | | - "template": { |
19 | | - "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/msk-lambda-go-sam", |
20 | | - "templateURL": "serverless-patterns/msk-lambda-go-sam", |
21 | | - "projectFolder": "msk-lambda-go-sam", |
22 | | - "templateFile": "template.yml" |
23 | | - } |
| 18 | + "template": { |
| 19 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/msk-lambda-iam-go-sam", |
| 20 | + "templateURL": "serverless-patterns/msk-lambda-iam-go-sam", |
| 21 | + "projectFolder": "msk-lambda-iam-go-sam", |
| 22 | + "templateFile": "template.yaml" |
| 23 | + } |
24 | 24 | }, |
25 | 25 | "resources": { |
26 | | - "bullets": [ |
27 | | - { |
28 | | - "text": "Amazon MSK Cluster pattern", |
29 | | - "link": "https://serverlessland.com/patterns/msk-cfn-sasl-lambda" |
30 | | - }, |
31 | | - { |
32 | | - "text": "Using AWS Lambda with Amazon MSK", |
33 | | - "link": "https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html" |
34 | | - }, |
35 | | - { |
36 | | - "text": "AWS CloudFormation Provisioned MSK cluster reference", |
37 | | - "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html" |
38 | | - }, |
39 | | - { |
40 | | - "text": "AWS CloudFormation Serverless MSK cluster reference", |
41 | | - "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html" |
42 | | - } |
43 | | - ] |
| 26 | + "bullets": [ |
| 27 | + { |
| 28 | + "text": "Amazon MSK cluster pattern", |
| 29 | + "link": "https://serverlessland.com/patterns/msk-cfn-sasl-lambda" |
| 30 | + }, |
| 31 | + { |
| 32 | + "text": "Using AWS Lambda with Amazon MSK", |
| 33 | + "link": "https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html" |
| 34 | + }, |
| 35 | + { |
| 36 | + "text": "AWS CloudFormation Provisioned MSK cluster reference", |
| 37 | + "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html" |
| 38 | + }, |
| 39 | + { |
| 40 | + "text": "AWS CloudFormation Serverless MSK cluster reference", |
| 41 | + "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html" |
| 42 | + } |
| 43 | + ] |
44 | 44 | }, |
45 | 45 | "deploy": { |
46 | | - "text": [ |
47 | | - "sam deploy --guided" |
48 | | - ] |
| 46 | + "text": [ |
| 47 | + "sam deploy --guided" |
| 48 | + ] |
49 | 49 | }, |
50 | 50 | "testing": { |
51 | | - "text": [ |
52 | | - "See the GitHub repo for detailed testing instructions." |
53 | | - ] |
| 51 | + "text": [ |
| 52 | + "See the GitHub repo for detailed testing instructions." |
| 53 | + ] |
54 | 54 | }, |
55 | 55 | "cleanup": { |
56 | | - "text": [ |
57 | | - "Delete the template: <code>sam delete</code>." |
58 | | - ] |
| 56 | + "text": [ |
| 57 | + "Delete the template: <code>sam delete</code>." |
| 58 | + ] |
59 | 59 | }, |
60 | 60 | "authors": [ |
61 | 61 | { |
|
0 commit comments