Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AWSTemplateFormatVersion: 2010-09-09
- Description: "Creates infrastructure for Thumnbail Creator"
- Resources:
- BucketApiResource:
- Type: AWS::ApiGateway::Resource
- Properties:
- PathPart: !Ref RawBucketName
- RestApiId: !Ref ApiGatewayRest
- ParentId: !GetAtt ApiGatewayRest.RootResourceId
- DependsOn:
- - ApiGatewayRest
- ImagesApiResource:
- Type: AWS::ApiGateway::Resource
- Properties:
- PathPart: "all-images"
- RestApiId: !Ref ApiGatewayRest
- ParentId: !GetAtt ApiGatewayRest.RootResourceId
- DependsOn:
- - ApiGatewayRest
- BucketItemApiResource:
- Type: AWS::ApiGateway::Resource
- Properties:
- PathPart: "{item}"
- RestApiId: !Ref ApiGatewayRest
- ParentId: !Ref BucketApiResource
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement