aws-serverless-spark-archetype/src/main/resources/archetype-resources/template.yml [26:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Globals:
  Api:
    EndpointConfiguration: REGIONAL

Resources:
  ${resourceName}Function:
    Type: AWS::Serverless::Function
    Properties:
      Handler: ${groupId}.StreamLambdaHandler::handleRequest
      Runtime: java8
      CodeUri: .
      MemorySize: 512
      Policies: AWSLambdaBasicExecutionRole
      Timeout: 15
      Events:
        ProxyResource:
          Type: Api
          Properties:
            Path: /{proxy+}
            Method: any

Outputs:
  ${resourceName}Api:
    Description: URL for application
    Value: !Sub 'https://${ServerlessRestApi}.execute-api.${${awsRegion}}.amazonaws.com/Prod/ping'
    Export:
      Name: ${resourceName}Api
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-serverless-spring-archetype/src/main/resources/archetype-resources/template.yml [26:52]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Globals:
  Api:
    EndpointConfiguration: REGIONAL

Resources:
  ${resourceName}Function:
    Type: AWS::Serverless::Function
    Properties:
      Handler: ${groupId}.StreamLambdaHandler::handleRequest
      Runtime: java8
      CodeUri: .
      MemorySize: 512
      Policies: AWSLambdaBasicExecutionRole
      Timeout: 15
      Events:
        ProxyResource:
          Type: Api
          Properties:
            Path: /{proxy+}
            Method: any

Outputs:
  ${resourceName}Api:
    Description: URL for application
    Value: !Sub 'https://${ServerlessRestApi}.execute-api.${${awsRegion}}.amazonaws.com/Prod/ping'
    Export:
      Name: ${resourceName}Api
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



