KvRoutesUpdate
Source:
src/AWS/CloudFront/KvRoutesUpdate.ts
Manages a single route entry in a JSON array stored in a CloudFront KeyValueStore.
The routes array is stored at key {namespace}:{key} and supports automatic
chunking when the serialized array exceeds 1000 characters.
Managing Routes
Section titled “Managing Routes”const update = yield* KvRoutesUpdate("MyRoute", { store: store.keyValueStoreArn, namespace: "app", key: "routes", entry: "site,mysite,*,/",});