forked from aws-samples/serverless-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-pattern.json
55 lines (54 loc) · 1.9 KB
/
example-pattern.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"title": "Edge Amazon API Gateway with a custom domain",
"description": "Edge Amazon API Gateway custom domain with AWS SAM: certificate in us-east-1 when using another region",
"language": "Python",
"level": "300",
"framework": "AWS SAM",
"introBox": {
"headline": "How it works",
"text": [
"To deploy an Edge API Gateway, it's mandatory to generate a certificate in us-east-1. Resources in one stack are deployed in a single region. You are not able to set another Region for a specific resource."
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-edge-custom-domain",
"templateURL": "serverless-patterns/apigw-edge-custom-domain",
"projectFolder": "apigw-edge-custom-domain",
"templateFile": "template.yaml"
}
},
"resources": {
"bullets": [
{
"text": "Edge-optimized custom domain names",
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html#edge-optimized-custom-domain-names"
}
]
},
"deploy": {
"text": [
"sam deploy"
]
},
"testing": {
"text": [
"See the GitHub repo for detailed testing instructions."
]
},
"cleanup": {
"text": [
"Delete the stack: <code>sam delete --stack-name sample-api --region eu-west-1</code>",
"Delete the stack cert: <code>sam delete --stack-name cert-sample-api --region us-east-1</code>."
]
},
"authors": [
{
"name": "Walid BATTOU",
"image": "https://media.licdn.com/dms/image/D4E03AQEgGopOyoGq6g/profile-displayphoto-shrink_400_400/0/1667492195366?e=1713398400&v=beta&t=_vCLuCfSnKwVC0Gg_VncMZOoy8kXsJFuHM_nSQCufD0",
"bio": "I am an AWS Solution Architect, FinOps, Linux and open-source Enthusiast.",
"linkedin": "https://www.linkedin.com/in/walidbattou/",
"twitter": "https://twitter.com/WBattou"
}
]
}