Skip to content

Commit

Permalink
adding bucket routing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mayaraman19 committed Apr 3, 2024
1 parent 1752d87 commit 9fa6e97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infrastructure/ecs-main/buckets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ Resources:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/php-library/upcoming
- RoutingRuleCondition:
KeyPrefixEquals: ${self:custom.site.prefix.${self:provider.stage}}/realm
RedirectRule:
Protocol: "https"
HostName: ${self:custom.site.host.${self:provider.stage}}
ReplaceKeyPrefixWith: ${self:custom.site.prefix.${self:provider.stage}}/atlas/device-sdks
DocAtlasBucket:
Type: "AWS::S3::Bucket"
Properties:
Expand Down

0 comments on commit 9fa6e97

Please sign in to comment.