Created
December 4, 2020 21:14
-
-
Save sergueyarellano/12e9482810410e896930001b23df27f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GatewayRole: | |
Type: AWS::IAM::Role | |
Properties: | |
AssumeRolePolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Principal: | |
Service: | |
- apigateway.amazonaws.com | |
Action: | |
- 'sts:AssumeRole' | |
Description: Gives swagger api endpoints access to S3 | |
ManagedPolicyArns: | |
- arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess | |
RoleName: API-Gateway-S3-read-access-${opt:stage, 'dev'} | |
Path: / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment