You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,7 +92,28 @@ export class TurboRemoteCacheStack extends cdk.Stack {
91
92
}
92
93
```
93
94
94
-
The S3 bucket, DynamoDB table, and API Gateway can be configured using the optional props. The defaults are are provided in the jsdoc comments and can be viewed in the [source code](/packages/construct/src/index.ts). The example above uses apiProps to configure a custom domain name for the API Gateway. It also uses artifactsBucketProps to customize the bucketName and removalPolicy to retain the bucket when the stack is deleted. Similar options are available for the DynamoDB table.
95
+
The S3 bucket, DynamoDB table, and API Gateway can be configured using the optional props. The defaults are are provided in the jsdoc
96
+
comments and can be viewed in the [source code](/packages/construct/src/index.ts). The example above uses apiProps to configure a custom
97
+
domain name for the API Gateway. It also uses artifactsBucketProps to customize the bucketName and removalPolicy to retain the bucket when
98
+
the stack is deleted. Similar options are available for the DynamoDB table.
- Added support for custom authorizers via `authorizerFunction`
105
+
- Authorizer must provide `teamId` in the context
106
+
107
+
### Team Identification
108
+
- Removed support for `teamSlug` in favor of `teamId`
109
+
- All artifact paths now use `teamId` instead of `slug`
110
+
- API endpoints expect `teamId` query parameter
111
+
112
+
### New Features
113
+
- Added preflight/presigned URL support for S3 operations
114
+
- Added CORS support for S3 bucket
115
+
- Added custom user info endpoint support
116
+
- Support for direct S3 access using presigned URLs
95
117
96
118
## Architecture
97
119
@@ -101,7 +123,7 @@ The construct uses API Gateway, Lambda, S3 integration, and DynamoDB to create a
101
123
102
124
-**API Gateway**: Used to create a REST API that will be used to interact with the Remote Cache.
103
125
-**Lambda**: Used to handle the API requests and responses for non-artifact related endpoints.
104
-
-**S3 Integration**: Allows API Gateway to integrate with S3 without a Lambda function which allows for a larger payload size and lower latency.
126
+
-**S3 Integration**: Allows API Gateway to integrate with S3 without a Lambda function which allows for a larger payload size and lower latency. Supports presigned URLs for direct S3 access using preflight requests.
105
127
-**S3**: Used to store the Remote Cache artifacts.
106
128
-**DynamoDB**: Used to store the Remote Cache events.
0 commit comments