---
# System prepended metadata

title: aws-serverless-java-container
tags: [springboot, sam, aws]

---

# aws-serverless-java-container

[TOC]

###### tags: `aws` `sam` `springboot`

---

## Maven archetype

```shell
% mvn archetype:generate -DgroupId=my.service -DartifactId=my-service -Dversion=1.0-SNAPSHOT \
-DarchetypeGroupId=com.amazonaws.serverless.archetypes \
-DarchetypeArtifactId=aws-serverless-springboot2-archetype \
-DarchetypeVersion=1.9.1
```

## Missing Authentication Token on Root Path

```yaml
      Events:
        ProxyResource:
          Properties:
            Method: any
            Path: /{proxy+}
          Type: Api
        RootEndpoint:
          Properties:
            Method: any
            Path: /
          Type: Api
```
