Skip to content

Commit

Permalink
Add Auth property to HttpApiGateway to satisfy SonarCloud
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-szlapa committed Mar 1, 2024
1 parent 0c6ec89 commit be2ded5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SAMtemplates/main_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ Resources:
Type: AWS::Serverless::HttpApi
Properties:
StageName: Prod
Auth:
ApiKeyRequired: true
DefaultRouteSettings:
DetailedMetricsEnabled: true
Domain:
Expand Down

0 comments on commit be2ded5

Please sign in to comment.