Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. AWSTemplateFormatVersion: 2010-09-09
  2. Description: "Creates infrastructure for Thumnbail Creator"
  3.  
  4. Resources:
  5. BucketApiResource:
  6. Type: AWS::ApiGateway::Resource
  7. Properties:
  8. PathPart: !Ref RawBucketName
  9. RestApiId: !Ref ApiGatewayRest
  10. ParentId: !GetAtt ApiGatewayRest.RootResourceId
  11. DependsOn:
  12. - ApiGatewayRest
  13.  
  14. ImagesApiResource:
  15. Type: AWS::ApiGateway::Resource
  16. Properties:
  17. PathPart: "all-images"
  18. RestApiId: !Ref ApiGatewayRest
  19. ParentId: !GetAtt ApiGatewayRest.RootResourceId
  20. DependsOn:
  21. - ApiGatewayRest
  22.  
  23. BucketItemApiResource:
  24. Type: AWS::ApiGateway::Resource
  25. Properties:
  26. PathPart: "{item}"
  27. RestApiId: !Ref ApiGatewayRest
  28. ParentId: !Ref BucketApiResource
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement