Skip to content

Commit 888eaaa

Browse files
committed
cache organizations endpoint
1 parent fe200e1 commit 888eaaa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cloudformation/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,22 @@ Resources:
736736
- HEAD
737737
CachePolicyId: !Ref CloudfrontCachePolicy
738738
OriginRequestPolicyId: 216adef6-5c7f-47e4-b989-5492eafa07d3
739+
- PathPattern: "/api/v1/organizations"
740+
TargetOriginId: ApiGatewayOrigin
741+
ViewerProtocolPolicy: redirect-to-https
742+
AllowedMethods:
743+
- GET
744+
- HEAD
745+
- OPTIONS
746+
- PUT
747+
- POST
748+
- DELETE
749+
- PATCH
750+
CachedMethods:
751+
- GET
752+
- HEAD
753+
CachePolicyId: "658327ea-f89d-4fab-a63d-7e88639e58f6"
754+
OriginRequestPolicyId: 216adef6-5c7f-47e4-b989-5492eafa07d3
739755
- PathPattern: "/api/documentation*"
740756
TargetOriginId: ApiGatewayOrigin
741757
ViewerProtocolPolicy: redirect-to-https

0 commit comments

Comments
 (0)