Skip to content

Commit 37b036b

Browse files
committed
Changed all samples to use regional endpoints
1 parent 5c3c73d commit 37b036b

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

samples/jersey/pet-store/sam.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: AWS::Serverless-2016-10-31
33
Description: Example Pet Store API written in jersey with the aws-serverless-java-container library
4+
5+
Globals:
6+
Api:
7+
# API Gateway regional endpoints
8+
EndpointConfiguration: REGIONAL
9+
410
Resources:
511
PetStoreFunction:
612
Type: AWS::Serverless::Function

samples/spark/pet-store/sam.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: AWS::Serverless-2016-10-31
33
Description: Example Pet Store API written with spark with the aws-serverless-java-container library
4+
5+
Globals:
6+
Api:
7+
# API Gateway regional endpoints
8+
EndpointConfiguration: REGIONAL
9+
410
Resources:
511
PetStoreFunction:
612
Type: AWS::Serverless::Function

samples/spring/pet-store/sam.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: AWS::Serverless-2016-10-31
33
Description: Example Pet Store API written with spring with the aws-serverless-java-container library
4+
5+
Globals:
6+
Api:
7+
# API Gateway regional endpoints
8+
EndpointConfiguration: REGIONAL
9+
410
Resources:
511
PetStoreFunction:
612
Type: AWS::Serverless::Function

samples/springboot/pet-store/sam.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Transform: AWS::Serverless-2016-10-31
33
Description: Example Pet Store API written with SpringBoot with the aws-serverless-java-container library
4+
5+
Globals:
6+
Api:
7+
# API Gateway regional endpoints
8+
EndpointConfiguration: REGIONAL
9+
410
Resources:
511
PetStoreFunction:
612
Type: AWS::Serverless::Function

0 commit comments

Comments
 (0)