Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApiWithAwsIamAuthNoCallerCredentials:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Globals:
Api:
EndpointConfiguration: REGIONAL
OpenApiVersion: 3.0.0
Resources:
MyApi:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
Bucket:
Type: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Parameters:
Default: image~1gif
Globals:
Api:
EndpointConfiguration: REGIONAL
# Send/receive binary data through the APIs
BinaryMediaTypes:
# These are equivalent to image/gif and image/png when deployed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Parameters:
Default: image~1gif
Globals:
Api:
EndpointConfiguration: REGIONAL
# Send/receive binary data through the APIs
BinaryMediaTypes:
# These are equivalent to image/gif and image/png when deployed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Transform:

Globals:
Api:
EndpointConfiguration: REGIONAL
Auth:
ApiKeyRequired: true
AddApiKeyRequiredToCorsPreflight: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
DisableExecuteApiEndpointValue:
Description: Variable to define if client can access default API endpoint.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
DisableExecuteApiEndpointValue:
Description: Variable to define if client can access default API endpoint.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
FailOnWarningsValue:
Type: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Globals:
Api:
EndpointConfiguration: REGIONAL
OpenApiVersion: 3.0.1
CacheClusterEnabled: true
CacheClusterSize: '0.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Conditions:

Globals:
Api:
EndpointConfiguration: REGIONAL
OpenApiVersion: 3.0.1
Auth:
ResourcePolicy:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyLambdaFunction:
Type: AWS::Serverless::Function
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

# Test to verify that resource references available on the Api resource are properly resolved

Resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Parameters:
Default: PER_API
Globals:
Api:
EndpointConfiguration: REGIONAL
OpenApiVersion: '2.0'
Auth:
ApiKeyRequired: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

# Testing Alias Invoke with ALL event sources supported by Lambda
# We are looking to check if the event sources and their associated Lambda::Permission resources are
# connect to the Alias and *not* the function
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
AWSTemplateFormatVersion: '2010-09-09'
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
ScheduleName:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
AWSTemplateFormatVersion: '2010-09-09'
Globals:
Api:
EndpointConfiguration: REGIONAL

Conditions:
MyCondition:
Fn::Equals:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:

# Create one API resource. This will be referred to by the Lambda function
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
AWSTemplateFormatVersion: '2010-09-09'
Globals:
Api:
EndpointConfiguration: REGIONAL

Description: A template to test for implicit API condition handling.
Conditions:
MyCondition:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
AWSTemplateFormatVersion: '2010-09-09'
Globals:
Api:
EndpointConfiguration: REGIONAL

Description: A template to test timeout support for implicit APIs.

Resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

# Must support explicit bucket, key and version in CodeUri and DefinitionUri parameters

Parameters:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Parameters:
Bucket:
Type: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:

# Create one API resource. This will be referred to by the State machine
Expand Down
4 changes: 4 additions & 0 deletions integration/resources/templates/single/basic_api.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Globals:
Api:
EndpointConfiguration: REGIONAL

Resources:
MyApi:
Type: AWS::Serverless::Api
Expand Down