@goldstack/utils-aws-lambda 0.3.94 → 0.3.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,21 +9,21 @@ type LambdaNamePrefix = string;
9
9
  * The domain name that the API should be deployed to (e.g. api.mysite.com)
10
10
  *
11
11
  * @title API Domain
12
- * @pattern ^[^\s]*
12
+ * @pattern ^[^\s]*$
13
13
  */
14
14
  export type APIDomain = string;
15
15
  /**
16
16
  * The domain name of the Route 53 hosted zone that the domain for this API should be added to.
17
17
  *
18
18
  * @title Hosted Zone Domain
19
- * @pattern ^[^\s]*
19
+ * @pattern ^[^\s]*$
20
20
  */
21
21
  export type HostedZoneDomain = string;
22
22
  /**
23
- * Optional URL for an UI that should be allowed to access this server.
23
+ * Optional URL for an UI that should be allowed to access this server. Must be either `*` or an `http://` or `https://` URL.
24
24
  *
25
25
  * @title CORS Header
26
- * @pattern ^[^\s]*
26
+ * @pattern ^(\*|https?://[^\s]+)?$
27
27
  */
28
28
  export type CorsHeader = string;
29
29
  export interface LambdaRouteConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/utils-aws-lambda",
3
- "version": "0.3.94",
3
+ "version": "0.3.95",
4
4
  "description": "Utilities for deploying AWS Lambda functions",
5
5
  "keywords": [
6
6
  "goldstack",