All articles

AWS

AWS SAM – Secure Api Gateway endpoints using CognitoUserPool

Resource: CognitoUserPool: Type: AWS::Cognito::UserPool Properties: UserPoolName: !Sub ${Stage}-Cognito-User-Pool UserPoolClient: Creating COGNITO UserPoolClient which enables the OAuthFlowwith client_credentialsand allowing OAuthScopes for all CRUD endpoints. template.yaml Resource: CognitoUserPoolClient: Type: AWS::Cognito::UserPoolClient DependsOn:…